diff --git a/components/Header.tsx b/components/Header.tsx new file mode 100644 index 0000000..f60ba91 --- /dev/null +++ b/components/Header.tsx @@ -0,0 +1,23 @@ +import React from 'react'; +import styles from '../styles/Header.module.scss'; +import Image from 'next/image'; + +export const Header = () => { + return ( +
+ + Velkuantie 988, 21180 Livonsaari + + main + + Kauppa&Ravintola&Kahvila&Baari + +
+ ); +}; diff --git a/pages/_app.tsx b/pages/_app.tsx index c055f25..2e455e5 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,6 +1,6 @@ -import '../styles/globals.css' -import type { AppProps } from 'next/app' +import '../styles/globals.scss'; +import type { AppProps } from 'next/app'; export default function App({ Component, pageProps }: AppProps) { - return + return ; } diff --git a/pages/index.tsx b/pages/index.tsx index cdffa57..e1be587 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,71 +1,10 @@ -import Head from 'next/head' -import Image from 'next/image' -import styles from '../styles/Home.module.css' +import { Header } from '../components/Header'; +import styles from '../styles/Home.module.scss'; export default function Home() { return ( -
- - Create Next App - - - - -
-

- Welcome to Next.js! -

- -

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

- -
- -

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. -

-
-
-
- - +
+
- ) + ); } diff --git a/public/LO_logo-full_color.webp b/public/LO_logo-full_color.webp new file mode 100644 index 0000000..bc82bb0 Binary files /dev/null and b/public/LO_logo-full_color.webp differ diff --git a/public/Quicksand-VariableFont_wght.ttf b/public/Quicksand-VariableFont_wght.ttf new file mode 100644 index 0000000..0ec2219 Binary files /dev/null and b/public/Quicksand-VariableFont_wght.ttf differ diff --git a/styles/Header.module.scss b/styles/Header.module.scss new file mode 100644 index 0000000..6aaa3f1 --- /dev/null +++ b/styles/Header.module.scss @@ -0,0 +1,15 @@ +.mainContainer { + display: flex; + flex-direction: column; + align-items: center; +} + +.addressText { + font-weight: lighter; + margin-top: 1rem; + font-size: 1.1rem; +} + +.subTitleText { + font-size: 2rem; +}