Skip to content

Commit df90cf5

Browse files
committed
chore: refine footer links implementation (#191)
1 parent 95ef89e commit df90cf5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/entry/layouts/default/Footer.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ const menus = [
3535
{
3636
name: 'Testnet Faucet',
3737
link: 'https://faucet.openbuild.xyz',
38+
type: 'Hot',
3839
},
3940
{
40-
name: 'Documents',
41+
name: 'Product Docs',
4142
link: 'https://openbuild-2.gitbook.io',
4243
},
4344
],
@@ -199,8 +200,8 @@ export function Footer() {
199200
<span className="transition-all duration-300 hover:text-green hover:underline text-sm">
200201
{subItem.name}
201202
</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">
203+
{subItem.type === 'Hot' && (
204+
<span className="ml-2 text-[10px] px-1 py-[1px] rounded-md border border-[#FDB17E] text-[#FDB17E] align-top">
204205
HOT
205206
</span>
206207
)}

0 commit comments

Comments
 (0)