From 9ecab8e118d4d458841a32b64dbb392265b57394 Mon Sep 17 00:00:00 2001 From: Cannon Lock Date: Wed, 18 Oct 2023 11:53:23 -0500 Subject: [PATCH] Auto update submodules --- .github/workflows/nextjs.yml | 1 - pages/_meta.json | 15 --------------- pages/about.mdx | 3 --- pages/advanced.mdx | 3 --- pages/advanced/satori.mdx | 3 --- pages/another.mdx | 31 ------------------------------- pages/index.mdx | 11 ----------- 7 files changed, 67 deletions(-) delete mode 100644 pages/_meta.json delete mode 100644 pages/about.mdx delete mode 100644 pages/advanced.mdx delete mode 100644 pages/advanced/satori.mdx delete mode 100644 pages/another.mdx delete mode 100644 pages/index.mdx diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index ffed519..9ebcf1c 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -30,7 +30,6 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Detect package manager - working-directory: ./src id: detect-package-manager run: | if [ -f "./yarn.lock" ]; then diff --git a/pages/_meta.json b/pages/_meta.json deleted file mode 100644 index 164927d..0000000 --- a/pages/_meta.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "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 - } -} diff --git a/pages/about.mdx b/pages/about.mdx deleted file mode 100644 index ec6faed..0000000 --- a/pages/about.mdx +++ /dev/null @@ -1,3 +0,0 @@ -# About - -This is the about page! This page is shown on the navbar. diff --git a/pages/advanced.mdx b/pages/advanced.mdx deleted file mode 100644 index a1a5148..0000000 --- a/pages/advanced.mdx +++ /dev/null @@ -1,3 +0,0 @@ -# Advanced - -This is the index page for the Advanced folder! diff --git a/pages/advanced/satori.mdx b/pages/advanced/satori.mdx deleted file mode 100644 index 46eb19f..0000000 --- a/pages/advanced/satori.mdx +++ /dev/null @@ -1,3 +0,0 @@ -# Satori - -Satori (悟り) is a Japanese Buddhist term for awakening, "comprehension; understanding". diff --git a/pages/another.mdx b/pages/another.mdx deleted file mode 100644 index 7fb6a02..0000000 --- a/pages/another.mdx +++ /dev/null @@ -1,31 +0,0 @@ -# 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 ( -
- -
- ); -}; - - - -## External Component - -import Counters from '../components/counters' - - diff --git a/pages/index.mdx b/pages/index.mdx deleted file mode 100644 index 058465c..0000000 --- a/pages/index.mdx +++ /dev/null @@ -1,11 +0,0 @@ -# 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).