Skip to content

Commit ec01a4b

Browse files
committed
chore: hide join link
1 parent 959ecc2 commit ec01a4b

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

contents/banner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Banner } from "+/schema.ts";
22
const banner: Banner = {
3-
shown: true,
3+
shown: false,
44
kind: "notify",
55
long: "夏新歓を行っています",
66
short: "夏新歓を行っています",

src/pages/join.astro

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import StaticDocumentWrapper from "+/layouts/StaticDocumentWrapper.astro";
66
import { Focus } from "+/schema";
77
import { Icon } from "astro-icon/components";
88
9-
const shinkanJiki = false;
9+
const shinkanEvents = false;
10+
const joinLink = false;
1011
---
1112

1213
<GlobalLayout
@@ -21,7 +22,7 @@ const shinkanJiki = false;
2122
title="ut.code(); に参加する"
2223
>
2324
{
24-
shinkanJiki && (
25+
shinkanEvents && (
2526
<p
2627
role="alert"
2728
class="alert not-prose alert-vertical alert-info alert-outline sm:alert-horizontal border-2 sm:flex-row"
@@ -46,13 +47,21 @@ const shinkanJiki = false;
4647
<p>
4748
<a href="/welcome-events-2025-summer">夏新歓の詳細はこちら</a><br />
4849
</p>
49-
<p>
50-
ut.code(); に興味のある方は、以下のリンクから Discord
51-
に参加してみてください。
52-
</p>
53-
<p>
54-
<a href="https://discord.gg/q3w3gfZfjy">Discord 参加リンクはこちら</a>
55-
</p>
50+
{
51+
joinLink && (
52+
<>
53+
<p>
54+
ut.code(); に興味のある方は、以下のリンクから Discord
55+
に参加してみてください。
56+
</p>
57+
<p>
58+
<a href="https://discord.gg/q3w3gfZfjy">
59+
Discord 参加リンクはこちら
60+
</a>
61+
</p>
62+
</>
63+
)
64+
}
5665
<ul>
5766
<li>
5867
要件: ut.code();
@@ -68,7 +77,7 @@ const shinkanJiki = false;
6877
で行っています。新歓期は自由に参加可能ですので、興味がある場合はぜひ気軽に参加してみてください。
6978
</p>
7079
{
71-
shinkanJiki && (
80+
shinkanEvents && (
7281
<>
7382
<h2>📅 新歓日程</h2>
7483
<p>新歓の日程は、こちらから確認できます。</p>

0 commit comments

Comments
 (0)