Skip to content

Commit a3c174e

Browse files
committed
update snapshots
1 parent fb180d3 commit a3c174e

File tree

4 files changed

+36
-90
lines changed

4 files changed

+36
-90
lines changed

components/Content/__tests__/__snapshots__/Content.test.tsx.snap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,30 @@ exports[`Content > should render with many props assigned 1`] = `
99
className="flex flex-col items-center justify-center mx-auto w-full my-[3.5rem] max-w-[1400px] sm:w-[85%]"
1010
>
1111
<div
12-
className="flex justify-center"
12+
className="flex justify-center relative"
1313
>
1414
<h3
15-
className="group flex uppercase text-center my-4 mx-0 border-solid border-b-4 border-b-primary"
15+
className="group flex uppercase text-center my-4 mx-0 border-b-4 border-b-primary"
1616
id="testing-link"
1717
>
1818
<div
19-
className="relative"
19+
className="relative h-full"
2020
data-testid="Heading Content testing-link"
2121
>
2222
<a
23-
className="absolute top-3 -left-8 invisible group-hover:visible focus-visible:visible"
23+
className="sm:visible absolute top-0 -left-8 opacity-0 h-full flex items-center justify-center group-hover:opacity-100 focus-visible:opacity-100 transition-opacity w-0 focus-visible:w-5 group-hover:w-5"
2424
data-testid="Hash Link"
2525
href="#testing-link"
2626
>
2727
<span
2828
className="sr-only"
2929
data-testid="SCREEN_READER_ONLY"
3030
>
31-
Scroll Link for
31+
Scroll to
3232
Testing!
3333
</span>
3434
<svg
35-
className="w-4 h-8 leading-9 mx-2 -my-1 outline-none"
35+
className="w-full h-5"
3636
dangerouslySetInnerHTML={
3737
{
3838
"__html": "<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" id="_d456e9ce"><title>Link Icon</title><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></symbol><use href='#_d456e9ce'/>",
@@ -41,8 +41,8 @@ exports[`Content > should render with many props assigned 1`] = `
4141
viewBox="0 0 512 512"
4242
/>
4343
</a>
44-
Testing!
4544
</div>
45+
Testing!
4646
</h3>
4747
</div>
4848
<div

components/Heading/__tests__/__snapshots__/Heading.test.tsx.snap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
exports[`Heading > should render with many props assigned 1`] = `
44
<div
5-
className="flex justify-center"
5+
className="flex justify-center relative"
66
>
77
<h5
8-
className="group flex uppercase text-center my-4 mx-0 border-solid border-b-4 border-b-primary"
8+
className="group flex uppercase text-center my-4 mx-0 border-b-4 border-b-primary"
99
id="test-link"
1010
>
1111
Test
@@ -15,30 +15,30 @@ exports[`Heading > should render with many props assigned 1`] = `
1515

1616
exports[`Heading > should render with required props 1`] = `
1717
<div
18-
className="flex justify-center"
18+
className="flex justify-center relative"
1919
>
2020
<h2
21-
className="group flex uppercase text-center my-4 mx-0"
21+
className="group flex uppercase text-center my-4 mx-0 border-b-4 border-b-transparent"
2222
id="test-link"
2323
>
2424
<div
25-
className="relative"
25+
className="relative h-full"
2626
data-testid="Heading Content test-link"
2727
>
2828
<a
29-
className="absolute top-3 -left-8 invisible group-hover:visible focus-visible:visible"
29+
className="sm:visible absolute top-0 -left-8 opacity-0 h-full flex items-center justify-center group-hover:opacity-100 focus-visible:opacity-100 transition-opacity w-0 focus-visible:w-5 group-hover:w-5"
3030
data-testid="Hash Link"
3131
href="#test-link"
3232
>
3333
<span
3434
className="sr-only"
3535
data-testid="SCREEN_READER_ONLY"
3636
>
37-
Scroll Link for
37+
Scroll to
3838
Test
3939
</span>
4040
<svg
41-
className="w-4 h-8 leading-9 mx-2 -my-1 outline-none"
41+
className="w-full h-5"
4242
dangerouslySetInnerHTML={
4343
{
4444
"__html": "<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" id="_d456e9ce"><title>Link Icon</title><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></symbol><use href='#_d456e9ce'/>",
@@ -47,8 +47,8 @@ exports[`Heading > should render with required props 1`] = `
4747
viewBox="0 0 512 512"
4848
/>
4949
</a>
50-
Test
5150
</div>
51+
Test
5252
</h2>
5353
</div>
5454
`;

components/ReusableSections/JoinSection/__tests__/__snapshots__/JoinSection.test.tsx.snap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,30 @@ exports[`JoinSection > should render 1`] = `
99
className="flex flex-col items-center justify-center mx-auto w-full my-[3.5rem] max-w-[1400px] sm:w-[85%]"
1010
>
1111
<div
12-
className="flex justify-center"
12+
className="flex justify-center relative"
1313
>
1414
<h3
15-
className="group flex uppercase text-center my-4 mx-0"
15+
className="group flex uppercase text-center my-4 mx-0 border-b-4 border-b-transparent"
1616
id="join-our-thriving-community-link"
1717
>
1818
<div
19-
className="relative"
19+
className="relative h-full"
2020
data-testid="Heading Content join-our-thriving-community-link"
2121
>
2222
<a
23-
className="absolute top-3 -left-8 invisible group-hover:visible focus-visible:visible"
23+
className="sm:visible absolute top-0 -left-8 opacity-0 h-full flex items-center justify-center group-hover:opacity-100 focus-visible:opacity-100 transition-opacity w-0 focus-visible:w-5 group-hover:w-5"
2424
data-testid="Hash Link"
2525
href="#join-our-thriving-community-link"
2626
>
2727
<span
2828
className="sr-only"
2929
data-testid="SCREEN_READER_ONLY"
3030
>
31-
Scroll Link for
31+
Scroll to
3232
Join Our Thriving Community
3333
</span>
3434
<svg
35-
className="w-4 h-8 leading-9 mx-2 -my-1 outline-none"
35+
className="w-full h-5"
3636
dangerouslySetInnerHTML={
3737
{
3838
"__html": "<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" id="_d456e9ce"><title>Link Icon</title><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></symbol><use href='#_d456e9ce'/>",
@@ -41,8 +41,8 @@ exports[`JoinSection > should render 1`] = `
4141
viewBox="0 0 512 512"
4242
/>
4343
</a>
44-
Join Our Thriving Community
4544
</div>
45+
Join Our Thriving Community
4646
</h3>
4747
</div>
4848
<p>

components/ReusableSections/SponsorsSection/__tests__/__snapshots__/SponsorsSection.test.tsx.snap

Lines changed: 13 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,30 @@ exports[`SponsorsSection > should render 1`] = `
99
className="flex flex-col items-center justify-center mx-auto w-full my-[3.5rem] max-w-[1400px] sm:w-[85%]"
1010
>
1111
<div
12-
className="flex justify-center"
12+
className="flex justify-center relative"
1313
>
1414
<h3
15-
className="group flex uppercase text-center my-4 mx-0 border-solid border-b-4 border-b-primary"
15+
className="group flex uppercase text-center my-4 mx-0 border-b-4 border-b-primary"
1616
id="sponsors-link"
1717
>
1818
<div
19-
className="relative"
19+
className="relative h-full"
2020
data-testid="Heading Content sponsors-link"
2121
>
2222
<a
23-
className="absolute top-3 -left-8 invisible group-hover:visible focus-visible:visible"
23+
className="sm:visible absolute top-0 -left-8 opacity-0 h-full flex items-center justify-center group-hover:opacity-100 focus-visible:opacity-100 transition-opacity w-0 focus-visible:w-5 group-hover:w-5"
2424
data-testid="Hash Link"
2525
href="#sponsors-link"
2626
>
2727
<span
2828
className="sr-only"
2929
data-testid="SCREEN_READER_ONLY"
3030
>
31-
Scroll Link for
31+
Scroll to
3232
Sponsors
3333
</span>
3434
<svg
35-
className="w-4 h-8 leading-9 mx-2 -my-1 outline-none"
35+
className="w-full h-5"
3636
dangerouslySetInnerHTML={
3737
{
3838
"__html": "<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" id="_d456e9ce"><title>Link Icon</title><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></symbol><use href='#_d456e9ce'/>",
@@ -41,45 +41,18 @@ exports[`SponsorsSection > should render 1`] = `
4141
viewBox="0 0 512 512"
4242
/>
4343
</a>
44-
Sponsors
4544
</div>
45+
Sponsors
4646
</h3>
4747
</div>
4848
<div
49-
className="flex justify-center"
49+
className="flex justify-center relative"
5050
>
5151
<h4
52-
className="group flex uppercase text-center my-4 mx-0"
52+
className="group flex uppercase text-center my-4 mx-0 border-b-4 border-b-transparent"
5353
id="corporate-partners-link"
5454
>
55-
<div
56-
className="relative"
57-
data-testid="Heading Content corporate-partners-link"
58-
>
59-
<a
60-
className="absolute top-3 -left-8 invisible group-hover:visible focus-visible:visible"
61-
data-testid="Hash Link"
62-
href="#corporate-partners-link"
63-
>
64-
<span
65-
className="sr-only"
66-
data-testid="SCREEN_READER_ONLY"
67-
>
68-
Scroll Link for
69-
Corporate Partners
70-
</span>
71-
<svg
72-
className="w-4 h-8 leading-9 mx-2 -my-1 outline-none"
73-
dangerouslySetInnerHTML={
74-
{
75-
"__html": "<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" id="_d456e9ce"><title>Link Icon</title><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></symbol><use href='#_d456e9ce'/>",
76-
}
77-
}
78-
viewBox="0 0 512 512"
79-
/>
80-
</a>
81-
Corporate Partners
82-
</div>
55+
Corporate Partners
8356
</h4>
8457
</div>
8558
<p
@@ -209,40 +182,13 @@ exports[`SponsorsSection > should render 1`] = `
209182
</a>
210183
</div>
211184
<div
212-
className="flex justify-center"
185+
className="flex justify-center relative"
213186
>
214187
<h4
215-
className="group flex uppercase text-center my-4 mx-0"
188+
className="group flex uppercase text-center my-4 mx-0 border-b-4 border-b-transparent"
216189
id="corporate-supporters-link"
217190
>
218-
<div
219-
className="relative"
220-
data-testid="Heading Content corporate-supporters-link"
221-
>
222-
<a
223-
className="absolute top-3 -left-8 invisible group-hover:visible focus-visible:visible"
224-
data-testid="Hash Link"
225-
href="#corporate-supporters-link"
226-
>
227-
<span
228-
className="sr-only"
229-
data-testid="SCREEN_READER_ONLY"
230-
>
231-
Scroll Link for
232-
Corporate Supporters
233-
</span>
234-
<svg
235-
className="w-4 h-8 leading-9 mx-2 -my-1 outline-none"
236-
dangerouslySetInnerHTML={
237-
{
238-
"__html": "<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" id="_d456e9ce"><title>Link Icon</title><path d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"/></symbol><use href='#_d456e9ce'/>",
239-
}
240-
}
241-
viewBox="0 0 512 512"
242-
/>
243-
</a>
244-
Corporate Supporters
245-
</div>
191+
Corporate Supporters
246192
</h4>
247193
</div>
248194
<p

0 commit comments

Comments
 (0)