Skip to content

Commit f10ac1e

Browse files
authored
Merge pull request #3 from phucbm/update-packages-ui
Update packages UI
2 parents 90f29b9 + 1081377 commit f10ac1e

File tree

4 files changed

+916
-875
lines changed

4 files changed

+916
-875
lines changed

app/layout.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
import {Footer, Layout, Navbar} from 'nextra-theme-docs'
2-
import {Banner, Head} from 'nextra/components'
2+
import {Head} from 'nextra/components'
33
import {getPageMap} from 'nextra/page-map'
44
import 'nextra-theme-docs/style.css'
5-
import Link from "next/link";
65

76
export const metadata = {
87
// Define your metadata here
98
// For more information on metadata API, see: https://nextjs.org/docs/app/building-your-application/optimizing/metadata
109
}
1110

12-
const banner = <Banner storageKey="some-key">This template was created with 🩸 and 💦 by <Link href="https://github.com/phucbm">PHUCBM</Link> 🐧</Banner>
11+
// const banner = <Banner storageKey="some-key">This template was created with 🩸 and 💦 by <Link href="https://github.com/phucbm">PHUCBM</Link> 🐧</Banner>
1312
const navbar = (
1413
<Navbar
1514
logo={<img src="/images/general/logo.svg" alt="Logo" width={100} height={20}/>}
@@ -36,7 +35,7 @@ export default async function RootLayout({children}) {
3635
</Head>
3736
<body>
3837
<Layout
39-
banner={banner}
38+
// banner={banner}
4039
navbar={navbar}
4140
pageMap={await getPageMap()}
4241
docsRepositoryBase="https://github.com/phucbm/nextra-docs-starter/tree/main"

next-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference path="./.next/types/routes.d.ts" />
34

45
// NOTE: This file should not be edited
56
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
},
2020
"homepage": "https://github.com/phucbm/nextra-docs-starter#readme",
2121
"dependencies": {
22-
"next": "^15.3.4",
23-
"nextra": "^4.2.17",
24-
"nextra-theme-docs": "^4.2.17",
25-
"react": "^19.0.0",
26-
"react-dom": "^19.0.0"
22+
"next": "^15.5.4",
23+
"nextra": "^4.6.0",
24+
"nextra-theme-docs": "^4.6.0",
25+
"react": "^19.2.0",
26+
"react-dom": "^19.2.0"
2727
},
2828
"devDependencies": {
2929
"@types/node": "22.13.10",
3030
"@types/react": "19.0.10",
31-
"pagefind": "^1.3.0",
32-
"typescript": "^5.7.3"
31+
"pagefind": "^1.4.0",
32+
"typescript": "^5.9.3"
3333
}
3434
}

0 commit comments

Comments
 (0)