diff --git a/src/frontend/src/features/home/components/IntroSlider.tsx b/src/frontend/src/features/home/components/IntroSlider.tsx index df39072d..0bb149ed 100644 --- a/src/frontend/src/features/home/components/IntroSlider.tsx +++ b/src/frontend/src/features/home/components/IntroSlider.tsx @@ -74,6 +74,12 @@ const Container = styled('div', { }, }) +const ButtonContainer = styled('div', { + base: { + display: { base: 'none', xsm: 'block' }, + }, +}) + const ButtonVerticalCenter = styled('div', { base: { marginTop: '10.3125rem', @@ -96,9 +102,9 @@ const Slide = styled('div', { alignItems: 'center', gap: '0.5rem', justifyContent: 'start', - minHeight: '550px', - minWidth: '200px', - width: '22.625rem', + minHeight: { base: 'none', xsm: '550px' }, + minWidth: { base: 'none', xsm: '200px' }, + width: { base: '100%', xsm: '22.625rem' }, }, variants: { visible: { @@ -176,7 +182,7 @@ export const IntroSlider = () => { justifyContent: 'center', })} > -
+ -
+ {SLIDES.map((slide, index) => ( @@ -212,7 +218,7 @@ export const IntroSlider = () => { ))} -
+ -
+
{SLIDES.map((_, index) => ( diff --git a/src/frontend/src/features/home/routes/Home.tsx b/src/frontend/src/features/home/routes/Home.tsx index 21178707..d6429389 100644 --- a/src/frontend/src/features/home/routes/Home.tsx +++ b/src/frontend/src/features/home/routes/Home.tsx @@ -24,6 +24,7 @@ const Columns = ({ children }: { children?: ReactNode }) => {