Skip to content

Commit 36669df

Browse files
committed
site: add CPS reference; add parent menu for tools
1 parent e449410 commit 36669df

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

site/docusaurus.config.ts

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,25 @@ const config: Config = {
8383
},
8484
{ to: "/news", label: "Latest News", position: "right" },
8585
{
86-
href:
87-
"https://www.insightmaker.com/insight/4DU4kmFVCFDaq30ux29PCe/Cardano-Throughput-v0-3",
88-
label: "Throughput Simulation",
86+
type: "dropdown",
87+
label: "Tools",
8988
position: "right",
89+
items: [
90+
{
91+
href:
92+
"https://www.insightmaker.com/insight/4DU4kmFVCFDaq30ux29PCe/Cardano-Throughput-v0-3",
93+
label: "Simulator",
94+
},
95+
{
96+
to: "https://leios.cardano-scaling.org/cost-estimator/",
97+
label: "Cost Estimator",
98+
},
99+
],
90100
},
91101
{
92-
to: "pathname:///cost-estimator/",
93-
label: "Cost Estimator",
102+
href:
103+
"https://github.com/cardano-foundation/CIPs/blob/master/CPS-0018/README.md",
104+
label: "CPS",
94105
position: "right",
95106
},
96107
{
@@ -129,6 +140,11 @@ const config: Config = {
129140
label: "Resources",
130141
to: "/docs/resources",
131142
},
143+
{
144+
label: "CPS",
145+
href:
146+
"https://github.com/cardano-foundation/CIPs/blob/master/CPS-0018/README.md",
147+
},
132148
],
133149
},
134150
{

site/src/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,9 @@
4242
--ifm-color-primary-lightest: #B5D4E3;
4343
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
4444
}
45+
46+
/* Hide external link icons in navbar */
47+
.navbar .navbar__items a.navbar__item svg[class*="iconExternalLink"],
48+
.navbar .dropdown__menu a.dropdown__link svg[class*="iconExternalLink"] {
49+
display: none;
50+
}

0 commit comments

Comments
 (0)