Skip to content

Commit

Permalink
온보딩 디자인 일부 수정 (SWYP-team-2th#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
YOOJS1205 committed Mar 2, 2025
1 parent 978fa0d commit d3b4b2a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/pages/OnBoarding/OnBoardingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,30 @@ import { onBoardingSlides } from '@/constants/onboarding';
export default function OnBoardingPage() {
return (
<div className="flex flex-col justify-between w-full h-screen px-7 relative">
<div className="flex-1 flex items-center">
<div className="flex-1 flex items-center min-h-0">
<Swiper
modules={[Pagination]}
slidesPerView={1}
pagination={{ clickable: true }}
className="w-full"
>
{onBoardingSlides.map((slide) => (
<SwiperSlide key={slide.id}>
<div className="h-full flex flex-col items-center text-center">
<span className="text-h1 whitespace-pre-line mt-[160px] mb-[20px]">
<span className="text-h1 whitespace-pre-line mt-[80px] mb-[8px]">
{slide.title}
</span>

<span className="text-title-medium whitespace-pre-line mb-[50px]">
<span className="text-title-small whitespace-pre-line mb-[32px]">
{slide.subtitle}
</span>
<img src={slide.image} className="w-[310px] mb-14" />
<img src={slide.image} className="w-[310px] mb-10" />
</div>
</SwiperSlide>
))}
</Swiper>
</div>
<div className="mb-16">
<div className="py-6">
<LoginButton />
</div>
</div>
Expand Down

0 comments on commit d3b4b2a

Please sign in to comment.