File tree Expand file tree Collapse file tree 1 file changed +23
-5
lines changed
src/entry/layouts/default Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,20 @@ const mediasLinkStyle =
2929const mediasStyle = '[&>a>svg]:h-4 [&>a>svg]:w-4 [&>a>svg]:cursor-pointer' ;
3030
3131const menus = [
32+ {
33+ name : 'Resources' ,
34+ items : [
35+ {
36+ name : 'Testnet Faucet' ,
37+ link : 'https://faucet.openbuild.xyz' ,
38+ type : 'Hot' ,
39+ } ,
40+ {
41+ name : 'Product Docs' ,
42+ link : 'https://openbuild-2.gitbook.io' ,
43+ } ,
44+ ] ,
45+ } ,
3246 {
3347 name : 'Product' ,
3448 items : [
@@ -172,10 +186,7 @@ export function Footer() {
172186 < h4 className = "mb-0 font-semibold max-md:mb-2 md:mb-12 md:text-lg" > { i . name } </ h4 >
173187 < ul >
174188 { i . items . map ( subItem => (
175- < li
176- className = "leading-7 transition-all duration-300 hover:text-green hover:underline text-sm md:leading-10"
177- key = { `footer-menus-sub-${ subItem . name } ` }
178- >
189+ < li className = "leading-7 md:leading-10" key = { `footer-menus-sub-${ subItem . name } ` } >
179190 { /* href={subItem.link} */ }
180191 < div
181192 className = "cursor-pointer"
@@ -186,7 +197,14 @@ export function Footer() {
186197 }
187198 } }
188199 >
189- { subItem . name }
200+ < span className = "transition-all duration-300 hover:text-green hover:underline text-sm" >
201+ { subItem . name }
202+ </ span >
203+ { subItem . type === 'Hot' && (
204+ < span className = "ml-2 text-[10px] px-1 py-[1px] rounded-md border border-[#FDB17E] text-[#FDB17E] align-top" >
205+ HOT
206+ </ span >
207+ ) }
190208 { subItem . type === 'Soon' && (
191209 < span className = "ml-2 inline-block h-4 w-9 rounded-md bg-yellow text-center text-xs font-normal leading-4 text-gray" >
192210 Soon
You can’t perform that action at this time.
0 commit comments