Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions contents/banner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ type Banner = {
linkText?: string;
};
const banner: Banner = {
shown: false,
kind: "error",
long: "開発中の Website V3 を見ています",
short: "開発中の Website です",
link: "https://utcode.net",
linkText: "リリース版に戻る",
shown: true,
kind: "notify",
long: "3/30 (日) 20:00 からオンライン新歓説明会を開催します",
short: "3/30 (日) 新歓説明会を開催します",
link: "/welcome-events",
linkText: "詳細",
};

export default banner;
Binary file added public/shinkan-nittei.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const { focus } = Astro.props;
</span>
<a
href={banner.link}
class="inline-flex flex-shrink-0 items-center gap-0.5 hover:underline"
class="md:text-md inline-flex flex-shrink-0 items-center gap-0.5 text-sm hover:underline"
rel={banner.link.startsWith("/") ? undefined : "noreferrer"}
target={banner.link.startsWith("/") ? undefined : "_blank"}
data-astro-prefetch="viewport"
Expand Down
Binary file added src/images/headers/welcome-events.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/shinkan-nittei-v1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/shinkan-nittei-v2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/shinkan-nittei.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 8 additions & 3 deletions src/layouts/StaticDocumentWrapper.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ interface Props {
header: ImageMetadata;
title: string;
fill: `bg-${string}`; // put header color
position?: `object-${string}`;
}

const { header, fill, title } = Astro.props;
const { header, fill, title, position } = Astro.props;
---

<main>
<h1 class="mt-12 ml-4 max-w-xl text-3xl sm:mx-10 sm:text-4xl md:mx-auto">
<h1 class="mt-12 ml-4 text-3xl sm:mx-10 sm:text-4xl md:text-center">
{title}
</h1>
<Picture
Expand All @@ -21,7 +22,11 @@ const { header, fill, title } = Astro.props;
src={header}
width="1920"
height="600"
class:list={["my-8 h-100 w-full object-cover md:h-150", fill]}
class:list={[
"my-8 h-100 w-full object-cover md:h-100 lg:h-150",
fill,
position,
]}
/>
<article class="prose mx-5 mb-20 max-w-xl sm:mx-10 md:mx-auto">
<slot />
Expand Down
65 changes: 19 additions & 46 deletions src/pages/join.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Header from "+/images/headers/join.jpg";
import GlobalLayout from "+/layouts/GlobalLayout.astro";
import StaticDocumentWrapper from "+/layouts/StaticDocumentWrapper.astro";
import { Focus } from "+/schema";
import { Icon } from "astro-icon/components";
---

<GlobalLayout
Expand All @@ -17,6 +18,21 @@ import { Focus } from "+/schema";
fill="bg-pink-100"
title="ut.code(); に参加する"
>
<p
role="alert"
class="alert not-prose alert-vertical border-info sm:alert-horizontal border-2 sm:flex-row"
>
<Icon name="feather:info" />
<span> 3/30 (日) 20:00~ オンライン新歓説明会を実施します </span>
<a class="link" href="/welcome-events"> 詳細 </a>
<a
class="link link-primary"
target="_blank"
href="https://forms.gle/12xKpLEv8qnJFdCz5"
>
参加フォーム
</a>
</p>
<p>
ut.code();
は、プログラミングはもちろん、ものづくりが好きな人、デザインに興味がある人、アイデアを形にしたい人など、幅広い人を歓迎しています!
Expand All @@ -35,59 +51,16 @@ import { Focus } from "+/schema";
variant="dark"
to="https://sites.google.com/g.ecc.u-tokyo.ac.jp/utcode/discord-%E6%96%B0%E6%AD%93%E3%81%AE%E6%96%B9%E3%81%AF%E3%81%93%E3%81%A1%E3%82%89"
>
東大の学生の方はこちら
東大生の方はこちら
</ActionButton>
<p>
学外の方でサークル参加希望の方は、
<a href="/contact">ut.code(); の公式メールアドレス</a>
からご連絡ください。
</p>
<h2>📅 新歓日程</h2>
<p>今年の新歓日程は以下のとおりです。</p>
<p>日時・場所の詳細は確定し次第追加します。</p>
<ul aria-label="新歓日程一覧">
<li>
3/30 (日) オンライン説明会
<ul>
<li>場所: Zoom (リンクは追って公開します)</li>
<li>飛び入り参加可能!</li>
</ul>
</li>
<li>4/3(木), 4/4(金) サーオリ</li>
<li>
4/7 (月), 11 (金), 16 (水), 18 (金), 23 (水), 25 (金), 30 (水) 19:00 ~
21:30 先取り自主勉強会
<ul>
<li>場所: 駒場学生会館 313 B (部室)</li>
<li>途中参加・途中退出可。</li>
<li>
いち早くプログラミングを学び、プロジェクトに参加できるスキルをつけよう!
経験者も新しい知識を学ぶチャンス!
</li>
</ul>
</li>
<li>
4/9 (水) エンジニア系サークル合同新歓 @対面
<ul>
<li>場所: 確定し次第お知らせします。(学生会館予定)</li>
<li>TSG、UTFF、RoboTech、灯と合同で新歓説明会を開催!</li>
</ul>
</li>
<li>
4/12 (土) 新歓講習会 15:45~
<ul>
<li>場所: 確定し次第お知らせします。(学生会館予定)</li>
<li>飛び入り参加可能!</li>
<li>
授業形式で HTML・CSS・JavaScript の基礎を学び、簡単な Web
アプリを公開できるようになります。
</li>
</ul>
</li>
<li>4/15 (火) エンジニア系サークル合同新歓 (4/9 と同じ内容です)</li>
<li>4/20 (日) 新歓講習会 (4/12 と同じ内容です)</li>
</ul>
<p>興味がある方は、ぜひ気軽に参加してみてください!</p>
<p>新歓の日程は、こちらから確認できます。</p>
<ActionButton to="/welcome-events">新歓イベント日程</ActionButton>
<h2>💬 コミュニティについて</h2>
<p>また、 ut.code(); では Slack コミュニティを運営しています。</p>
<p>
Expand Down
102 changes: 102 additions & 0 deletions src/pages/welcome-events.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
---
import { Picture } from "astro:assets";
import Header from "+/images/headers/welcome-events.jpg";
import DatesTable from "+/images/shinkan-nittei-v2.png";
import GlobalLayout from "+/layouts/GlobalLayout.astro";
import StaticDocumentWrapper from "+/layouts/StaticDocumentWrapper.astro";
import { Focus } from "+/schema";
---

<GlobalLayout
title="新歓イベント"
description="新歓イベントの日程と詳細"
focus={Focus.join}
image={Header}
>
<StaticDocumentWrapper
header={Header}
fill="bg-gray-300"
title="新歓イベント"
position="object-top"
>
<h2>📅 新歓イベント日程</h2>
<p>
今年の新歓イベントの日程は以下のとおりです。
興味がある方は、ぜひ気軽に参加してみてください!
</p>
<p>日時・場所の詳細は確定し次第追加します。</p>
<a
href="/shinkan-nittei.png"
target="_blank"
aria-label="新しいページで開く"
>
<Picture src={DatesTable} alt="新歓日程" />
</a>
<section aria-label="新歓日程一覧">
<section id="online-information-session">
<h3>オンライン新歓説明会</h3>
<ul>
<li>日時: 3/30 (日) 20:00~</li>
<li>場所: Zoom</li>
<li>
参加フォーム:
<a
class="link link-primary"
target="_blank"
href="https://forms.gle/12xKpLEv8qnJFdCz5"
>https://forms.gle/12xKpLEv8qnJFdCz5</a
>
</li>
<li>飛び入り参加可能!</li>
</ul>
</section>
<section id="club-orientation">
<h3>サーオリ</h3>
<ul>
<li>日時: 4/3(木), 4/4(金) 全日</li>
<li>場所: 1232教室</li>
</ul>
</section>
<section id="joint-welcome-event">
<h3>エンジニア系サークル合同新歓</h3>
<ul>
<li>日時: 4/9 (水) 19:00 ~ 20:00、4/15 (火) 19:00 ~ 20:00</li>
<li>場所: 確定し次第お知らせします。(学生会館予定)</li>
<li>TSG、UTFF、RoboTech、灯と合同で新歓説明会を開催!</li>
</ul>
</section>
<section id="welcome-seminar">
<h3>新歓講習会</h3>
<ul>
<li>日時: 4/6 (日) 15:45 ~、 4/12 (土) 15:45 ~</li>
<li>場所: 確定し次第お知らせします。(学生会館予定)</li>
<li>飛び入り参加可能!</li>
<li>
授業形式で HTML・CSS・JavaScript の基礎を学び、簡単な Web
アプリを公開できるようになります。
</li>
</ul>
</section>
<section>
<h3>先取り自主勉強会</h3>
<ul>
<li>
日時: 4/7 (月), 11 (金), 16 (水), 18 (金), 23 (水), 25 (金), 30 (水)
すべて 19:00 ~ 21:30
</li>
<li>場所: 駒場学生会館 313 B (部室)</li>
<li>途中参加・途中退出可。</li>
<li>
いち早くプログラミングを学び、プロジェクトに参加できるスキルをつけよう!
経験者も新しい知識を学ぶチャンス!
</li>
</ul>
</section>
</section>
</StaticDocumentWrapper>
</GlobalLayout>
<style>
section {
margin-top: 3rem;
}
</style>