@@ -60,10 +60,10 @@ import HeroIllustration from "./hero-illustration.astro";
60
60
61
61
.hero-title {
62
62
text-align: center;
63
- font-size: 24px ;
63
+ font-size: 48px ;
64
64
font-style: normal;
65
- font-weight: 600 ;
66
- line-height: 100%; /* 24px */
65
+ font-weight: 800 ;
66
+ line-height: 100%;
67
67
letter-spacing: -0.24px;
68
68
}
69
69
@@ -72,7 +72,7 @@ import HeroIllustration from "./hero-illustration.astro";
72
72
font-size: 96px;
73
73
font-style: normal;
74
74
font-weight: 600;
75
- line-height: 100%; /* 96px */
75
+ line-height: 1.5;
76
76
letter-spacing: -1px;
77
77
color: transparent;
78
78
@@ -89,12 +89,14 @@ import HeroIllustration from "./hero-illustration.astro";
89
89
@media only screen and (max-width: 1024px) {
90
90
.hero-subtitle {
91
91
font-size: 68px;
92
+ line-height: 1.5;
92
93
}
93
94
}
94
95
95
96
@media only screen and (max-width: 728px) {
96
97
.hero-subtitle {
97
98
font-size: 48px;
99
+ line-height: 1.5;
98
100
}
99
101
}
100
102
@@ -130,6 +132,16 @@ import HeroIllustration from "./hero-illustration.astro";
130
132
gap: 10px;
131
133
flex: 1 0 0;
132
134
align-self: stretch;
135
+ height: 100vh; /* Ensure full visibility on 1080p monitor */
136
+ }
137
+
138
+ .hero-buttons {
139
+ display: flex;
140
+ justify-content: center;
141
+ gap: 8px;
142
+ align-self: stretch;
143
+ flex-wrap: wrap;
144
+ order: -1; /* Move buttons to the top */
133
145
}
134
146
135
147
@media only screen and (max-width: 728px) {
@@ -142,14 +154,24 @@ import HeroIllustration from "./hero-illustration.astro";
142
154
<div class =" hero-container" >
143
155
<div class =" hero-content" >
144
156
<h1 class =" hero-title" >TypeSpec</h1 >
145
- <div class =" hero-subtitle" >Describe APIs</div >
157
+ <div class =" hero-subtitle" >Design APIs</div >
146
158
<DescriptionText size =" large" className =" hero-description" >
147
- Describe your data up front and generate schemas, API specifications, client / server code,
159
+ Design your data up front and generate schemas, API specifications, client / server code,
148
160
docs, and more.
149
161
</DescriptionText >
150
162
<div class =" hero-buttons" >
151
- <Button as =" a" appearance =" primary" href ={ Links .docs } > Get Started </Button >
152
- <Button as =" a" appearance =" outline" href ={ Links .playground } > Try it out </Button >
163
+ <Button as =" a" appearance =" primary" href ={ Links .docs } title =" Install TypeSpec" >
164
+ Install
165
+ </Button >
166
+ <Button
167
+ as =" a"
168
+ appearance =" outline"
169
+ class =" highlight"
170
+ href ={ Links .playground }
171
+ title =" Try the Playground"
172
+ >
173
+ Playground
174
+ </Button >
153
175
</div >
154
176
</div >
155
177
<div class =" hero-demo" >
0 commit comments