File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed
src/entry/layouts/default Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,19 @@ 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+ } ,
39+ {
40+ name : 'Documents' ,
41+ link : 'https://openbuild-2.gitbook.io' ,
42+ } ,
43+ ] ,
44+ } ,
3245 {
3346 name : 'Product' ,
3447 items : [
@@ -172,10 +185,7 @@ export function Footer() {
172185 < h4 className = "mb-0 font-semibold max-md:mb-2 md:mb-12 md:text-lg" > { i . name } </ h4 >
173186 < ul >
174187 { 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- >
188+ < li className = "leading-7 md:leading-10" key = { `footer-menus-sub-${ subItem . name } ` } >
179189 { /* href={subItem.link} */ }
180190 < div
181191 className = "cursor-pointer"
@@ -186,7 +196,14 @@ export function Footer() {
186196 }
187197 } }
188198 >
189- { subItem . name }
199+ < span className = "transition-all duration-300 hover:text-green hover:underline text-sm" >
200+ { subItem . name }
201+ </ span >
202+ { subItem . name === 'Testnet Faucet' && (
203+ < span className = "text-[10px] px-1 py-[1px] rounded-md border border-[#FDB17E] text-[#FDB17E] ml-1 align-top" >
204+ HOT
205+ </ span >
206+ ) }
190207 { subItem . type === 'Soon' && (
191208 < span className = "ml-2 inline-block h-4 w-9 rounded-md bg-yellow text-center text-xs font-normal leading-4 text-gray" >
192209 Soon
You can’t perform that action at this time.
0 commit comments