Skip to content
Merged

v.4 #280

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions apps/what-today/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@
<link rel="icon" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>오늘뭐해</title>
<meta name="description" content="매일이 새로워지는 하루" />

<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://what-today-teal.vercel.app" />
<meta property="og:type" content="website" />
<meta property="og:title" content="오늘뭐해" />
<meta property="og:description" content="매일이 새로워지는 하루" />
<meta property="og:image" content="https://what-today-teal.vercel.app/og-image.webp" />

<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:domain" content="what-today-teal.vercel.app" />
<meta property="twitter:url" content="https://what-today-teal.vercel.app" />
<meta name="twitter:title" content="오늘뭐해" />
<meta name="twitter:description" content="매일이 새로워지는 하루" />
<meta name="twitter:image" content="https://what-today-teal.vercel.app/og-image.webp" />
</head>
<body>
<div id="root"></div>
Expand Down
Binary file added apps/what-today/public/og-image.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions apps/what-today/src/components/FloatingTranslateButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ const FloatingTranslateButton: React.FC<FloatingTranslateButtonProps> = ({ class
{languages.map((language) => (
<button
key={language.code}
className={`body-text flex w-full items-center gap-5 rounded-lg px-4 py-3 text-left transition-all hover:bg-gray-50 ${
className={`body-text flex w-full cursor-pointer items-center gap-5 rounded-lg px-4 py-3 text-left transition-all hover:bg-gray-50 ${
currentTranslatedLang === language.code
? 'text-primary-500 bg-blue-50 ring-1 ring-blue-200'
: 'text-gray-90'
Expand All @@ -355,7 +355,7 @@ const FloatingTranslateButton: React.FC<FloatingTranslateButtonProps> = ({ class

{/* 플로팅 버튼 */}
<button
className='flex h-40 w-40 items-center justify-center rounded-full border border-gray-50 bg-white shadow-[0px_4px_24px_rgba(156,180,202,0.2)] transition-all'
className='flex h-40 w-40 cursor-pointer items-center justify-center rounded-full border border-gray-50 bg-white shadow-[0px_4px_24px_rgba(156,180,202,0.2)] transition-all'
type='button'
onClick={handleButtonClick}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ export default function ActivitiesDescriptionSkeleton() {
return (
<section className='flex h-fit w-full flex-col justify-start gap-8'>
{/* 섹션 제목 */}
<div className='h-20 w-80 animate-pulse rounded bg-gray-200' />
<div className='h-20 w-80 animate-pulse rounded bg-gray-100' />

{/* 설명 텍스트 라인들 */}
<div className='flex flex-col gap-4'>
<div className='h-16 w-full animate-pulse rounded bg-gray-200' />
<div className='h-16 w-4/5 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-3/4 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-5/6 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-full animate-pulse rounded bg-gray-100' />
<div className='h-16 w-4/5 animate-pulse rounded bg-gray-100' />
<div className='h-16 w-3/4 animate-pulse rounded bg-gray-100' />
<div className='h-16 w-5/6 animate-pulse rounded bg-gray-100' />
</div>
</section>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ export default function ActivitiesInformationSkeleton() {
return (
<section className='flex h-fit w-full flex-col items-start gap-8 rounded-xl border border-gray-50 p-20'>
{/* 카테고리 */}
<div className='h-16 w-60 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-60 animate-pulse rounded bg-gray-100' />

{/* 제목 */}
<div className='h-28 w-full animate-pulse rounded bg-gray-200' />
<div className='h-28 w-full animate-pulse rounded bg-gray-100' />

{/* 평점 */}
<div className='mt-9 flex items-center gap-6'>
<div className='h-16 w-16 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-80 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-16 animate-pulse rounded bg-gray-100' />
<div className='h-16 w-80 animate-pulse rounded bg-gray-100' />
</div>

{/* 주소 */}
<div className='mt-2 ml-2 flex items-center gap-4'>
<div className='h-16 w-16 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-200 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-16 animate-pulse rounded bg-gray-100' />
<div className='h-16 w-200 animate-pulse rounded bg-gray-100' />
</div>

{/* 가격 */}
<div className='mt-2 ml-2 flex items-center gap-4'>
<div className='h-16 w-120 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-120 animate-pulse rounded bg-gray-100' />
</div>
</section>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ export default function ActivitiesMapSkeleton() {
return (
<section className='section-text flex h-511 w-full flex-col justify-start gap-8'>
{/* 섹션 제목 */}
<div className='h-20 w-80 animate-pulse rounded bg-gray-200' />
<div className='h-20 w-80 animate-pulse rounded bg-gray-100' />

{/* 주소 */}
<div className='h-16 w-200 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-200 animate-pulse rounded bg-gray-100' />

{/* 지도 영역 */}
<div className='h-full w-full overflow-hidden rounded-3xl'>
<div className='h-full w-full animate-pulse bg-gray-200' />
<div className='h-full w-full animate-pulse bg-gray-100' />
</div>
</section>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ export default function ActivityDetailPageSkeleton() {

{/* 모바일/태블릿 하단바 스켈레톤 */}
{!isDesktop && (
<div className='fixed right-0 bottom-0 left-0 z-50 border-t border-gray-200 bg-white p-16'>
<div className='fixed right-0 bottom-0 left-0 z-50 border-t border-gray-100 bg-white p-16'>
<div className='flex items-center justify-between'>
<div className='flex flex-col gap-4'>
<div className='h-16 w-80 animate-pulse rounded bg-gray-200' />
<div className='h-20 w-100 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-80 animate-pulse rounded bg-gray-100' />
<div className='h-20 w-100 animate-pulse rounded bg-gray-100' />
</div>
<div className='h-48 w-120 animate-pulse rounded bg-gray-200' />
<div className='h-48 w-120 animate-pulse rounded bg-gray-100' />
</div>
</div>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ export default function ActivityImagesSkeleton() {
<section className='grid h-400 grid-cols-2 gap-8'>
{/* 왼쪽 메인 이미지 스켈레톤 */}
<div className='h-full w-full overflow-hidden rounded-xl border border-gray-50'>
<div className='h-full w-full animate-pulse bg-gray-200' />
<div className='h-full w-full animate-pulse bg-gray-100' />
</div>

{/* 오른쪽 서브 이미지들 스켈레톤 */}
<div className='h-full w-full'>
<div className='grid h-400 w-full grid-cols-2 grid-rows-[196px_196px] gap-8'>
{/* 서브 이미지 1 */}
<div className='overflow-hidden rounded-xl border border-gray-50'>
<div className='h-full w-full animate-pulse bg-gray-200' />
<div className='h-full w-full animate-pulse bg-gray-100' />
</div>

{/* 서브 이미지 2 */}
<div className='overflow-hidden rounded-xl border border-gray-50'>
<div className='h-full w-full animate-pulse bg-gray-200' />
<div className='h-full w-full animate-pulse bg-gray-100' />
</div>

{/* 서브 이미지 3 - col-span-2 */}
<div className='col-span-2 overflow-hidden rounded-xl border border-gray-50'>
<div className='h-full w-full animate-pulse bg-gray-200' />
<div className='h-full w-full animate-pulse bg-gray-100' />
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default function DividerSkeleton() {
return <div className='h-1 w-full animate-pulse rounded bg-gray-200' />;
return <div className='h-1 w-full animate-pulse rounded bg-gray-100' />;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ export default function ReservationFormSkeleton() {
<div className='flex flex-col gap-8'>
{/* 캘린더 헤더 */}
<div className='flex items-center justify-between'>
<div className='h-20 w-16 animate-pulse rounded bg-gray-200' />
<div className='h-20 w-100 animate-pulse rounded bg-gray-200' />
<div className='h-20 w-16 animate-pulse rounded bg-gray-200' />
<div className='h-20 w-16 animate-pulse rounded bg-gray-100' />
<div className='h-20 w-100 animate-pulse rounded bg-gray-100' />
<div className='h-20 w-16 animate-pulse rounded bg-gray-100' />
</div>

{/* 캘린더 그리드 */}
Expand All @@ -21,24 +21,24 @@ export default function ReservationFormSkeleton() {

{/* 인원 선택 스켈레톤 */}
<div className='flex items-center justify-between'>
<div className='h-20 w-60 animate-pulse rounded bg-gray-200' />
<div className='h-20 w-60 animate-pulse rounded bg-gray-100' />
<div className='flex items-center gap-12'>
<div className='h-32 w-32 animate-pulse rounded bg-gray-200' />
<div className='h-20 w-20 animate-pulse rounded bg-gray-200' />
<div className='h-32 w-32 animate-pulse rounded bg-gray-200' />
<div className='h-32 w-32 animate-pulse rounded bg-gray-100' />
<div className='h-20 w-20 animate-pulse rounded bg-gray-100' />
<div className='h-32 w-32 animate-pulse rounded bg-gray-100' />
</div>
</div>

{/* 구분선 */}
<div className='h-1 w-full animate-pulse rounded bg-gray-200' />
<div className='h-1 w-full animate-pulse rounded bg-gray-100' />

{/* 총 합계 */}
<div className='flex items-center justify-between'>
<div className='flex flex-col gap-4'>
<div className='h-20 w-60 animate-pulse rounded bg-gray-200' />
<div className='h-20 w-100 animate-pulse rounded bg-gray-200' />
<div className='h-20 w-60 animate-pulse rounded bg-gray-100' />
<div className='h-20 w-100 animate-pulse rounded bg-gray-100' />
</div>
<div className='h-40 w-80 animate-pulse rounded bg-gray-200' />
<div className='h-40 w-80 animate-pulse rounded bg-gray-100' />
</div>
</div>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ export default function ReviewCardSkeleton() {
{/* 리뷰 헤더 */}
<div className='flex items-center justify-between'>
<div className='flex items-center gap-8'>
<div className='h-40 w-40 animate-pulse rounded-full bg-gray-200' />
<div className='h-40 w-40 animate-pulse rounded-full bg-gray-100' />
<div className='flex flex-col gap-4'>
<div className='h-16 w-80 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-80 animate-pulse rounded bg-gray-100' />
<div className='flex gap-2'>
{Array.from({ length: 5 }).map((_, starIndex) => (
<div key={`star-${starIndex}`} className='h-16 w-16 animate-pulse rounded bg-gray-200' />
<div key={`star-${starIndex}`} className='h-16 w-16 animate-pulse rounded bg-gray-100' />
))}
</div>
</div>
</div>
<div className='h-14 w-80 animate-pulse rounded bg-gray-200' />
<div className='h-14 w-80 animate-pulse rounded bg-gray-100' />
</div>

{/* 리뷰 내용 */}
<div className='flex flex-col gap-4'>
<div className='h-16 w-full animate-pulse rounded bg-gray-200' />
<div className='h-16 w-4/5 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-full animate-pulse rounded bg-gray-100' />
<div className='h-16 w-4/5 animate-pulse rounded bg-gray-100' />
</div>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ export default function ReviewSectionSkeleton() {
<section className='w-full'>
{/* 섹션 헤더 */}
<div className='mb-8 flex items-center gap-8'>
<div className='h-20 w-80 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-40 animate-pulse rounded bg-gray-200' />
<div className='h-20 w-80 animate-pulse rounded bg-gray-100' />
<div className='h-16 w-40 animate-pulse rounded bg-gray-100' />
</div>

{/* 평점 통계 */}
<div className='mb-34 flex flex-col items-center'>
<div className='mb-4 h-32 w-60 animate-pulse rounded bg-gray-200' />
<div className='mb-4 h-20 w-80 animate-pulse rounded bg-gray-200' />
<div className='mb-4 h-32 w-60 animate-pulse rounded bg-gray-100' />
<div className='mb-4 h-20 w-80 animate-pulse rounded bg-gray-100' />
<div className='flex items-center gap-4'>
<div className='h-16 w-16 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-80 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-16 animate-pulse rounded bg-gray-100' />
<div className='h-16 w-80 animate-pulse rounded bg-gray-100' />
</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@ export default function ReservationCardSkeleton() {
{/* 왼쪽: 정보 영역 */}
<div className='flex flex-1 flex-col gap-8'>
{/* 상태 뱃지 */}
<div className='h-24 w-80 animate-pulse rounded-full bg-gray-200' />
<div className='h-24 w-80 animate-pulse rounded-full bg-gray-100' />

{/* 체험 제목 */}
<div className='h-20 w-full animate-pulse rounded bg-gray-200' />
<div className='h-20 w-4/5 animate-pulse rounded bg-gray-200' />
<div className='h-20 w-full animate-pulse rounded bg-gray-100' />
<div className='h-20 w-4/5 animate-pulse rounded bg-gray-100' />

{/* 시간 */}
<div className='h-16 w-2/3 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-2/3 animate-pulse rounded bg-gray-100' />

{/* 가격과 인원수 */}
<div className='flex items-center gap-8'>
<div className='h-18 w-100 animate-pulse rounded bg-gray-200' />
<div className='h-16 w-40 animate-pulse rounded bg-gray-200' />
<div className='h-18 w-100 animate-pulse rounded bg-gray-100' />
<div className='h-16 w-40 animate-pulse rounded bg-gray-100' />
</div>
</div>

{/* 오른쪽: 체험 이미지 */}
<div className='h-120 w-120 animate-pulse rounded-lg bg-gray-200' />
<div className='h-120 w-120 animate-pulse rounded-lg bg-gray-100' />
</div>

{/* 액션 버튼 */}
<div className='mt-8 h-44 w-full animate-pulse rounded-lg bg-gray-200' />
<div className='mt-8 h-44 w-full animate-pulse rounded-lg bg-gray-100' />
</div>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function ReservationsListPageSkeleton() {
{/* 날짜 그룹 1 */}
<section className='space-y-12 pt-20 pb-30'>
{/* 날짜 헤더 */}
<div className='h-28 w-140 animate-pulse rounded bg-gray-200' />
<div className='h-28 w-140 animate-pulse rounded bg-gray-100' />

{/* 예약 카드들 */}
<div>
Expand All @@ -18,7 +18,7 @@ export default function ReservationsListPageSkeleton() {
{/* 날짜 그룹 2 */}
<section className='space-y-12 border-t border-gray-50 pt-20 pb-30'>
{/* 날짜 헤더 */}
<div className='h-28 w-140 animate-pulse rounded bg-gray-200' />
<div className='h-28 w-140 animate-pulse rounded bg-gray-100' />

{/* 예약 카드들 */}
<div>
Expand All @@ -29,7 +29,7 @@ export default function ReservationsListPageSkeleton() {
{/* 날짜 그룹 3 */}
<section className='space-y-12 border-t border-gray-50 pt-20 pb-30'>
{/* 날짜 헤더 */}
<div className='h-28 w-140 animate-pulse rounded bg-gray-200' />
<div className='h-28 w-140 animate-pulse rounded bg-gray-100' />

{/* 예약 카드들 */}
<div>
Expand Down