diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..ed00e79 --- /dev/null +++ b/next.config.js @@ -0,0 +1,5 @@ +module.exports = { + images: { + domains: ['res.cloudinary.com'], + }, +}; diff --git a/pages/index.js b/pages/index.js index 5787b11..a18624f 100644 --- a/pages/index.js +++ b/pages/index.js @@ -1,65 +1,24 @@ -import Head from 'next/head' -import styles from '../styles/Home.module.css' +import Head from 'next/head'; +import styles from '../styles/Home.module.css'; +import Image from 'next/image'; export default function Home() { return (
- Create Next App + Jesse Egbosionu -
-

- Welcome to Next.js! -

- -

- Get started by editing{' '} - pages/index.js -

- -
- -

Documentation →

-

Find in-depth information about Next.js features and API.

-
- - -

Learn →

-

Learn about Next.js in an interactive course with quizzes!

-
- - -

Examples →

-

Discover and deploy boilerplate example Next.js projects.

-
- - -

Deploy →

-

- Instantly deploy your Next.js site to a public URL with Vercel. -

-
-
+

Hi I'm Jesse

+ +

I'm a software engineer from Lagos, Nigeria

- -
- ) + ); } diff --git a/public/fonts/inter_font.ttf b/public/fonts/inter_font.ttf new file mode 100644 index 0000000..32a7999 Binary files /dev/null and b/public/fonts/inter_font.ttf differ diff --git a/public/hero-pic.jpg b/public/hero-pic.jpg new file mode 100644 index 0000000..f6290e0 Binary files /dev/null and b/public/hero-pic.jpg differ diff --git a/styles/Home.module.css b/styles/Home.module.css index 42e7e60..b624b62 100644 --- a/styles/Home.module.css +++ b/styles/Home.module.css @@ -25,98 +25,6 @@ align-items: center; } -.footer img { - margin-left: 0.5rem; -} - -.footer a { - display: flex; - justify-content: center; - align-items: center; -} - -.title a { - color: #0070f3; - text-decoration: none; -} - -.title a:hover, -.title a:focus, -.title a:active { - text-decoration: underline; -} - -.title { - margin: 0; - line-height: 1.15; - font-size: 4rem; -} - -.title, -.description { - text-align: center; -} - -.description { - line-height: 1.5; - font-size: 1.5rem; -} - -.code { - background: #fafafa; - border-radius: 5px; - padding: 0.75rem; - font-size: 1.1rem; - font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, - Bitstream Vera Sans Mono, Courier New, monospace; -} - -.grid { - display: flex; - align-items: center; - justify-content: center; - flex-wrap: wrap; - max-width: 800px; - margin-top: 3rem; -} - -.card { - margin: 1rem; - flex-basis: 45%; - padding: 1.5rem; - text-align: left; - color: inherit; - text-decoration: none; - border: 1px solid #eaeaea; - border-radius: 10px; - transition: color 0.15s ease, border-color 0.15s ease; -} - -.card:hover, -.card:focus, -.card:active { - color: #0070f3; - border-color: #0070f3; -} - -.card h3 { - margin: 0 0 1rem 0; - font-size: 1.5rem; -} - -.card p { - margin: 0; - font-size: 1.25rem; - line-height: 1.5; -} - -.logo { - height: 1em; -} - -@media (max-width: 600px) { - .grid { - width: 100%; - flex-direction: column; - } +.hero__img { + border-radius: 5%; } diff --git a/styles/globals.css b/styles/globals.css index e5e2dcc..48eb9d1 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -1,9 +1,17 @@ +@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; +} + html, body { padding: 0; margin: 0; - font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, - Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; + font-family: inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, + Fira Sans, Droid Sans, Helvetica Neue, sans-serif; } a {