Skip to content

Commit a4e2815

Browse files
authored
Add privacy policy checkbox in the CFP form (#4141)
1 parent 9fc50f5 commit a4e2815

File tree

11 files changed

+225
-152
lines changed

11 files changed

+225
-152
lines changed

.github/workflows/frontend-lint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ jobs:
2929
- name: Setup Biome
3030
uses: biomejs/setup-biome@v2
3131
with:
32-
version: 1.8.3
32+
version: 1.9.4
3333
- name: Install dependencies
34-
if: steps.cache.outputs.cache-hit != 'true'
3534
run: pnpm install
3635
- name: Codegen
3736
run: pnpm run codegen

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
rev: "v0.4.0"
2424
hooks:
2525
- id: biome-check
26-
additional_dependencies: ["@biomejs/biome@1.8.3"]
26+
additional_dependencies: ["@biomejs/biome@1.9.4"]
2727
- repo: https://github.com/pre-commit/pre-commit-hooks
2828
rev: v4.3.0
2929
hooks:

biome.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
},
2222
"a11y": {
2323
"useKeyWithClickEvents": "off",
24-
"noSvgWithoutTitle": "off"
24+
"noSvgWithoutTitle": "off",
25+
"noLabelWithoutControl": "off",
26+
"useSemanticElements": "off"
2527
},
2628
"complexity": {
2729
"noForEach": "off"

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"yup": "^0.29.3"
6363
},
6464
"devDependencies": {
65-
"@biomejs/biome": "1.8.3",
65+
"@biomejs/biome": "1.9.4",
6666
"@python-italia/eslint-config": "^1.0.13",
6767
"@tailwindcss/typography": "^0.5.9",
6868
"@testing-library/dom": "^8.1.0",

frontend/pnpm-lock.yaml

Lines changed: 92 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/components/blocks/text-section.tsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,14 @@ export const TextSection = ({
6767
</>
6868
)}
6969
{cta && (
70-
<>
71-
<Button
72-
variant="secondary"
73-
onClick={openModal}
74-
href={isModalCTA ? null : cta.link}
75-
fullWidth="mobile"
76-
>
77-
{cta.label}
78-
</Button>
79-
</>
70+
<Button
71+
variant="secondary"
72+
onClick={openModal}
73+
href={isModalCTA ? null : cta.link}
74+
fullWidth="mobile"
75+
>
76+
{cta.label}
77+
</Button>
8078
)}
8179
</Container>
8280
<Container noPadding size="2md">

0 commit comments

Comments
 (0)