Skip to content

Commit 9fceae2

Browse files
committed
remove discord from /join
1 parent ee4b208 commit 9fceae2

File tree

3 files changed

+36
-26
lines changed

3 files changed

+36
-26
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: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import GlobalLayout from "+/layouts/GlobalLayout.astro";
55
import StaticDocumentWrapper from "+/layouts/StaticDocumentWrapper.astro";
66
import { Focus } from "+/schema";
77
import { Icon } from "astro-icon/components";
8+
9+
const shinkanJiki = false;
810
---
911

1012
<GlobalLayout
@@ -18,21 +20,30 @@ import { Icon } from "astro-icon/components";
1820
fill="bg-pink-100"
1921
title="ut.code(); に参加する"
2022
>
21-
<p
22-
role="alert"
23-
class="alert not-prose alert-vertical alert-info alert-outline sm:alert-horizontal border-2 sm:flex-row"
24-
>
25-
<Icon name="feather:info" />
26-
<span>新歓イベントを行っています</span>
27-
<a class="link link-uncolor" href="/welcome-events">
28-
詳細<Icon class="mx-1 inline" name="feather:arrow-right" />
29-
</a>
30-
</p>
23+
{
24+
shinkanJiki && (
25+
<p
26+
role="alert"
27+
class="alert not-prose alert-vertical alert-info alert-outline sm:alert-horizontal border-2 sm:flex-row"
28+
>
29+
<Icon name="feather:info" />
30+
<span>新歓イベントを行っています</span>
31+
<a class="link link-uncolor" href="/welcome-events">
32+
詳細
33+
<Icon class="mx-1 inline" name="feather:arrow-right" />
34+
</a>
35+
</p>
36+
)
37+
}
3138
<p>
3239
ut.code();
3340
は、プログラミングはもちろん、ものづくりが好きな人、デザインに興味がある人、アイデアを形にしたい人など、幅広い人を歓迎しています!
3441
</p>
3542
<h2>🔷 入部について</h2>
43+
<p class="alert alert-error alert-outline">
44+
ut.code(); の 2025 年度春新歓の受付は、5/17 をもって終了しました。
45+
またの機会をお待ちしております。
46+
</p>
3647
<ul>
3748
<li>
3849
要件: ut.code();
@@ -45,19 +56,17 @@ import { Icon } from "astro-icon/components";
4556
</ul>
4657
<p>
4758
ut.code(); では、 部員同士の交流やプロジェクトの連絡は、主に Discord
48-
で行っています。 新歓期は自由に参加可能ですので、興味がある場合はまずは
49-
Discord に入ってみてください。
59+
で行っています。新歓期は自由に参加可能ですので、興味がある場合はぜひ気軽に参加してみてください。
5060
</p>
51-
<ActionButton
52-
variant="dark"
53-
to="https://discord.gg/DBsvz76tXV"
54-
class="my-4"
55-
>
56-
Discord
57-
</ActionButton>
58-
<h2>📅 新歓日程</h2>
59-
<p>新歓の日程は、こちらから確認できます。</p>
60-
<ActionButton to="/welcome-events">新歓イベント</ActionButton>
61+
{
62+
shinkanJiki && (
63+
<>
64+
<h2>📅 新歓日程</h2>
65+
<p>新歓の日程は、こちらから確認できます。</p>
66+
<ActionButton to="/welcome-events">新歓イベント</ActionButton>
67+
</>
68+
)
69+
}
6170
<h2>💬 コミュニティについて</h2>
6271
<p>また、 ut.code(); では Slack コミュニティを運営しています。</p>
6372
<p>
@@ -68,8 +77,9 @@ import { Icon } from "astro-icon/components";
6877
東大生の方は、
6978
<a
7079
href="https://docs.google.com/document/d/1wtbEz8RCwpAPTOfgZpDHlWmkiz-Zbw1HJhlLRFR1vos/edit?tab=t.0"
71-
>こちら</a
7280
>
81+
こちら
82+
</a>
7383
から参加できます。
7484
</p>
7585
<p>

src/pages/welcome-events.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ import MayTable from "+/images/welcome/welcome-events-calendar/may.png";
1111
---
1212

1313
<GlobalLayout
14-
title="新歓イベント"
14+
title="2025 年春新歓 イベント一覧"
1515
description="新歓イベントの日程と詳細"
1616
focus={Focus.join}
1717
image={Header}
1818
>
1919
<StaticDocumentWrapper
2020
header={Header}
2121
fill="bg-gray-300"
22-
title="新歓イベント"
22+
title="2025 年春新歓 イベント一覧"
2323
position="object-top"
2424
>
2525
<section>

0 commit comments

Comments
 (0)