aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-10-14 17:49:47 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-10-14 17:49:47 -0400
commit58aac0ab59c032fb3b7f1fab2a2a20108a46f3fa (patch)
tree936d607b91c8ac53a7543a8c0290f4d930c3e9ab
parent6570bf5f1ad7fe9aebab08c78c4111717788948a (diff)
downloadpersonal-website-58aac0ab59c032fb3b7f1fab2a2a20108a46f3fa.tar.gz
personal-website-58aac0ab59c032fb3b7f1fab2a2a20108a46f3fa.tar.bz2
personal-website-58aac0ab59c032fb3b7f1fab2a2a20108a46f3fa.zip
Hover effects on platform bar, email link
-rw-r--r--components/header.js7
-rw-r--r--pages/index.js29
2 files changed, 20 insertions, 16 deletions
diff --git a/components/header.js b/components/header.js
index 0b12081..237f883 100644
--- a/components/header.js
+++ b/components/header.js
@@ -1,13 +1,10 @@
import Head from "next/head.js"
-const Header = () => {
+export default function Header() {
<Head>
<meta name="description" content="Andrew's personal website" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="icon" href="/favicon.ico" />
-
- <title></title>
+ <title>Andrew Lee</title>
</Head>
}
-
-export default Header
diff --git a/pages/index.js b/pages/index.js
index 9dc408c..3afe685 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -1,32 +1,39 @@
-import Head from 'next/head'
+import Header from '../components/header'
+import Link from 'next/link'
import Computer from '../components/computer'
import Image from "next/image";
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faYoutube, faTwitter, faDiscord, faGithub, faReddit, faInstagram } from '@fortawesome/free-brands-svg-icons'
const iconSize = "3x"
+const iconProperties = "hover:text-gray-500 transition-all"
export default function Home() {
return (
<>
- <Head>
- <title>Home - Andrew Lee</title>
<meta name="description" content="Andrew's personal website" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="icon" href="/favicon.ico" />
- </Head>
+ <title>Home - Andrew Lee</title>
<div className="text-center font-hack font-bold flex flex-col gap-4 items-center justify-center h-screen w-screen bg-material-gray text-white drop-shadow-lg">
<Image src="/Alee.svg" alt="Alee Logo" width={210} height={210} />
<h1 className="text-4xl drop-shadow-lg">Andrew Lee</h1>
<h2 className="text-xl drop-shadow-lg">Computer Geek, Programmer, Content Creator</h2>
<div className="flex-row space-x-12">
- <a href="https://github.com/Alee14"><FontAwesomeIcon icon={faGithub} size={iconSize} /></a>
- <a href="https://discord.gg/EFhRDqG"><FontAwesomeIcon icon={faDiscord} size={iconSize} /></a>
- <a href="https://www.youtube.com/c/AndrewLeeCAN"><FontAwesomeIcon icon={faYoutube} size={iconSize} /></a>
- <a href="https://twitter.com/Alee14498"><FontAwesomeIcon icon={faTwitter} size={iconSize} /></a>
- <a href="https://reddit.com/Alee1449"><FontAwesomeIcon icon={faReddit} size={iconSize} /></a>
- <a href="https://instagram.com/alee14498"><FontAwesomeIcon icon={faInstagram} size={iconSize} /></a>
+ <a href="https://github.com/Alee14"><FontAwesomeIcon icon={faGithub} size={iconSize} className={iconProperties} /></a>
+ <a href="https://discord.gg/EFhRDqG"><FontAwesomeIcon icon={faDiscord} size={iconSize} className={iconProperties} /></a>
+ <a href="https://www.youtube.com/c/AndrewLeeCAN"><FontAwesomeIcon icon={faYoutube} size={iconSize} className={iconProperties} /></a>
+ <a href="https://twitter.com/Alee14498"><FontAwesomeIcon icon={faTwitter} size={iconSize} className={iconProperties} /></a>
+ <a href="https://reddit.com/Alee1449"><FontAwesomeIcon icon={faReddit} size={iconSize} className={iconProperties} /></a>
+ <a href="https://instagram.com/alee14498"><FontAwesomeIcon icon={faInstagram} size={iconSize} className={iconProperties} /></a>
</div>
- <h2 className="text-lg font-normal drop-shadow-lg">Contact me at andrew@alee14.me</h2>
+ {/*<div className="flex-row font-normal space-x-12">
+ <Link href="#"><a>About Me</a></Link>
+ <Link href="#"><a>Projects</a></Link>
+ <Link href="#"><a>Blog</a></Link>
+ <Link href="#"><a>Downloads</a></Link>
+ <Link href="#"><a>Guidelines</a></Link>
+ </div>*/}
+ <h2 className="text-lg font-normal drop-shadow-lg">Contact me at <a href="mailto:andrew@alee14.me">andrew@alee14.me</a></h2>
</div>
</>
)