diff --git a/pages/_app.tsx b/pages/_app.tsx index 3f5c9d54..aa926c41 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,8 +1,19 @@ -import '../styles/globals.css' -import type { AppProps } from 'next/app' +import type { AppProps } from "next/app"; +import Head from "next/head"; + +import "../styles/globals.css"; function MyApp({ Component, pageProps }: AppProps) { - return + return ( + <> + + Mars V2 + {/* */} + + + + + ); } -export default MyApp +export default MyApp; diff --git a/pages/api/hello.ts b/pages/api/hello.ts deleted file mode 100644 index f8bcc7e5..00000000 --- a/pages/api/hello.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction -import type { NextApiRequest, NextApiResponse } from 'next' - -type Data = { - name: string -} - -export default function handler( - req: NextApiRequest, - res: NextApiResponse -) { - res.status(200).json({ name: 'John Doe' }) -} diff --git a/pages/index.tsx b/pages/index.tsx index 86b5b3b5..a921d15a 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,24 +1,18 @@ -import type { NextPage } from 'next' -import Head from 'next/head' -import Image from 'next/image' -import styles from '../styles/Home.module.css' +import type { NextPage } from "next"; +import Head from "next/head"; +import Image from "next/image"; +import styles from "../styles/Home.module.css"; const Home: NextPage = () => { return (
- - Create Next App - - - -

Welcome to Next.js!

- Get started by editing{' '} + Get started by editing{" "} pages/index.tsx

@@ -59,14 +53,14 @@ const Home: NextPage = () => { target="_blank" rel="noopener noreferrer" > - Powered by{' '} + Powered by{" "} Vercel Logo
- ) -} + ); +}; -export default Home +export default Home;