File tree Expand file tree Collapse file tree 4 files changed +37
-30
lines changed Expand file tree Collapse file tree 4 files changed +37
-30
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ import LanguagePicker from ' ../components/LanguagePicker.astro'
3
+ ---
4
+
5
+ <header class =" hero" >
6
+ <LanguagePicker />
7
+ <div class =" container" >
8
+ <h1 >VimConf <wbr />2025</h1 >
9
+ </div >
10
+ </header >
11
+
12
+ <style >
13
+ /* Hero Section */
14
+ .hero {
15
+ background: linear-gradient(110deg, #9ebd13 0%, #069700 100%);
16
+ color: #fff;
17
+ text-align: center;
18
+
19
+ h1 {
20
+ font-size: 4rem;
21
+ margin-bottom: 16px;
22
+ font-family: "Cardo", serif;
23
+ font-weight: 400;
24
+ font-style: italic;
25
+ }
26
+ }
27
+
28
+ /* Container */
29
+ .container {
30
+ width: 90%;
31
+ max-width: 960px;
32
+ margin: auto;
33
+ padding: 24px 0;
34
+ }
35
+ </style >
Original file line number Diff line number Diff line change 1
1
---
2
2
import { GoogleFontsOptimizer } from " astro-google-fonts-optimizer" ;
3
+ import Header from " ../components/Header.astro" ;
3
4
4
5
const { lang = ' ja' } = Astro .props ;
5
6
---
@@ -17,6 +18,7 @@ const { lang = 'ja' } = Astro.props;
17
18
<title >VimConf 2025</title >
18
19
</head >
19
20
<body >
21
+ <Header />
20
22
<slot />
21
23
</body >
22
24
</html >
Original file line number Diff line number Diff line change 1
1
---
2
2
import Layout from ' ../layouts/Layout.astro' ;
3
- import LanguagePicker from ' ../components/LanguagePicker.astro'
4
3
---
5
4
6
5
<Layout lang =" en" >
7
- <header class =" hero" >
8
- <LanguagePicker />
9
- <div class =" container" >
10
- <h1 >VimConf <wbr />2025</h1 >
11
- </div >
12
- </header >
13
-
14
6
<section >
15
7
<div class =" container" >
16
8
<h2 id =" what-is-vimconf-2025" class =" section-title" ><a href =" #what-is-vimconf-2025" >What is VimConf 2025?</a ></h2 >
100
92
padding: 24px 0;
101
93
}
102
94
103
- /* Hero Section */
104
- .hero {
105
- background: linear-gradient(110deg, #9ebd13 0%, #069700 100%);
106
- color: #fff;
107
- text-align: center;
108
-
109
- h1 {
110
- font-size: 4rem;
111
- margin-bottom: 16px;
112
- font-family: "Cardo", serif;
113
- font-weight: 400;
114
- font-style: italic;
115
- }
116
- }
117
95
118
96
/* Section Title */
119
97
.section-title {
Original file line number Diff line number Diff line change 1
1
---
2
2
import Layout from ' ../layouts/Layout.astro' ;
3
- import LanguagePicker from ' ../components/LanguagePicker.astro'
4
3
---
5
4
6
5
<Layout >
7
- <header class =" hero" >
8
- <LanguagePicker />
9
- <div class =" container" >
10
- <h1 >VimConf <wbr />2025</h1 >
11
- </div >
12
- </header >
13
-
14
6
<section >
15
7
<div class =" container" >
16
8
<h2 id =" what-is-vimconf-2025" class =" section-title" ><a href =" #what-is-vimconf-2025" >VimConf 2025 とは?</a ></h2 >
You can’t perform that action at this time.
0 commit comments