Skip to content

Commit 0f57573

Browse files
committed
Revert "feat: add animated announcement for event reminder"
This reverts commit 9d8c07c.
1 parent 40bb736 commit 0f57573

File tree

2 files changed

+3
-30
lines changed

2 files changed

+3
-30
lines changed

app/(website)/(pages)/_components/AgendaTable.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ export default function DesktopAgenda() {
6060
}}
6161
>
6262
{/* row1 empty R2 R0 R1 R3 S */}
63-
<div className="sticky top-[120px] z-20 border-b border-b-white border-opacity-30 bg-background py-2 text-center text-[24px] font-bold"></div>
63+
<div className="sticky top-[70px] z-20 border-b border-b-white border-opacity-30 bg-background py-2 text-center text-[24px] font-bold"></div>
6464
{rooms.map((room, index) => (
6565
<div
6666
key={index}
6767
style={{
6868
gridColumn: room.id + " / " + getNextRoom(room.id),
6969
gridRow: "start / divider",
7070
}}
71-
className="sticky top-[120px] z-20 border-b border-b-white border-opacity-30 bg-background py-2 text-center text-[24px] font-bold"
71+
className="sticky top-[70px] z-20 border-b border-b-white border-opacity-30 bg-background py-2 text-center text-[24px] font-bold"
7272
>
7373
{room.id}
7474
</div>

app/_components/navbar.tsx

+1-28
Original file line numberDiff line numberDiff line change
@@ -45,39 +45,12 @@ export default function Navbar({
4545
return (
4646
<nav className="fixed left-0 right-0 top-0 z-30 flex justify-center">
4747
<motion.div
48-
className="flex w-full flex-col items-center justify-center transition"
48+
className="flex w-full items-center justify-center transition"
4949
style={{
5050
opacity: allowFadeEffect ? navBackgroundOpacity : 1,
5151
backgroundColor: allowFadeEffect ? navBackground : "rgba(39, 48, 77)",
5252
}}
5353
>
54-
<div className="flex w-full items-center justify-center gap-2 bg-background-light p-3 text-center text-foreground brightness-125">
55-
<motion.p
56-
initial={{
57-
opacity: 0.2,
58-
}}
59-
animate={{
60-
opacity: [0.2, 1, 0.2],
61-
}}
62-
transition={{
63-
duration: 1,
64-
ease: "easeInOut",
65-
repeat: Infinity,
66-
}}
67-
>
68-
<Link href="/mail/SITCON-2025.html" className="link">
69-
行前信
70-
</Link>
71-
已經寄出了,快去找找信箱吧!並下載{" "}
72-
<Link
73-
href="https://opass.app/open/?event_id=SITCON_2025"
74-
className="link"
75-
>
76-
OPass
77-
</Link>{" "}
78-
完成票券綁定~
79-
</motion.p>
80-
</div>
8154
<div className="w-full max-w-[950px] desktop:max-w-[1230px]">
8255
<ul className="relative flex w-full items-center justify-between p-4 [@media(max-width:900px)]:justify-center">
8356
<Link href={logoHref}>

0 commit comments

Comments
 (0)