Skip to content

Commit f0bbe85

Browse files
committed
chore: add website
1 parent 6d8e468 commit f0bbe85

17 files changed

+2066
-93
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ yarn-error.log*
3131

3232
# turbo
3333
.turbo
34-
dist
34+
dist
35+
.nuxt

netlify.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ NODE_VERSION = "20"
99
from = "/*"
1010
to = "/index.html"
1111
status = 200
12+
13+
[context.deploy-preview]
14+
ignore = "exit 0"

pnpm-lock.yaml

Lines changed: 1665 additions & 92 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ packages:
22
- 'apps/*'
33
- 'packages/*'
44
- 'scripts/*'
5+
- website

website/.tw-patch/tw-class-list.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

website/next-env.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
4+
// NOTE: This file should not be edited
5+
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.

website/next.config.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import nextra from 'nextra'
2+
3+
const withNextra = nextra({
4+
theme: 'nextra-theme-docs',
5+
themeConfig: './theme.config.tsx',
6+
})
7+
8+
export default withNextra({
9+
sassOptions: {
10+
silenceDeprecations: ['legacy-js-api'],
11+
},
12+
})

website/package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "website",
3+
"type": "module",
4+
"version": "1.0.0",
5+
"private": true,
6+
"description": "",
7+
"author": "",
8+
"license": "ISC",
9+
"keywords": [],
10+
"scripts": {
11+
"dev": "next",
12+
"build": "next build",
13+
"start": "next start",
14+
"tw-extract": "tw-patch extract"
15+
},
16+
"dependencies": {
17+
"next": "15.0.1",
18+
"nextra": "^3.1.1",
19+
"nextra-theme-docs": "^3.1.1",
20+
"react": "^18.3.1",
21+
"react-dom": "^18.3.1"
22+
}
23+
}

website/pages/_app.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import './globals.scss'
2+
3+
export default function App({ Component, pageProps }) {
4+
return <Component {...pageProps} />
5+
}

website/pages/_meta.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export default {
2+
index: 'Homepage',
3+
patch: '1.Patch',
4+
mangle: '2.Mangle',
5+
}

0 commit comments

Comments
 (0)