This commit is contained in:
2022-03-29 15:42:13 +08:00
commit 19668f58a2
15 changed files with 6783 additions and 0 deletions

7
pages/_app.js Normal file
View File

@@ -0,0 +1,7 @@
import '../styles/globals.css'
function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}
export default MyApp

5
pages/api/hello.js Normal file
View 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' })
}

45
pages/index.js Normal file
View File

@@ -0,0 +1,45 @@
import Head from "next/head";
import Image from "next/image";
import Link from "next/link";
import styles from "../styles/Home.module.css";
import imageNewFolder from "../public/images/new_folder.webp";
import imageGuGuGu from "../public/images/gugugu.webp";
export default function Home() {
return (
<div className={styles.container}>
<Head>
<title>网站建设中</title>
<meta name="description" content="Generated by create next app" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main className={styles.main}>
<h1 className={styles.title}>网站建设中</h1>
<p className={styles.description}>即将上线...</p>
<div className={styles.grid}>
<div className={styles.card}>
<h2>在做了在做了</h2>
<Image src={imageNewFolder} />
</div>
<div className={styles.card}>
<h2>别催了别催了</h2>
<Image src={imageGuGuGu} />
</div>
</div>
</main>
<footer className={styles.footer}>
<Link
href="https://beian.miit.gov.cn/"
target="_blank"
rel="noopener noreferrer"
>
粤ICP备2022033906号-1
</Link>
</footer>
</div>
);
}