From 8f63e6c3651e729c581994b7f0d7ba91b0399078 Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Sat, 31 Jan 2026 13:39:43 +0000 Subject: [PATCH] feat: permanent discord button --- src/app/page.tsx | 19 ++++++++++++++-- src/components/countdown.tsx | 44 +++++++++++++++++------------------- 2 files changed, 38 insertions(+), 25 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index ed195a3..6b76497 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,6 +1,7 @@ import { Metadata } from "next"; import { redirect } from "next/navigation"; import { Suspense } from "react"; +import { Icon } from "@iconify/react"; import { auth } from "@/lib/auth"; import { prisma } from "@/lib/prisma"; @@ -36,7 +37,7 @@ export async function generateMetadata({ searchParams }: Props): Promise

{tags ? `Miis tagged with '${tags}' - TomodachiShare` : "TomodachiShare - index mii list"}

- + {(!page || page === "1") && ( +
+ + +
+

Join the Discord

+

Code: 48cXBFKvWQ

+
+
+ +
+ )} }> diff --git a/src/components/countdown.tsx b/src/components/countdown.tsx index 91c551c..a0a05c4 100644 --- a/src/components/countdown.tsx +++ b/src/components/countdown.tsx @@ -34,30 +34,28 @@ export default function Countdown() { }, []); return ( -
-
-
-

Living the Dream

-

releases in:

-
+
+
+

Living the Dream

+

releases in:

+
-
-
- {days} - days -
-
- {hours} - hours -
-
- {minutes} - minutes -
-
- {seconds} - seconds -
+
+
+ {days} + days +
+
+ {hours} + hours +
+
+ {minutes} + minutes +
+
+ {seconds} + seconds