@@ -22,21 +22,21 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
22
22
return (
23
23
< >
24
24
< div className = "graph-docs-not-markdown grid grid-cols-subgrid" >
25
- < div className = "absolute inset-x-0 flex h-70 justify-center pointer-events-none xs:h-90 " >
25
+ < div className = "xs:h-90 pointer-events-none absolute inset-x-0 flex h-70 justify-center" >
26
26
< img
27
27
alt = ""
28
28
src = { `${ process . env . BASE_PATH } /img/home-bg.svg` }
29
- className = "left-16 h-full max-w-none xs:-top-2 xs:left-0 "
29
+ className = "xs:-top-2 xs: left-0 left- 16 h-full max-w-none"
30
30
/>
31
31
</ div >
32
32
< div className = "col-[container] py-28" >
33
33
< div className = "flex flex-col items-start gap-4 lg:flex-row" >
34
34
< div className = "flex-1 lg:mb-0 lg:max-w-84" >
35
35
< h1 className = "text-heading-xlarge text-white" > { t ( 'index.hero.title' ) } </ h1 >
36
- < p className = "mt-2 text-16" > { t ( 'index.hero.description' ) } </ p >
36
+ < p className = "text-16 mt-2 " > { t ( 'index.hero.description' ) } </ p >
37
37
</ div >
38
38
< div className = "flex w-full flex-1 justify-end lg:w-auto" >
39
- < div className = "w-full overflow-clip rounded-8 border border -space-1600 bg-space-1800 lg:w-auto" >
39
+ < div className = "rounded-8 border-space-1600 bg-space-1800 w-full overflow-clip border lg:w-auto" >
40
40
< div className = "relative grid grid-cols-4 gap-px" >
41
41
{ [
42
42
'mainnet' ,
@@ -59,10 +59,10 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
59
59
. map ( ( id ) => supportedNetworks . find ( ( network ) => network . id === id ) )
60
60
. filter ( ( network ) : network is typeof network & { } => Boolean ( network ) )
61
61
. map ( ( network ) => (
62
- < div key = { network . id } className = "-mb -px -mr -px" >
62
+ < div key = { network . id } className = "-mr -px -mb -px" >
63
63
< ButtonOrLink
64
64
href = { `/supported-networks/${ network . id } ` }
65
- className = "flex items-center justify-center border-b border- r border-space-1600 px-8 py-5 transition hover:bg-space-1600 "
65
+ className = "border-space-1600 hover:bg-space-1600 flex items-center justify-center border-r border-b px-8 py-5 transition"
66
66
>
67
67
< NetworkIcon
68
68
network = { network }
@@ -78,7 +78,7 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
78
78
) ) }
79
79
< ExperimentalLink
80
80
href = "/supported-networks"
81
- className = "absolute bottom -0 right -0 flex h-[64px] w-[calc(100%-1px)] items-center justify-center text-14 backdrop-blur-md sm:w-[calc(50%-1px)]"
81
+ className = "text-14 absolute right -0 bottom -0 flex h-[64px] w-[calc(100%-1px)] items-center justify-center backdrop-blur-md sm:w-[calc(50%-1px)]"
82
82
>
83
83
{ t ( 'index.supportedNetworks.seeAllNetworks' , [
84
84
supportedNetworks . filter ( ( network ) => network . networkType === NetworkType . Mainnet ) . length ,
@@ -90,7 +90,7 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
90
90
</ div >
91
91
</ div >
92
92
</ div >
93
- < div className = "col-[container] nested-[p:empty]:hidden" >
93
+ < div className = "nested-[p:empty]:hidden col-[container] " >
94
94
< section >
95
95
< Heading . H2 id = "products" className = "mt-0" >
96
96
{ t ( 'index.products.title' ) }
@@ -107,7 +107,7 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
107
107
</ ExperimentalLink >
108
108
}
109
109
icon = {
110
- < div className = "flex size-8 items-center justify-center rounded-4 bg-purple-500 text-white" >
110
+ < div className = "rounded-4 flex size-8 items-center justify-center bg-purple-500 text-white" >
111
111
< Subgraph size = { 4 } />
112
112
</ div >
113
113
}
@@ -122,7 +122,7 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
122
122
</ ExperimentalLink >
123
123
}
124
124
icon = {
125
- < div className = "flex size-8 items-center justify-center rounded-4 bg-pink text-white" >
125
+ < div className = "rounded-4 bg-pink flex size-8 items-center justify-center text-white" >
126
126
< Substreams size = { 4 } />
127
127
</ div >
128
128
}
@@ -137,7 +137,7 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
137
137
< ExperimentalLink href = "/token-api/quick-start/" > { t ( 'index.products.tokenApi.cta' ) } </ ExperimentalLink >
138
138
}
139
139
icon = {
140
- < div className = "flex size-8 items-center justify-center rounded-4 bg-space-1400 text-white" >
140
+ < div className = "rounded-4 bg-space-1400 flex size-8 items-center justify-center text-white" >
141
141
< APIToken size = { 4 } />
142
142
</ div >
143
143
}
@@ -151,7 +151,7 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
151
151
</ ExperimentalLink >
152
152
}
153
153
icon = {
154
- < div className = "flex size-8 items-center justify-center rounded-4 bg-space-1400 text-white" >
154
+ < div className = "rounded-4 bg-space-1400 flex size-8 items-center justify-center text-white" >
155
155
< GraphNode size = { 4 } />
156
156
</ div >
157
157
}
@@ -165,7 +165,7 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
165
165
</ ExperimentalLink >
166
166
}
167
167
icon = {
168
- < div className = "flex size-8 items-center justify-center rounded-4 bg-space-1400 text-white" >
168
+ < div className = "rounded-4 bg-space-1400 flex size-8 items-center justify-center text-white" >
169
169
< Firehose size = { 4 } />
170
170
</ div >
171
171
}
@@ -188,8 +188,8 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
188
188
</ ExperimentalLink > ,
189
189
] ) }
190
190
</ p >
191
- < div className = "graph-docs-not-markdown mt -8 overflow-clip rounded -8 border border-space-1500 " >
192
- < ul className = "grid grid -cols-auto-fill-16 gap-px text-space-500" >
191
+ < div className = "graph-docs-not-markdown rounded -8 border-space-1500 mt -8 overflow-clip border" >
192
+ < ul className = "grid-cols-auto-fill-16 text-space-500 grid gap-px " >
193
193
{ supportedNetworks
194
194
// TODO: Don't filter out testnets that don't have a mainnet
195
195
. filter ( ( network ) => network . networkType === NetworkType . Mainnet )
@@ -202,13 +202,13 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
202
202
// Filter out networks that don't have a proper monochrome logo
203
203
. filter ( ( network ) => network . id !== 'zora' )
204
204
. map ( ( network ) => (
205
- < li key = { network . id } className = "-mb -px -mr -px" >
205
+ < li key = { network . id } className = "-mr -px -mb -px" >
206
206
< Tooltip content = { network . shortName } >
207
207
< ButtonOrLink
208
208
href = { `/supported-networks/${ network . id } ` }
209
209
className = { `
210
- flex aspect-square items-center justify-center border-b border- r border-space-1500 -outline-offset-1 transition
211
- hover:bg-space-1600
210
+ border-space-1500 hover:bg-space-1600 flex aspect-square items-center justify-center border-r border-b -outline-offset-1
211
+ transition
212
212
` }
213
213
>
214
214
< NetworkIcon network = { network } size = { 6 } />
@@ -289,7 +289,7 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
289
289
href = "https://www.youtube.com/@GraphProtocol"
290
290
target = "_blank"
291
291
iconBefore = { < SocialYouTube alt = "" /> }
292
- className = "top-[-3px] text-14 text-space-200"
292
+ className = "text-14 text-space-200 top-[-3px] "
293
293
>
294
294
< span className = "max-lg:hidden" > { t ( 'index.videos.watchOnYouTube' ) } </ span >
295
295
< span className = "lg:hidden" > YouTube</ span >
0 commit comments