Initial commit

Created from https://vercel.com/new
This commit is contained in:
2023-06-23 09:34:10 +00:00
commit e20bdb8eef
18 changed files with 2394 additions and 0 deletions

15
pages/_meta.json Normal file
View File

@@ -0,0 +1,15 @@
{
"index": "Introduction",
"another": "Another Page",
"advanced": "Advanced (A Folder)",
"about": {
"title": "About",
"type": "page"
},
"contact": {
"title": "Contact ↗",
"type": "page",
"href": "https://twitter.com/shuding_",
"newWindow": true
}
}

3
pages/about.mdx Normal file
View File

@@ -0,0 +1,3 @@
# About
This is the about page! This page is shown on the navbar.

3
pages/advanced.mdx Normal file
View File

@@ -0,0 +1,3 @@
# Advanced
This is the index page for the Advanced folder!

View File

@@ -0,0 +1,3 @@
# Satori
Satori (悟り) is a Japanese Buddhist term for awakening, "comprehension; understanding".

31
pages/another.mdx Normal file
View File

@@ -0,0 +1,31 @@
# Another Page
```js filename="demo.js" {3} copy
let a = 1;
console.log(a);
```
## Component
import { useState } from 'react'
{/* Import CSS modules */}
import styles from '../components/counters.module.css'
export const Counter = () => {
const [count, setCount] = useState(0);
return (
<div>
<button onClick={() => setCount(count + 1)} className={styles.counter}>Clicked {count} times</button>
</div>
);
};
<Counter/>
## External Component
import Counters from '../components/counters'
<Counters />

11
pages/index.mdx Normal file
View File

@@ -0,0 +1,11 @@
# Introduction
Welcome to Nextra! This is a basic docs template. You can use it as a starting point for your own project :)
## What is Nextra?
A **simple**, **powerful** and **flexible** site generation framework with everything you love from Next.js.
## Documentation
The documentation is available at [https://nextra.site](https://nextra.site).