Skip to content

Commit

Permalink
hotfix: d-day 수정 (#ect)
Browse files Browse the repository at this point in the history
  • Loading branch information
jongse7 committed Feb 27, 2025
1 parent b9c1876 commit 5ee0888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/main/containers/MainScheduleSection.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { useVeritasDay } from '../hook/useVeritas';

export function MainScheduleSection() {
const targetDate = '2024-12-21T00:00:00+09:00';
const targetDate = '2025-03-04T00:00:00+09:00';
const daysLeft = useVeritasDay(targetDate);

return (
<div className="h-[180px] w-full bg-primary text-primary-foreground xs:h-[5rem] sm:h-[5rem] md:h-[5rem]">
<div className="flex h-full items-center justify-center text-center xs:justify-around xs:gap-[1rem] sm:flex-row sm:gap-[1rem] md:flex-row md:gap-[1rem] lg:flex-col lg:gap-[7px] xl:flex-col xl:gap-[7px] xxl:flex-col xxl:gap-[7px]">
<div className="rounded bg-background px-[2rem] py-1 font-semibold text-primary sm:text-xl md:text-xl lg:text-2xl xl:text-2xl xxl:text-2xl">
종강
개강
</div>
<h1 className="font-bold leading-none xs:text-2xl sm:text-2xl md:text-3xl lg:text-6xl xl:text-6xl xxl:text-6xl">
{`D-${daysLeft}`}
Expand Down

0 comments on commit 5ee0888

Please sign in to comment.