File tree Expand file tree Collapse file tree 4 files changed +88
-27
lines changed Expand file tree Collapse file tree 4 files changed +88
-27
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ---
2
+ import Card from " ../Card.astro" ;
3
+ import { User , MessageSquare } from " @lucide/astro" ;
4
+
5
+ type Props = {
6
+ keynoteSpeaker: string ;
7
+ imageUrl: string ;
8
+ title: string ;
9
+ profile: string ;
10
+ };
11
+
12
+ const {
13
+ keynoteSpeaker = " だれだろう" ,
14
+ imageUrl,
15
+ title,
16
+ profile,
17
+ }: Props = Astro .props ;
18
+ ---
19
+
20
+ <Card class =" max-w-2xl p-8 text-center" >
21
+ <div class =" flex flex-col items-center gap-6 md:flex-row md:items-start" >
22
+ <div class =" flex-shrink-0" >
23
+ <span
24
+ class =" relative flex h-24 w-24 shrink-0 overflow-hidden rounded-full md:h-32 md:w-32"
25
+ >
26
+ <img
27
+ class =" aspect-square h-full w-full"
28
+ alt ={ keynoteSpeaker }
29
+ src ={ imageUrl }
30
+ /></span
31
+ >
32
+ </div >
33
+ <div class =" flex-1 text-center md:text-left" >
34
+ <div class =" mb-3" >
35
+ <h3 class =" mb-2 text-2xl font-bold text-gray-900 md:text-3xl" >
36
+ { keynoteSpeaker }
37
+ </h3 >
38
+ </div >
39
+ <div class =" mb-4" >
40
+ <div class =" mb-2 flex items-center justify-center md:justify-start" >
41
+ <MessageSquare class =" mr-2 h-5 w-5 text-emerald-600" />
42
+ <span class =" font-semibold text-gray-800" >講演タイトル</span >
43
+ </div >
44
+ <p class =" text-lg text-gray-600 italic" >{ title } </p >
45
+ </div >
46
+ <div >
47
+ <div class =" mb-3 flex items-center justify-center md:justify-start" >
48
+ <User class =" mr-2 h-5 w-5 text-emerald-600" />
49
+ <span class =" font-semibold text-gray-800" >プロフィール</span >
50
+ </div >
51
+ <p class =" leading-relaxed text-gray-700" >
52
+ 山路を登りながら、こう考えた。智に働けば角が立つ。情に棹させば流される。意地を通せば窮屈だ。とかくに人の世は住みにくい。住みにくさが高じると、安い所へ引き越したくなる。どこへ越しても住みにくいと悟った時、詩が生れて、画が出来る。
53
+ { profile }
54
+ </p >
55
+ </div >
56
+ </div >
57
+ </div >
58
+ </Card >
Original file line number Diff line number Diff line change
1
+ ---
2
+ import Heading from " ../Heading.astro" ;
3
+ import KeynoteSpeaker from " ./KeynoteSpeaker.astro" ;
4
+ ---
5
+
6
+ <section
7
+ id =" keynote"
8
+ class =" bg-gradient-to-b from-white to-emerald-50 py-10 md:py-16"
9
+ >
10
+ <div class =" container mx-auto px-4" >
11
+ <Heading > 基調講演 </Heading >
12
+ </div >
13
+ <div
14
+ class =" grid grid-cols-1 gap-4 px-4 md:gap-12 lg:grid-cols-2 lg:grid-rows-subgrid"
15
+ >
16
+ <KeynoteSpeaker
17
+ keynoteSpeaker =" だれだろう"
18
+ imageUrl =" https://avatars.githubusercontent.com/u/11504?v=4"
19
+ title =" 基調講演のタイトル"
20
+ profile =" 山路を登りながら、こう考えた。智に働けば角が立つ。情に棹させば流される。意地を通せば窮屈だ。とかくに人の世は住みにくい。住みにくさが高じると、安い所へ引き越したくなる。どこへ越しても住みにくいと悟った時、詩が生れて、画が出来る。"
21
+ />
22
+ <KeynoteSpeaker
23
+ keynoteSpeaker =" だれだろう"
24
+ imageUrl =" https://avatars.githubusercontent.com/u/11504?v=4"
25
+ title =" 基調講演のタイトル"
26
+ profile =" 山路を登りながら、こう考えた。智に働けば角が立つ。情に棹させば流される。意地を通せば窮屈だ。とかくに人の世は住みにくい。住みにくさが高じると、安い所へ引き越したくなる。どこへ越しても住みにくいと悟った時、詩が生れて、画が出来る。"
27
+ />
28
+ </div >
29
+ </section >
Original file line number Diff line number Diff line change 1
1
---
2
2
import AboutVimConf from " ../../components/AboutVimConf.astro" ;
3
- import KeynoteSpeakers from " ../../components/KeynoteSpeakers.astro" ;
3
+ import KeynoteSpeakers from " ../../components/KeynoteSpeakers/index .astro" ;
4
4
import Schedule from " ../../components/Schedule.astro" ;
5
5
import Sponsors from " ../../components/Sponsors/index.astro" ;
6
6
import Staff from " ../../components/Staff/index.astro" ;
You can’t perform that action at this time.
0 commit comments