Skip to content

Commit a0a7fb6

Browse files
committed
Fix Dynamic Route static rendering
1 parent 4dc09be commit a0a7fb6

6 files changed

Lines changed: 33 additions & 7 deletions

File tree

next.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ const nextConfig = {
1212
// distDir: "build"
1313
}
1414
const withNextra = nextra({
15-
// ... other Nextra config options
15+
readingTime: true,
16+
latex: true,
17+
search: {
18+
codeblocks: false
19+
},
1620
})
1721

1822
export default withNextra(nextConfig)

src/app/layout.jsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ export const metadata = {
88
// For more information on metadata API, see: https://nextjs.org/docs/app/building-your-application/optimizing/metadata
99
}
1010

11-
const banner = <Banner storageKey="some-key">Nextra 4.0 is released 🎉</Banner>
1211
const navbar = (
1312
<Navbar
14-
logo={<b>Nextra</b>}
13+
logo={<b>ZecDev</b>}
1514
// ... Your additional navbar options
1615
/>
1716
)
18-
const footer = <Footer>MIT {new Date().getFullYear()} © Nextra.</Footer>
17+
const footer = <Footer>MIT {new Date().getFullYear()} © ZecDev.</Footer>
1918

2019
export default async function RootLayout({ children }) {
2120
return (
@@ -34,7 +33,6 @@ export default async function RootLayout({ children }) {
3433
</Head>
3534
<body>
3635
<Layout
37-
banner={banner}
3836
navbar={navbar}
3937
pageMap={await getPageMap()}
4038
docsRepositoryBase="https://github.com/zecdev/zecdev.github.io/tree/main/src/"

src/content/_meta.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export default {
2+
index: '',
3+
'zcash-z3': ''
4+
}

src/content/zcash-z3/_meta.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export default {
2+
dashboard: '',
3+
resources: ''
4+
}
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
# Zcashd Deprecation Dashboard
1+
# Dashboard
22

3+
Zcashd Deprecation is now called Z^3 (Zebra x Zaino x Zallet).
4+
5+
36
Here you will find a summary of all the tasks that the different Zcash teams
47
are doing to complete this mancomunated effort.
58

6-
_Last updated: March 14th 2025_
9+
10+
11+

src/content/zcash-z3/resources.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# Resources
3+
4+
## Zebra
5+
6+
## Zaino
7+
8+
## Zallet
9+
10+
## Legacy
11+

0 commit comments

Comments
 (0)