mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 12:29:07 +00:00
37 lines
952 B
TypeScript
37 lines
952 B
TypeScript
import Head from "next/head";
|
|
import Link from "next/link";
|
|
import React from "react";
|
|
import styles from "../styles/Home.module.css";
|
|
import nextPackage from "next/package.json";
|
|
export async function getStaticProps(ctx) {
|
|
return {
|
|
props: {},
|
|
};
|
|
}
|
|
|
|
export default function Home({}) {
|
|
return (
|
|
<div className={styles.container}>
|
|
<Head>
|
|
<title>Next.js</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}>
|
|
Welcome to <a href="https://nextjs.org">Next.js!</a> v
|
|
{nextPackage.version}
|
|
</h1>
|
|
|
|
<p className={styles.description}>
|
|
Get started by editing{" "}
|
|
<code className={styles.code}>pages/index.tsx</code>
|
|
</p>
|
|
</main>
|
|
|
|
<footer className={styles.footer}></footer>
|
|
</div>
|
|
);
|
|
}
|