Skip to content

Commit 332ea5b

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/entry/layouts/default/Footer.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const menus = [
3535
{
3636
name: 'Testnet Faucet',
3737
link: 'https://faucet.openbuild.xyz',
38+
type: 'Hot',
3839
},
3940
{
4041
name: 'Documents',
@@ -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)