diff --git a/components/navigation/Header.js b/components/navigation/Header.js
new file mode 100644
index 0000000..8d70be0
--- /dev/null
+++ b/components/navigation/Header.js
@@ -0,0 +1,7 @@
+import navStyles from './navigation.module.css';
+
+const Header = ({ children }) => {
+ return ;
+};
+
+export default Header;
diff --git a/components/navigation/NavBar.js b/components/navigation/NavBar.js
new file mode 100644
index 0000000..9eca58a
--- /dev/null
+++ b/components/navigation/NavBar.js
@@ -0,0 +1,17 @@
+import navStyles from './navigation.module.css';
+
+const NavBar = () => {
+ return (
+ <>
+
+ >
+ );
+};
+
+export default NavBar;
diff --git a/components/navigation/navigation.module.css b/components/navigation/navigation.module.css
new file mode 100644
index 0000000..05c959f
--- /dev/null
+++ b/components/navigation/navigation.module.css
@@ -0,0 +1,17 @@
+.site__header {
+ padding: 20px 0;
+}
+
+.site__navbar {
+ display: flex;
+ justify-content: space-between;
+}
+
+.site__navbar ul {
+ display: flex;
+ list-style: none;
+}
+
+.site__navbar li:not(:last-child) {
+ padding-right: 10px;
+}
diff --git a/pages/index.js b/pages/index.js
index a18624f..28171e9 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -1,21 +1,24 @@
import Head from 'next/head';
-import styles from '../styles/Home.module.css';
import Image from 'next/image';
-
+import Header from '../components/navigation/Header';
+import NavBar from '../components/navigation/NavBar';
export default function Home() {
return (
-
+
Jesse Egbosionu
-
- Hi I'm Jesse
+
+
+ Hi I'm Jesse
I'm a software engineer from Lagos, Nigeria
diff --git a/styles/Home.module.css b/styles/Home.module.css
index b624b62..e0724dd 100644
--- a/styles/Home.module.css
+++ b/styles/Home.module.css
@@ -1,30 +1,3 @@
-.container {
- min-height: 100vh;
- padding: 0 0.5rem;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
-}
-
-.main {
- padding: 5rem 0;
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
-}
-
-.footer {
- width: 100%;
- height: 100px;
- border-top: 1px solid #eaeaea;
- display: flex;
- justify-content: center;
- align-items: center;
-}
-
.hero__img {
border-radius: 5%;
}
diff --git a/styles/globals.css b/styles/globals.css
index 48eb9d1..293eabc 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -1,17 +1,21 @@
@font-face {
font-family: 'inter';
src: url('/fonts/inter_font.ttf');
- /* src: url('ItalianNo1-Black.eot?#iefix') format('embedded-opentype'), url('ItalianNo1-Black.woff2') format('woff2'), url('ItalianNo1-Black.woff') format('woff'); */
font-weight: 300;
font-style: normal;
}
+* {
+ box-sizing: border-box;
+ padding: 0;
+ margin: 0;
+}
+
html,
body {
padding: 0;
margin: 0;
- font-family: inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell,
- Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
+ font-family: inter, sans-serif;
}
a {
@@ -19,6 +23,8 @@ a {
text-decoration: none;
}
-* {
- box-sizing: border-box;
+.container {
+ min-height: 100vh;
+ max-width: 960px;
+ margin: 0 auto;
}