@@ -20,28 +20,108 @@ export function date(
2020 : new Date (2026 , month - 1 , date , hour , minute )
2121}
2222
23- export const items: Item [] = []
23+ export const items: Item [] = [
24+ {
25+ date: date (4 , 20 , 18 , 30 ),
26+ title: ' ガイダンス・環境構築' ,
27+ place: ' 共C306' ,
28+ description:
29+ ' OUCCの紹介と環境構築、開発に必要なツールの使い方の講習(基礎講習)を行います。ガイダンス・環境構築は両日とも内容は同一です。' ,
30+ },
31+ {
32+ date: date (4 , 23 , 18 , 30 ),
33+ title: ' ガイダンス・環境構築' ,
34+ place: ' 共C306' ,
35+ description:
36+ ' OUCCの紹介と環境構築、開発に必要なツールの使い方の講習(基礎講習)を行います。ガイダンス・環境構築は両日とも内容は同一です。' ,
37+ },
38+ {
39+ date: date (4 , 28 , 18 , 30 ),
40+ title: ' 基礎講習(Git, shellなど)' ,
41+ place: ' 豊中共創棟B棟' ,
42+ description:
43+ ' 豊中共創棟B棟は場所がわかりづらいため、全学教育共通棟前で集合してから移動します。' ,
44+ },
45+ {
46+ date: date (5 , 12 , 18 , 30 ),
47+ title: ' C#/Unity①' ,
48+ place: undefined ,
49+ description:
50+ ' ゲーム開発をはじめ幅広い用途で用いられる言語であるC#を扱います。本格的なゲームエンジンであるUnityを使用してゲーム開発を行います。' ,
51+ },
52+ {
53+ date: date (5 , 13 , 18 , 30 ),
54+ title: ' Python①' ,
55+ place: undefined ,
56+ description: ' 文法がシンプルで学びやすい言語であるPythonを扱います。' ,
57+ },
58+ {
59+ date: date (5 , 19 , 18 , 30 ),
60+ title: ' C#/Unity②' ,
61+ place: undefined ,
62+ description:
63+ ' ゲーム開発をはじめ幅広い用途で用いられる言語であるC#を扱います。本格的なゲームエンジンであるUnityを使用してゲーム開発を行います。' ,
64+ },
65+ {
66+ date: date (5 , 20 , 18 , 30 ),
67+ title: ' Python②' ,
68+ place: undefined ,
69+ description:
70+ ' Pythonのゲームライブラリである、Pyxelを使用して簡単なゲームを開発することを目指します。' ,
71+ },
72+ {
73+ date: date (5 , 26 , 18 , 30 ),
74+ title: ' C#/Unity③' ,
75+ place: undefined ,
76+ description:
77+ ' ゲーム開発をはじめ幅広い用途で用いられる言語であるC#を扱います。本格的なゲームエンジンであるUnityを使用してゲーム開発を行います。' ,
78+ },
79+ {
80+ date: undefined ,
81+ title: ' C/C++' ,
82+ circleNames: [' RAINBOU' ],
83+ place: undefined ,
84+ description:
85+ ' OSや組み込みシステムなど、高速な処理が求められる分野で広く用いられる言語であるC/C++を扱います。阪大の競技プログラミングサークルであるRAINBOUが担当します' ,
86+ },
87+ ]
2488
2589const dateFormat = new Intl .DateTimeFormat (' ja-JP' , {
2690 weekday: ' short' ,
2791 month: ' numeric' ,
2892 day: ' numeric' ,
29- // hour: '2-digit',
30- // minute: '2-digit',
93+ hour: ' 2-digit' ,
94+ minute: ' 2-digit' ,
95+ })
96+
97+ const dateFormatWithoutTime = new Intl .DateTimeFormat (' ja-JP' , {
98+ weekday: ' short' ,
99+ month: ' numeric' ,
100+ day: ' numeric' ,
31101})
32102---
33103
34104<Section background =" secondary" >
35105 <Fragment slot =" title" >2026年度のOUCCの講習会</Fragment >
36106 <div class =" flex flex-col gap-5" >
37107 <p >
38- 2026年度の講習会をサーオリ後に発表します 。
108+ 2026年度の講習会について情報をまとめています 。
39109 開始時刻や開催場所などの詳細ついては随時更新します。是非お気軽にご参加ください!
40110 </p >
41111 <ul class =" grid grid-cols-[repeat(auto-fit,minmax(18rem,1fr))] gap-5" >
42112 {
43- items .map (({ date , ... item }) => (
44- <WorkshopCard { ... item } date = { dateFormat .format (date )} />
113+ items .map (({ date , place , ... item }) => (
114+ <WorkshopCard
115+ { ... item }
116+ date = {
117+ date === undefined
118+ ? ' 未定'
119+ : date !== undefined && date .getHours () !== 0
120+ ? dateFormat .format (date )
121+ : dateFormatWithoutTime .format (date )
122+ }
123+ place = { place ?? ' 未定' }
124+ />
45125 ))
46126 }
47127 </ul >
0 commit comments