File tree Expand file tree Collapse file tree 3 files changed +29
-8
lines changed
Expand file tree Collapse file tree 3 files changed +29
-8
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ interface Props {
3+ class? : string ;
4+ href: string ;
5+ _blank? : boolean ;
6+ }
7+ const props = Astro .props ;
8+ const { href, _blank } = props ;
9+ ---
10+
11+ <a class ={ props .class } href ={ href } target ={ _blank ? " _blank" : undefined }
12+ >{ href } </a
13+ >
Original file line number Diff line number Diff line change @@ -87,9 +87,9 @@ import { Icon } from "astro-icon/components";
8787 </p >
8888 <p >
8989 東大生の方は、
90- <a href =" https://sites.google.com/g.ecc.u-tokyo.ac.jp/utcode/slack" >
91- こちら
92- </ a >
90+ <a href =" https://sites.google.com/g.ecc.u-tokyo.ac.jp/utcode/slack"
91+ > こちら</ a
92+ >
9393 から参加できます。
9494 </p >
9595 <p >
Original file line number Diff line number Diff line change 11---
22import { Picture } from " astro:assets" ;
3+ import Link from " +/components/Link.astro" ;
34import Header from " +/images/headers/welcome-events.jpg" ;
45import DatesTable from " +/images/shinkan-nittei-v2.png" ;
56import GlobalLayout from " +/layouts/GlobalLayout.astro" ;
@@ -40,12 +41,11 @@ import { Focus } from "+/schema";
4041 <li >場所: Zoom</li >
4142 <li >
4243 参加フォーム:
43- <a
44+ <Link
4445 class =" link link-primary"
45- target =" _blank"
4646 href =" https://forms.gle/12xKpLEv8qnJFdCz5"
47- >https://forms.gle/12xKpLEv8qnJFdCz5</ a
48- >
47+ _blank
48+ / >
4949 </li >
5050 <li >飛び入り参加可能!</li >
5151 </ul >
@@ -60,8 +60,16 @@ import { Focus } from "+/schema";
6060 <section id =" joint-welcome-event" >
6161 <h3 >エンジニア系サークル合同新歓</h3 >
6262 <ul >
63- <li >日時: 4/9 (水) 19:00 ~ 20 :00、4/15 (火) 19:00 ~ 20 :00</li >
63+ <li >日時: 4/9 (水) 19:00 ~ 21 :00、4/15 (火) 19:00 ~ 21 :00</li >
6464 <li >場所: 確定し次第お知らせします。(学生会館予定)</li >
65+ <li >
66+ 参加フォーム:
67+ <Link
68+ class =" link link-primary"
69+ href =" https://forms.gle/sAU7A9uMVerQPpUb6"
70+ _blank
71+ />
72+ </li >
6573 <li >TSG、UTFF、RoboTech、灯と合同で新歓説明会を開催!</li >
6674 </ul >
6775 </section >
You can’t perform that action at this time.
0 commit comments