aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-02-10 15:22:16 +0000
committerAndrew Lee <alee14498@protonmail.com>2021-02-10 15:22:16 +0000
commit681d96bf3da378a57ecb1fc3d8f00f13a1dd65e4 (patch)
tree8765b8424b3c76efdcd23f3d7fbd71d438b566f8 /pages
parent1a798bdb4003920cd51134a55a6db8fa640fce29 (diff)
downloadlawrence-hill-681d96bf3da378a57ecb1fc3d8f00f13a1dd65e4.tar.gz
lawrence-hill-681d96bf3da378a57ecb1fc3d8f00f13a1dd65e4.tar.bz2
lawrence-hill-681d96bf3da378a57ecb1fc3d8f00f13a1dd65e4.zip
Added material-ui, changes on main page
Diffstat (limited to 'pages')
-rw-r--r--pages/api/hello.js5
-rw-r--r--pages/index.js72
2 files changed, 19 insertions, 58 deletions
diff --git a/pages/api/hello.js b/pages/api/hello.js
deleted file mode 100644
index 9987aff..0000000
--- a/pages/api/hello.js
+++ /dev/null
@@ -1,5 +0,0 @@
-// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
-
-export default (req, res) => {
- res.status(200).json({ name: 'John Doe' })
-}
diff --git a/pages/index.js b/pages/index.js
index 5787b11..02a173d 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -1,65 +1,31 @@
import Head from 'next/head'
import styles from '../styles/Home.module.css'
+import Button from '@material-ui/core/Button';
export default function Home() {
return (
<div className={styles.container}>
<Head>
- <title>Create Next App</title>
+ <title>Lawrence Hill Project</title>
<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>
- </h1>
-
- <p className={styles.description}>
- Get started by editing{' '}
- <code className={styles.code}>pages/index.js</code>
- </p>
-
- <div className={styles.grid}>
- <a href="https://nextjs.org/docs" className={styles.card}>
- <h3>Documentation &rarr;</h3>
- <p>Find in-depth information about Next.js features and API.</p>
- </a>
-
- <a href="https://nextjs.org/learn" className={styles.card}>
- <h3>Learn &rarr;</h3>
- <p>Learn about Next.js in an interactive course with quizzes!</p>
- </a>
-
- <a
- href="https://github.com/vercel/next.js/tree/master/examples"
- className={styles.card}
- >
- <h3>Examples &rarr;</h3>
- <p>Discover and deploy boilerplate example Next.js projects.</p>
- </a>
-
- <a
- href="https://vercel.com/new?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
- className={styles.card}
- >
- <h3>Deploy &rarr;</h3>
- <p>
- Instantly deploy your Next.js site to a public URL with Vercel.
- </p>
- </a>
- </div>
- </main>
-
- <footer className={styles.footer}>
- <a
- href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
- target="_blank"
- rel="noopener noreferrer"
- >
- Powered by{' '}
- <img src="/vercel.svg" alt="Vercel Logo" className={styles.logo} />
- </a>
- </footer>
+ <main className={styles.main}>
+ <h1>Welcome to Andrew's Lawrence Hill Project!</h1>
+ <img src="https://www.uoguelph.ca/arts/sites/default/files/styles/large/public/Lawrence-Hill-380.jpg?itok=JdSI90NJ" height="30%" width="30%"/>
+ <br/>
+ <Button variant="contained" color="primary">Hello world</Button>
+ </main>
+
+ <footer className={styles.footer}>
+ <a
+ href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ Powered by{' '}
+ Next.JS, Netlify & alee14.me
+ </a>
+ </footer>
</div>
)
}