diff --git a/public/nav-bg.png b/public/nav-bg.png new file mode 100644 index 0000000..00c6d0b Binary files /dev/null and b/public/nav-bg.png differ diff --git a/src/App.vue b/src/App.vue index e734da4..c3c7e52 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,8 +1,31 @@ + + + + diff --git a/src/assets/scss/_fonts.scss b/src/assets/scss/_fonts.scss new file mode 100644 index 0000000..2e45106 --- /dev/null +++ b/src/assets/scss/_fonts.scss @@ -0,0 +1 @@ +@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:wght@400;600;700;800;900&display=swap'); \ No newline at end of file diff --git a/src/assets/scss/_global.scss b/src/assets/scss/_global.scss new file mode 100644 index 0000000..d317070 --- /dev/null +++ b/src/assets/scss/_global.scss @@ -0,0 +1,40 @@ +@import 'libs/normalize'; + +@import 'fonts'; +@import 'variables'; + +body { + font-family: $body-font-family; + font-size: $font-size-base; + line-height: 1.2; + color: $white; + background: $black; +} + +h1, h2, h3, h4, h5, h6 { + font-family: $heading-font-family; + font-weight: $fw-regular; +} +h1 { font-size: 30px; } +h2 { font-size: 25px; } +h3 { font-size: 22px; } +h4 { font-size: 18px; } + +ul { + &.no-style { + margin: 0; + padding-left: 0; + list-style-type: none; + } +} + +a { + &.no-style { + color: inherit; + text-decoration: none; + } +} + +hr { + border-color: rgba($white, .2); +} \ No newline at end of file diff --git a/src/assets/scss/_variables.scss b/src/assets/scss/_variables.scss new file mode 100644 index 0000000..6aa646c --- /dev/null +++ b/src/assets/scss/_variables.scss @@ -0,0 +1,16 @@ + +$white: #fff; +$black: #000; +$fs-black: #070712; + +$heading-font-family: 'Poppins', serif; +$body-font-family: 'Open Sans', sans-serif; + +$font-size-base: 14px; + +$fw-light: 300; +$fw-regular: 400; +$fw-semibold: 600; +$fw-bold: 700; +$fw-extra-bold: 800; +$fw-black: 900; diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue new file mode 100644 index 0000000..f1ab34e --- /dev/null +++ b/src/components/Navbar.vue @@ -0,0 +1,98 @@ + + + + + diff --git a/src/main.ts b/src/main.ts index 7f4f960..04ba1a5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,7 +3,8 @@ import App from "./App.vue"; import router from "./router"; import store from "./store"; -import "./assets/scss/libs/_normalize.scss"; +import "@/assets/scss/libs/_normalize.scss"; +import "@/assets/scss/_global.scss"; createApp(App) .use(store) diff --git a/src/views/About.vue b/src/views/About.vue index 8f24df0..6900ede 100644 --- a/src/views/About.vue +++ b/src/views/About.vue @@ -1,6 +1,6 @@ diff --git a/src/views/Home.vue b/src/views/Home.vue index 56bd5ed..9b63fb0 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,6 +1,6 @@ diff --git a/src/views/Profile.vue b/src/views/Profile.vue index e947cad..d61f568 100644 --- a/src/views/Profile.vue +++ b/src/views/Profile.vue @@ -1,7 +1,7 @@