From ec01a4b057e73061513ab1c32b472f26c73e7868 Mon Sep 17 00:00:00 2001 From: aster <137767097+aster-void@users.noreply.github.com> Date: Mon, 13 Oct 2025 11:44:45 +0900 Subject: [PATCH 1/2] chore: hide join link --- contents/banner.ts | 2 +- src/pages/join.astro | 29 +++++++++++++++++++---------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/contents/banner.ts b/contents/banner.ts index 07e26914..5887f8a2 100644 --- a/contents/banner.ts +++ b/contents/banner.ts @@ -1,6 +1,6 @@ import type { Banner } from "+/schema.ts"; const banner: Banner = { - shown: true, + shown: false, kind: "notify", long: "夏新歓を行っています", short: "夏新歓を行っています", diff --git a/src/pages/join.astro b/src/pages/join.astro index 365c1229..b98ac35a 100644 --- a/src/pages/join.astro +++ b/src/pages/join.astro @@ -6,7 +6,8 @@ import StaticDocumentWrapper from "+/layouts/StaticDocumentWrapper.astro"; import { Focus } from "+/schema"; import { Icon } from "astro-icon/components"; -const shinkanJiki = false; +const shinkanEvents = false; +const joinLink = false; --- { - shinkanJiki && ( + shinkanEvents && ( -

- ut.code(); に興味のある方は、以下のリンクから Discord - に参加してみてください。 -

-

- Discord 参加リンクはこちら -

+ { + joinLink && ( + <> +

+ ut.code(); に興味のある方は、以下のリンクから Discord + に参加してみてください。 +

+

+ + Discord 参加リンクはこちら + +

+ + ) + }