File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- import { Children , IllustrationProps } from '@/@types/components'
2-
3- import { AnimationBacklight } from './animations'
1+ import { Children } from '@/@types/components'
42
53const Container = ( { children } : Children ) => (
6- < div className = "flex flex-col items-center gap-16 md:grid md:grid-cols-section -1 md:gap-0" >
4+ < div className = "grid grid-cols-1 grid-rows-2 place- items-center items-center gap-16 md:grid-cols-section-1 md:grid-rows -1 md:gap-0" >
75 { children }
86 </ div >
97)
108
11- const Illustration = ( {
12- children,
13- color_big,
14- color_small,
15- } : IllustrationProps ) => (
16- < div className = "relative flex justify-center" >
17- < AnimationBacklight color_small = { color_small } color_big = { color_big } />
9+ const Illustration = ( { children } : Children ) => (
10+ < div className = "relative flex min-w-[200px] items-center justify-center lg:ml-8" >
1811 { children }
1912 </ div >
2013)
2114
2215const Description = ( { children } : Children ) => (
23- < div className = "md:pl-4 md:pr-24 " > { children } </ div >
16+ < div className = "md:pl-8 md:pr-12 " > { children } </ div >
2417)
2518
2619const Content = {
Original file line number Diff line number Diff line change 1- import { Children } from '@/@types/components'
1+ import { OptChildClassNameProps } from '@/@types/components'
2+ import { cn } from '@/utils/cn'
23
3- const Container = ( { children } : Children ) => (
4- < div className = "grid min-h-[200px] w-full grid-cols-1 grid-rows-3 place-items-center justify-items-center md:gap-2" >
4+ const Container = ( { children, className } : OptChildClassNameProps ) => (
5+ < div
6+ className = { cn (
7+ 'grid min-h-[200px] w-full grid-cols-1 grid-rows-3 place-items-center justify-items-center md:gap-2' ,
8+ className
9+ ) }
10+ >
511 { children }
612 </ div >
713)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const SectionContent = ({
88} : OptReactCompProps < HTMLDivElement > ) => (
99 < div
1010 className = { cn (
11- 'flex w-full flex-col gap-8 border-0 bg-inherit p-6 pl-4 pt-0 indent-2 text-base font-normal text-white shadow-none sm:text-lg md:min-h-[200px] md:grid-rows-1 md:gap-y-16 lg:grid lg:grid-cols-section-content lg:gap-8 ' ,
11+ 'grid w-full border-0 bg-inherit p-6 pt-0 text-justify indent-2 text-base font-normal text-white shadow-none sm:text-lg md:min-h-[200px] md:grid-rows-1 md:gap-y-16 lg:grid lg:grid-cols-section-content' ,
1212 className
1313 ) }
1414 { ...props }
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const Container = ({
1919 return (
2020 < Comp
2121 className = { cn (
22- 'flex w-full max-w-[90rem] flex-wrap items-center gap-8 rounded-xl px-0 text-white sm:px-14 md:min-h-[17rem] md:gap-y-10' ,
22+ 'flex w-full max-w-[90rem] flex-wrap items-center gap-8 rounded-xl px-0 text-white sm:px-14 md:min-h-[17rem] md:gap-y-10' ,
2323 className
2424 ) }
2525 { ...props }
You can’t perform that action at this time.
0 commit comments