first commit

This commit is contained in:
bjarncraft
2022-04-20 16:53:02 +02:00
commit 419667b336
20 changed files with 2554 additions and 0 deletions

7
.gitignore vendored Normal file
View File

@@ -0,0 +1,7 @@
node_modules
.next
.DS_Store
yarn-error.log
dist
examples
packages

2
.prettierignore Normal file
View File

@@ -0,0 +1,2 @@
.next
node_modules

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 Shu Ding
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

6
next.config.js Normal file
View File

@@ -0,0 +1,6 @@
const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.js',
unstable_staticImage: true,
})
module.exports = withNextra()

28
package.json Normal file
View File

@@ -0,0 +1,28 @@
{
"name": "nextra",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "next",
"start": "next start",
"build": "next build"
},
"author": "Shu Ding",
"license": "MIT",
"dependencies": {
"next": "^12.1.0",
"nextra": "^1.1.0",
"nextra-theme-docs": "^1.2.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"sharp": "^0.30.4"
},
"devDependencies": {
"prettier": "^2.0.5"
},
"prettier": {
"semi": false,
"singleQuote": true
}
}

5
pages/_app.js Normal file
View File

@@ -0,0 +1,5 @@
import 'nextra-theme-docs/style.css'
export default function Nextra({ Component, pageProps }) {
return <Component {...pageProps} />
}

7
pages/index.mdx Normal file
View File

@@ -0,0 +1,7 @@
# Search-Cord
**Search-Cord** is a free Service used to Archive Discord servers and make that data Publicly accessible.
You dont have to host anything. We do all the work for you!
[Get Started](/setup/get-started)

3
pages/meta.json Normal file
View File

@@ -0,0 +1,3 @@
{
"index": "Introduction"
}

View File

@@ -0,0 +1,4 @@
import Callout from 'nextra-theme-docs/callout'
## Step 1

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
public/apple-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
public/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
public/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
public/favicon-96x96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
public/ms-icon-144x144.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

22
readme.md Normal file
View File

@@ -0,0 +1,22 @@
# [Nextra](https://nextra.vercel.app)
_Warning: this project is not production ready, API might change without notice._
[![](https://vercel.com/button)](https://vercel.com/import/git?s=https%3A%2F%2Fgithub.com%2Fshuding%2Fnextra&c=1)
**Nextra** is a [Next.js](https://nextjs.org) and [MDX](https://mdxjs.com) powered, no-code site generator.
![](/public/demo.png)
## Development
The code of Nextra is under the [`core`](https://github.com/shuding/nextra/tree/core) branch.
## Themes
- [nextra-theme-docs](https://github.com/vercel/swr-site) ([demo](https://swr.vercel.app))
- [nextra-theme-blog](https://github.com/shuding/site) ([demo](https://shud.in))
---
Created by [@shuding](https://github.com/shuding) and [@pacocoursey](https://github.com/pacocoursey) at [Vercel](https://vercel.com). Released under the MIT license.

60
theme.config.js Normal file
View File

@@ -0,0 +1,60 @@
export default {
titleSuffix: ' Search-Cord',
logo: (
<>
<span className="mr-2 font-extrabold hidden md:inline">Search-Cord</span>
<span className="text-gray-600 font-normal hidden md:inline">
Search-Cord
</span>
</>
),
head: (
<>
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="theme-color" content="#ffffff" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta httpEquiv="Content-Language" content="en" />
<meta name="description" content="Search-Cord" />
<meta name="og:description" content="Search-Cord" />
<meta name="og:title" content="Search-Cord" />
<meta name="apple-mobile-web-app-title" content="Search-Cord" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-icon-180x180.png"
/>
<link
rel="icon"
type="image/png"
sizes="192x192"
href="/android-icon-192x192.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="96x96"
href="/favicon-96x96.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
/>
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png" />
</>
),
search: true,
prevLinks: true,
nextLinks: true,
footer: true,
footerEditLink: '',
footerText: <>© {new Date().getFullYear()}.</>,
unstable_faviconGlyph: '👋',
}

2389
yarn.lock Normal file

File diff suppressed because it is too large Load Diff