File tree Expand file tree Collapse file tree 4 files changed +231
-214
lines changed
packages/ui-components/src/Containers Expand file tree Collapse file tree 4 files changed +231
-214
lines changed Original file line number Diff line number Diff line change 11@reference "../../styles/index.css" ;
22
3- .footer {
4- @apply flex
5- flex-col
6- items-center
7- gap-6
8- border-t
3+ .container {
4+ @apply border-t
95 border-neutral-200
106 bg-white
117 py-4
128 text-neutral-500
139 sm:px-8
14- md:justify-between
1510 md:py-5
1611 dark:border-neutral-900
1712 dark:bg-neutral-950;
1813
19- .row {
20- @apply flex
14+ .innerContainer {
15+ @apply max-w-10xl
16+ mx-auto
17+ flex
2118 flex-col
2219 items-center
2320 gap-6
24- md:flex-row
25- md:justify-between
26- md:gap-0
27- md:self-stretch;
28- }
21+ md:justify-between;
2922
30- .sectionPrimary {
31- @apply flex
32- flex-wrap
33- content-start
34- items-center
35- justify-center
36- gap-1
37- self-stretch;
23+ .row {
24+ @apply flex
25+ flex-col
26+ items-center
27+ gap-6
28+ md:flex-row
29+ md:justify-between
30+ md:gap-0
31+ md:self-stretch;
3832
39- a {
40- @apply whitespace-nowrap;
41- }
42- }
33+ .sectionPrimary {
34+ @apply flex
35+ flex-wrap
36+ content-start
37+ items-center
38+ justify-center
39+ gap-1
40+ self-stretch;
4341
44- .sectionSecondary {
45- @apply flex
46- flex-col
47- items-center
48- gap-1
49- md:flex-row;
42+ a {
43+ @apply whitespace-nowrap;
44+ }
45+ }
5046
51- . social {
52- @apply flex
53- items-center
54- gap-1;
55- }
56- }
47+ . sectionSecondary {
48+ @apply flex
49+ flex-col
50+ items-center
51+ gap-1
52+ md:flex-row;
5753
58- .legal {
59- @apply flex
60- flex-col
61- gap-2
62- px-4
63- text-center
64- text-xs
65- text-balance
66- md:px-14;
54+ .social {
55+ @apply flex
56+ items-center
57+ gap-1;
58+ }
59+ }
6760
68- p {
69- @apply text-center
70- text-sm
71- text-neutral-800
72- dark:text-neutral-500;
73- }
61+ & .legal {
62+ @apply flex
63+ flex-col
64+ gap-2
65+ px-4
66+ text-center
67+ text-xs
68+ text-balance;
69+
70+ p {
71+ @apply text-center
72+ text-sm
73+ text-neutral-800
74+ dark:text-neutral-500;
75+ }
7476
75- a {
76- @apply max-ml:font-semibold
77- text-green-600
78- dark:text-green-400;
77+ a {
78+ @apply max-ml:font-semibold
79+ text-green-600
80+ dark:text-green-400;
7981
80- & : hover {
81- @apply cursor-pointer
82- text-green-900
83- dark:text-green-200;
82+ & : hover {
83+ @apply cursor-pointer
84+ text-green-900
85+ dark:text-green-200;
86+ }
87+ }
8488 }
8589 }
8690 }
Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ const Footer: FC<FooterProps> = ({
5555 as = 'a' ,
5656 navigation,
5757 slots,
58- } ) => {
59- return (
60- < footer className = { styles . footer } >
58+ } ) => (
59+ < footer className = { styles . container } >
60+ < div className = { styles . innerContainer } >
6161 < div className = { styles . row } >
6262 < div className = { styles . sectionPrimary } > { slots ?. primary } </ div >
6363
@@ -83,9 +83,10 @@ const Footer: FC<FooterProps> = ({
8383 </ div >
8484 </ div >
8585 </ div >
86+
8687 < div className = { classNames ( styles . row , styles . legal ) } > { slots ?. legal } </ div >
87- </ footer >
88- ) ;
89- } ;
88+ </ div >
89+ </ footer >
90+ ) ;
9091
9192export default Footer ;
You can’t perform that action at this time.
0 commit comments