diff --git a/components/layout.js b/components/layout.js
index 2f75c6c..ed2a20d 100644
--- a/components/layout.js
+++ b/components/layout.js
@@ -1,8 +1,9 @@
-import navbar from "./navbar";
+import Navbar from "./navbar";
function Layout({ children }) {
return (
);
diff --git a/components/navbar.js b/components/navbar.js
index 0d10916..b36526e 100644
--- a/components/navbar.js
+++ b/components/navbar.js
@@ -1,5 +1,43 @@
+import Link from "next/link";
+import { useRouter } from "next/router";
+
function Navbar() {
- return ;
+ const router = useRouter();
+
+ return (
+
+
Teknoloji Rehberleri
+
+ -
+ Anasayfa
+
+ -
+ Site Hakkında
+
+ -
+ Yazı Gönder
+
+
+
+ );
}
export default Navbar;
diff --git a/styles/abstracts/_variables.scss b/styles/abstracts/_variables.scss
index 7789f2e..dfac8c1 100644
--- a/styles/abstracts/_variables.scss
+++ b/styles/abstracts/_variables.scss
@@ -1,5 +1,19 @@
// COLORS
+:root {
+ --color-background: #292929;
+
+ --color-primary: #fff;
+ --color-tertiary: #468eee;
+
+ --color-grey: #383838;
+ --color-grey-dark-1: #b2aba1;
+ --color-grey-dark-2: #fff;
+}
// FONT CONTROL
+$normal-font-size: 1.4rem;
+$default-font-size: 1.6rem;
+$medium-font-size: 3rem;
+$big-font-size: 5rem;
// OTHER
diff --git a/styles/base/_base.scss b/styles/base/_base.scss
index a680301..12f6fe9 100644
--- a/styles/base/_base.scss
+++ b/styles/base/_base.scss
@@ -8,11 +8,13 @@
html {
font-size: 62.5%; // 1 rem = 10px; 10px/16px = 62.5% (16 is default browser font size)
+ font-family: "NunitoSansRegular", sans-serif;
}
body {
box-sizing: border-box;
padding: 3rem;
+ background-color: var(--color-background);
}
/*
diff --git a/styles/base/_typography.scss b/styles/base/_typography.scss
index e69de29..99fc628 100644
--- a/styles/base/_typography.scss
+++ b/styles/base/_typography.scss
@@ -0,0 +1,30 @@
+p,
+li {
+ color: var(--color-primary);
+}
+
+h1 {
+ font-size: 2.7rem;
+ color: var(--color-primary);
+}
+
+a {
+ color: var(--color-grey-light-1);
+ text-decoration: none;
+ display: inline-block;
+
+ &::after {
+ content: "";
+ display: block;
+ width: 0;
+ height: 2px;
+ background: var(--color-tertiary);
+ transition: all 0.5s;
+ }
+ &:hover::after {
+ width: 100%;
+ }
+ &:hover {
+ color: var(--color-primary);
+ }
+}
diff --git a/styles/components/navbar.scss b/styles/components/navbar.scss
new file mode 100644
index 0000000..1c45c2c
--- /dev/null
+++ b/styles/components/navbar.scss
@@ -0,0 +1,37 @@
+.navbar {
+ display: flex;
+ justify-content: space-between;
+
+ &_list {
+ display: flex;
+ justify-content: flex-end;
+ margin-top: 0.5rem;
+
+ font-size: 2rem;
+ list-style-type: none;
+
+ li:not(:last-child) {
+ margin-right: 1rem;
+ }
+
+ &-item {
+ a:visited,
+ a:link {
+ text-decoration: none;
+ color: var(--color-primary);
+ }
+
+ &--active a {
+ color: var(--color-primary);
+ &:after {
+ content: "";
+ display: block;
+ margin: auto;
+ height: 2px;
+ width: 100%;
+ background-color: var(--color-tertiary);
+ }
+ }
+ }
+ }
+}
diff --git a/styles/globals.scss b/styles/globals.scss
index b2b731a..7d48069 100644
--- a/styles/globals.scss
+++ b/styles/globals.scss
@@ -7,3 +7,7 @@
@import "./base/typography";
@import "./base/base";
@import "./base/utilities";
+
+@import "./components/navbar";
+
+@import url("https://fontlibrary.org//face/nunito-sans");
diff --git a/styles/layout/_grid-float.scss b/styles/layout/_grid-float.scss
deleted file mode 100644
index 004ce8c..0000000
--- a/styles/layout/_grid-float.scss
+++ /dev/null
@@ -1,66 +0,0 @@
-.row {
- max-width: $grid-width;
- margin: 0 auto;
-
- &:not(:last-child) {
- margin-bottom: $gutter-vertical;
-
- @include respond(tab-port) {
- margin-bottom: $gutter-horizontal;
- }
- }
-
- @include respond(tab-port) {
- max-width: 50rem;
- padding: 0 3rem;
- }
-
- @include clearfix;
-
- [class^="col-"] {
- float: left;
-
- &:not(:last-child) {
- margin-right: $gutter-horizontal;
-
- @include respond(tab-port) {
- margin-right: 0;
- margin-bottom: $gutter-horizontal;
- }
- }
-
- @include respond(tab-port) {
- width: 100% !important;
- }
- }
-
- .col-1-of-2 {
- width: calc((100% - #{$gutter-horizontal}) / 2);
- }
-
- .col-1-of-3 {
- width: calc((100% - (2 * #{$gutter-horizontal})) / 3);
- }
-
- .col-1-of-4 {
- width: calc((100% - (3 * #{$gutter-horizontal})) / 4);
- }
-
- .col-2-of-3 {
- width: calc(
- 2 * ((100% - (2 * #{$gutter-horizontal})) / 3) + #{$gutter-horizontal}
- );
- }
-
- .col-2-of-4 {
- width: calc(
- 2 * ((100% - (3 * #{$gutter-horizontal})) / 4) + #{$gutter-horizontal}
- );
- }
-
- .col-3-of-4 {
- width: calc(
- 3 * ((100% - (3 * #{$gutter-horizontal})) / 4) + 2 * #{$gutter-horizontal}
- );
- }
-}