@@ -10,7 +10,6 @@ import HeroIllustration from "./hero-illustration.astro";
10
10
background-repeat: no-repeat;
11
11
width: 100%;
12
12
background-size: 100vw 94%;
13
-
14
13
display: flex;
15
14
padding: 120px 80px 52px 80px;
16
15
flex-direction: column;
@@ -60,10 +59,10 @@ import HeroIllustration from "./hero-illustration.astro";
60
59
61
60
.hero-title {
62
61
text-align: center;
63
- font-size: 24px ;
62
+ font-size: 48px ;
64
63
font-style: normal;
65
- font-weight: 600 ;
66
- line-height: 100%; /* 24px */
64
+ font-weight: 800 ;
65
+ line-height: 100%;
67
66
letter-spacing: -0.24px;
68
67
}
69
68
@@ -72,10 +71,9 @@ import HeroIllustration from "./hero-illustration.astro";
72
71
font-size: 96px;
73
72
font-style: normal;
74
73
font-weight: 600;
75
- line-height: 100%; /* 96px */
74
+ line-height: 1.5;
76
75
letter-spacing: -1px;
77
76
color: transparent;
78
-
79
77
background: linear-gradient(
80
78
127deg,
81
79
#6dc2b1 -17.91%,
@@ -89,12 +87,14 @@ import HeroIllustration from "./hero-illustration.astro";
89
87
@media only screen and (max-width: 1024px) {
90
88
.hero-subtitle {
91
89
font-size: 68px;
90
+ line-height: 1.5;
92
91
}
93
92
}
94
93
95
94
@media only screen and (max-width: 728px) {
96
95
.hero-subtitle {
97
96
font-size: 48px;
97
+ line-height: 1.5;
98
98
}
99
99
}
100
100
@@ -130,6 +130,7 @@ import HeroIllustration from "./hero-illustration.astro";
130
130
gap: 10px;
131
131
flex: 1 0 0;
132
132
align-self: stretch;
133
+ height: 100vh; /* Ensure full visibility on 1080p monitor */
133
134
}
134
135
135
136
@media only screen and (max-width: 728px) {
@@ -142,15 +143,25 @@ import HeroIllustration from "./hero-illustration.astro";
142
143
<div class =" hero-container" >
143
144
<div class =" hero-content" >
144
145
<h1 class =" hero-title" >TypeSpec</h1 >
145
- <div class =" hero-subtitle" >Describe APIs</div >
146
+ <div class =" hero-buttons" >
147
+ <Button as =" a" appearance =" primary" href ={ Links .docs } title =" Install TypeSpec" >
148
+ Install
149
+ </Button >
150
+ <Button
151
+ as =" a"
152
+ appearance =" outline"
153
+ class =" highlight"
154
+ href ={ Links .playground }
155
+ title =" Try the Playground"
156
+ >
157
+ Playground
158
+ </Button >
159
+ </div >
160
+ <div class =" hero-subtitle" >Design APIs</div >
146
161
<DescriptionText size =" large" className =" hero-description" >
147
- Describe your data up front and generate schemas, API specifications, client / server code,
162
+ Design your data up front and generate schemas, API specifications, client / server code,
148
163
docs, and more.
149
164
</DescriptionText >
150
- <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 >
153
- </div >
154
165
</div >
155
166
<div class =" hero-demo" >
156
167
<HeroIllustration />
0 commit comments