mirror of
https://github.com/MinazukiAmane/MiYoVerse.git
synced 2025-03-15 05:15:53 +08:00
Initial commit
This commit is contained in:
commit
176ede260a
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
BIN
.github/screenshot.png
vendored
Normal file
BIN
.github/screenshot.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 868 KiB |
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
.next
|
||||
node_modules
|
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024 Kiera Affarantia
|
||||
|
||||
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.
|
23
README.md
Normal file
23
README.md
Normal file
@ -0,0 +1,23 @@
|
||||
# Nextra Docs Template
|
||||
|
||||
This is a template for creating documentation with [Nextra](https://nextra.site).
|
||||
|
||||
[**Live Demo →**](https://nextra-docs-template.vercel.app)
|
||||
|
||||
[](https://nextra-docs-template.vercel.app)
|
||||
|
||||
## Quick Start
|
||||
|
||||
Click the button to clone this repository and deploy it on Vercel:
|
||||
|
||||
[](https://vercel.com/new/clone?s=https%3A%2F%2Fgithub.com%2Fshuding%2Fnextra-docs-template&showOptionalTeamCreation=false)
|
||||
|
||||
## Local Development
|
||||
|
||||
First, run `pnpm i` to install the dependencies.
|
||||
|
||||
Then, run `pnpm dev` to start the development server and visit localhost:3000.
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the MIT License.
|
6
components/counters.module.css
Normal file
6
components/counters.module.css
Normal file
@ -0,0 +1,6 @@
|
||||
.counter {
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
padding: 2px 6px;
|
||||
margin: 12px 0 0;
|
||||
}
|
24
components/counters.tsx
Normal file
24
components/counters.tsx
Normal file
@ -0,0 +1,24 @@
|
||||
// Example from https://beta.reactjs.org/learn
|
||||
|
||||
import { useState } from 'react'
|
||||
import styles from './counters.module.css'
|
||||
|
||||
function MyButton() {
|
||||
const [count, setCount] = useState(0)
|
||||
|
||||
function handleClick() {
|
||||
setCount(count + 1)
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<button onClick={handleClick} className={styles.counter}>
|
||||
Clicked {count} times
|
||||
</button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default function MyApp() {
|
||||
return <MyButton />
|
||||
}
|
5
next-env.d.ts
vendored
Normal file
5
next-env.d.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
6
next.config.js
Normal file
6
next.config.js
Normal file
@ -0,0 +1,6 @@
|
||||
const withNextra = require('nextra')({
|
||||
theme: 'nextra-theme-docs',
|
||||
themeConfig: './theme.config.tsx',
|
||||
})
|
||||
|
||||
module.exports = withNextra()
|
5102
package-lock.json
generated
Normal file
5102
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
31
package.json
Normal file
31
package.json
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
"name": "MiYoVerse",
|
||||
"version": "0.0.1",
|
||||
"description": "just bunch of nonsense stuff",
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3011",
|
||||
"build": "next build",
|
||||
"start": "next start -p 3011"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://git.serenetia.com/AmaneSerenetia/MiYoVerse.git"
|
||||
},
|
||||
"author": "MiYoVerse",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://git.serenetia.com/AmaneSerenetia/MiYoVerse/issues"
|
||||
},
|
||||
"homepage": "https://git.serenetia.com/AmaneSerenetia/MiYoVerse#readme",
|
||||
"dependencies": {
|
||||
"next": "^13.0.6",
|
||||
"nextra": "latest",
|
||||
"nextra-theme-docs": "latest",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "18.11.10",
|
||||
"typescript": "^4.9.3"
|
||||
}
|
||||
}
|
19
pages/_meta.json
Normal file
19
pages/_meta.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"index": "Introduction",
|
||||
"list": "Game Information",
|
||||
"soon": "No Idea for now",
|
||||
"license": {
|
||||
"title": "License 📜",
|
||||
"type": "page",
|
||||
"href": "https://git.serenetia.com/AmaneSerenetia/MiYoVerse",
|
||||
"newWindow": true
|
||||
},
|
||||
"contact": {
|
||||
"title": "Contact ✉️",
|
||||
"type": "page",
|
||||
"href": "mailto:miyoverse@serenetia.com",
|
||||
"newWindow": true
|
||||
},
|
||||
|
||||
"faq": "FAQ"
|
||||
}
|
12
pages/index.mdx
Normal file
12
pages/index.mdx
Normal file
@ -0,0 +1,12 @@
|
||||
# Introduction
|
||||
|
||||
Welcome to MiYoVerse - a place where you can search information for certain anime game from certain anime game company.
|
||||
|
||||
## About
|
||||
### What is MiYoVerse?
|
||||
|
||||
MiYoVerse is a place where you can search about certain anime game from certain anime game company, this page is run by communities that you can also participate to add more information to this website by editing or adding new info to this [repository](https://git.serenetia.com/AmaneSerenetia/MiYoVerse)
|
||||
|
||||
### What is MiYoVerse for?
|
||||
|
||||
The purposes of MiYoVerse is to let other known about information certain anime game from certain anime game company
|
31
pages/list.mdx
Normal file
31
pages/list.mdx
Normal 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 />
|
3
pages/soon.mdx
Normal file
3
pages/soon.mdx
Normal file
@ -0,0 +1,3 @@
|
||||
# Advanced
|
||||
|
||||
This is the index page for the Advanced folder!
|
2181
pnpm-lock.yaml
generated
Normal file
2181
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
32
theme.config.tsx
Normal file
32
theme.config.tsx
Normal file
@ -0,0 +1,32 @@
|
||||
import React from 'react'
|
||||
import { DocsThemeConfig, useTheme } from 'nextra-theme-docs'
|
||||
const config: DocsThemeConfig = {
|
||||
gitTimestamp: false,
|
||||
useNextSeoProps: () => {
|
||||
return { titleTemplate: `%s - MiYoVerse` };
|
||||
},
|
||||
|
||||
logo: <span>MiYoVerse</span>,
|
||||
project: {
|
||||
link: 'https://git.serenetia.com/AmaneSerenetia/MiYoVerse',
|
||||
},
|
||||
docsRepositoryBase: 'https://git.serenetia.com/AmaneSerenetia/MiYoVerse',
|
||||
|
||||
footer: {
|
||||
text: 'Copyright (c) MiYoVerse | 2024-present',
|
||||
},
|
||||
//primaryhUe: 100,
|
||||
head: function useHead() {
|
||||
const description =
|
||||
"for searching information about certain anime game";
|
||||
return (
|
||||
<>
|
||||
<meta httpEquiv='Content-Language' content='en' />
|
||||
<meta name='description' content='{description}' />
|
||||
<meta name='og:description' content='[description}' />
|
||||
</>
|
||||
);
|
||||
},
|
||||
}
|
||||
|
||||
export default config
|
20
tsconfig.json
Normal file
20
tsconfig.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": false,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noEmit": true,
|
||||
"incremental": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve"
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user