Skip to content

Commit

Permalink
fix: add calendar button to mobile layout
Browse files Browse the repository at this point in the history
  • Loading branch information
dada878 committed Dec 8, 2024
1 parent b39cbb1 commit f7fcc0e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
10 changes: 9 additions & 1 deletion app/cfp/(submission)/normal/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,16 @@ export default function Page() {
id="important-dates"
className="my-4 -mt-[60px] space-y-4 pt-[80px] md:mb-16"
>
<h2 className="text-h2-mobile font-extrabold text-primary md:text-h2">
<h2 className="flex items-center text-h2-mobile font-extrabold text-primary max-md:flex md:text-h2">
重要時程
<Link
href={"/cfp/deadline.ics"}
className="flex items-center justify-center"
>
<button className="ml-2 rounded-lg bg-background-light px-3 py-1 text-sm font-normal text-foreground">
加入行事曆
</button>
</Link>
</h2>
<Timeline isPoster={false} />
</section>
Expand Down
10 changes: 9 additions & 1 deletion app/cfp/(submission)/poster/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,16 @@ export default function Page() {
id="important-dates"
className="my-4 -mt-[60px] space-y-4 pt-[80px] md:mb-16"
>
<h2 className="text-h2-mobile font-extrabold text-primary md:text-h2">
<h2 className="flex items-center text-h2-mobile font-extrabold text-primary max-md:flex md:text-h2">
重要時程
<Link
href={"/cfp/deadline.ics"}
className="flex items-center justify-center"
>
<button className="ml-2 rounded-lg bg-background-light px-3 py-1 text-sm font-normal text-foreground">
加入行事曆
</button>
</Link>
</h2>
<Timeline isPoster />
</section>
Expand Down
10 changes: 9 additions & 1 deletion app/cfp/(submission)/undefined/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,16 @@ export default function Page() {
id="important-dates"
className="my-4 -mt-[60px] space-y-4 pt-[80px] md:mb-16"
>
<h2 className="text-h2-mobile font-extrabold text-primary md:text-h2">
<h2 className="flex items-center text-h2-mobile font-extrabold text-primary max-md:flex md:text-h2">
重要時程
<Link
href={"/cfp/deadline.ics"}
className="flex items-center justify-center"
>
<button className="ml-2 rounded-lg bg-background-light px-3 py-1 text-sm font-normal text-foreground">
加入行事曆
</button>
</Link>
</h2>
<Timeline isPoster={false} />
</section>
Expand Down

0 comments on commit f7fcc0e

Please sign in to comment.