diff --git a/app/cfp/(submission)/_components/timeline copy.tsx b/app/cfp/(submission)/_components/timeline copy.tsx new file mode 100644 index 00000000..d8388996 --- /dev/null +++ b/app/cfp/(submission)/_components/timeline copy.tsx @@ -0,0 +1,209 @@ +import { ReactNode } from "react"; + +export default function Timeline({ isPoster }: { isPoster?: boolean }) { + return ( + <> + {/* Desktop Layout */} +
+
+
+ + {/* Main horizontal line */} + {/* Arrow */} + + + +
+ + {/* 時程 */} +
+
+ + + + flag +

2024-11-23

+

開始徵稿

+
+ + + featured_seasonal_and_gifts + + } + date="01-21 23:59" + name="早鳥截止" + /> + + + event_busy + + } + date="01-21 23:59" + name="投稿截止" + /> + + email} + date="一月下旬" + name="錄取通知" + /> + + {isPoster ? ( +
+ + + + route +

02-16

+

錄取海報檔案上傳截止

+
+ ) : ( + <> +
+ + + + mic_none +

二月

+

試講

+
+
+ + + + route +

03-07

+

彩排

+
+ + )} + + + groups + + } + date="03-08" + name="年會" + /> +
+
+
+ + {/* Mobile Layout */} +
+ +
+ + ); +} + +function TimelineItem({ + icon, + date, + name, +}: { + icon: ReactNode; + date: string; + name: string; +}) { + return ( +
+ + + + {icon} +

{date}

+

{name}

+
+ ); +} diff --git a/app/cfp/(submission)/_components/timeline.tsx b/app/cfp/(submission)/_components/timeline.tsx index 6b0c7a63..78b04014 100644 --- a/app/cfp/(submission)/_components/timeline.tsx +++ b/app/cfp/(submission)/_components/timeline.tsx @@ -33,115 +33,23 @@ export default function Timeline({ isPoster }: { isPoster?: boolean }) { {/* 時程 */}
-
- - - - flag -

2024-11-23

-

開始徵稿

-
- -
- - - - - event_busy - -

01-21 23:59

-

投稿截止

-
- -
- - - - email -

一月下旬

-

錄取通知

-
- + + + + {isPoster ? ( -
- - - - route -

02-16

-

錄取海報檔案上傳截止

-
+ ) : ( <> -
- - - - mic_none -

二月

-

試講

-
-
- - - - route -

03-07

-

彩排

-
+ + )} - -
- - - - groups -

03-08

-

年會

-
+
@@ -154,7 +62,11 @@ export default function Timeline({ isPoster }: { isPoster?: boolean }) { :2024 年 11 月 22 日(六)
  • - 投稿截止 + 早鳥投稿截止 + :2024 年 12 月 25 日(三)23:59 +
  • +
  • + 投稿及稿件修改截止 :2025 年 1 月 21 日(二) 23:59
  • @@ -189,3 +101,30 @@ export default function Timeline({ isPoster }: { isPoster?: boolean }) { ); } + +function TimelineItem({ + icon, + date, + name, +}: { + icon: string; + date: string; + name: string; +}) { + return ( +
    + + + + {icon} +

    {date}

    +

    {name}

    +
    + ); +} diff --git a/app/cfp/globals.css b/app/cfp/globals.css index e7dee375..6d86c8f0 100644 --- a/app/cfp/globals.css +++ b/app/cfp/globals.css @@ -137,7 +137,7 @@ html { font-family: "Material Icons"; font-weight: normal; font-style: normal; - font-size: 64px; /* Preferred icon size */ + font-size: 64px; /* Preferred icon size display: inline-block; line-height: 1; text-transform: none; @@ -184,10 +184,10 @@ html { @apply bg-primary text-background; } .optional { - @apply border-primary border-opacity-30 border-2 border-dashed + @apply border-2 border-dashed border-primary border-opacity-30; } .public { - @apply border-primary border-opacity-30 border-2 + @apply border-2 border-primary border-opacity-30; } .exclamation-mark { @@ -197,7 +197,7 @@ html { @keyframes exclamation-mark-shake { 0% { transform: rotate(0deg); - color: #BDB3FF; + color: #bdb3ff; } 10% { transform: rotate(10deg); @@ -217,6 +217,6 @@ html { } 100% { transform: rotate(0deg); - color: #BDB3FF; + color: #bdb3ff; } -} \ No newline at end of file +}