Skip to content

Commit 4db2ac0

Browse files
committed
improve navigation
1 parent ec64313 commit 4db2ac0

2 files changed

Lines changed: 44 additions & 10 deletions

File tree

docs/docs.json

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@
7171
"anchor": "Bridge",
7272
"href": "https://docs.base.org/base-chain/network-information/bridges-mainnet",
7373
"icon": "coin"
74+
},
75+
{
76+
"anchor": "Blog",
77+
"href": "https://blog.base.dev/",
78+
"icon": "scroll"
7479
}
7580
]
7681
}
@@ -167,6 +172,11 @@
167172
"anchor": "Support",
168173
"href": "https://discord.com/invite/buildonbase",
169174
"icon": "discord"
175+
},
176+
{
177+
"anchor": "Blog",
178+
"href": "https://blog.base.dev/",
179+
"icon": "scroll"
170180
}
171181
]
172182
}
@@ -1445,23 +1455,23 @@
14451455
},
14461456
"navbar": {
14471457
"links": [
1448-
{
1449-
"label": "Blog",
1450-
"href": "https://blog.base.dev/"
1451-
},
14521458
{
14531459
"label": "GitHub",
1454-
"href": "https://github.com/base"
1460+
"href": "https://github.com/base",
1461+
"icon": "github"
14551462
},
14561463
{
14571464
"label": "Support",
1458-
"href": "https://discord.com/invite/buildonbase"
1459-
},
1465+
"href": "https://discord.com/invite/buildonbase",
1466+
"icon": "discord"
1467+
}
1468+
],
1469+
"primary":
14601470
{
1461-
"label": "Base.org",
1462-
"href": "https://base.org"
1471+
"type": "button",
1472+
"label": "Base Build",
1473+
"href": "https://base.dev"
14631474
}
1464-
]
14651475
},
14661476
"footer": {
14671477
"socials": {
@@ -1478,6 +1488,10 @@
14781488
"label": "Base.org",
14791489
"href": "https://base.org"
14801490
},
1491+
{
1492+
"label": "Blog",
1493+
"href": "https://blog.base.dev/"
1494+
},
14811495
{
14821496
"label": "Privacy Policy",
14831497
"href": "https://docs.base.org/privacy-policy"

docs/custom.css renamed to docs/style.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040
.base_header_img {
4141
margin: auto;
42+
height: 1rem;
4243
}
4344

4445
.homepage_wrapper {
@@ -52,6 +53,25 @@
5253
padding-bottom: 0 !important;
5354
}
5455

56+
.navbar-link {
57+
background-color: rgba(156, 163, 175, 0.1);
58+
padding: 6px 12px;
59+
border-radius: 9999px;
60+
transition: background-color 0.2s ease;
61+
}
62+
63+
.navbar-link:hover {
64+
background-color: rgba(156, 163, 175, 0.2);
65+
}
66+
67+
.dark .navbar-link {
68+
background-color: rgba(75, 85, 99, 0.1); /* Reduced opacity for dark mode */
69+
}
70+
71+
.dark .navbar-link:hover {
72+
background-color: rgba(75, 85, 99, 0.2); /* Increased opacity on hover for better visibility */
73+
}
74+
5575
.home_header h1 {
5676
margin-bottom: 24px;
5777
}

0 commit comments

Comments
 (0)