initial commit
This commit is contained in:
7
pages/[username]/[slug].js
Normal file
7
pages/[username]/[slug].js
Normal file
@@ -0,0 +1,7 @@
|
||||
export default function PostPage({ }) {
|
||||
return (
|
||||
<main>
|
||||
|
||||
</main>
|
||||
)
|
||||
}
|
||||
7
pages/[username]/index.js
Normal file
7
pages/[username]/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export default function Page({ }) {
|
||||
return (
|
||||
<main>
|
||||
|
||||
</main>
|
||||
)
|
||||
}
|
||||
8
pages/_app.js
Normal file
8
pages/_app.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import '../styles/globals.css'
|
||||
|
||||
|
||||
function MyApp({ Component, pageProps }) {
|
||||
return <Component {...pageProps} />
|
||||
}
|
||||
|
||||
export default MyApp
|
||||
7
pages/admin/[slug].js
Normal file
7
pages/admin/[slug].js
Normal file
@@ -0,0 +1,7 @@
|
||||
export default function AdminPostEdit({ }) {
|
||||
return (
|
||||
<main>
|
||||
<h1>Edit Post</h1>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
7
pages/admin/index.js
Normal file
7
pages/admin/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export default function AdminPostsPage({ }){
|
||||
return (
|
||||
<main>
|
||||
|
||||
</main>
|
||||
)
|
||||
}
|
||||
5
pages/api/hello.js
Normal file
5
pages/api/hello.js
Normal file
@@ -0,0 +1,5 @@
|
||||
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
|
||||
|
||||
export default function handler(req, res) {
|
||||
res.status(200).json({ name: 'John Doe' })
|
||||
}
|
||||
7
pages/enter.js
Normal file
7
pages/enter.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export default function EnterPage({ }) {
|
||||
return (
|
||||
<main>
|
||||
<h1>Sign Up</h1>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
11
pages/index.js
Normal file
11
pages/index.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import Head from 'next/head'
|
||||
import Image from 'next/image'
|
||||
import styles from '../styles/Home.module.css'
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div>
|
||||
<h1>Hello world!</h1>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user