From 1e6b3d2c0bf2f9961bd0ca0fb34d7c8f39eec644 Mon Sep 17 00:00:00 2001 From: freakoverse Date: Mon, 26 Aug 2024 07:51:18 +0000 Subject: [PATCH 01/12] slightly adjusted structure of nav with new links --- src/layout/header.tsx | 78 ++++++++++++++++++++++++++++++------------- 1 file changed, 54 insertions(+), 24 deletions(-) diff --git a/src/layout/header.tsx b/src/layout/header.tsx index 690cc84..f016e23 100644 --- a/src/layout/header.tsx +++ b/src/layout/header.tsx @@ -173,30 +173,60 @@ export const Header = () => {
- - Games - - - Mods - - - About - - - Blog - + +
+ + Games + + + Mods + + + About + + + Blog + +
+
From 9a1cc3902744418e273409ba5ea9a5fd0a42a338 Mon Sep 17 00:00:00 2001 From: freakoverse Date: Mon, 26 Aug 2024 07:55:53 +0000 Subject: [PATCH 02/12] Update src/styles/nav.module.scss --- src/styles/nav.module.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/styles/nav.module.scss b/src/styles/nav.module.scss index 7ef7c01..c73db1d 100644 --- a/src/styles/nav.module.scss +++ b/src/styles/nav.module.scss @@ -246,8 +246,8 @@ .NavMainBottomInside { width: 100%; - display: flex; - flex-direction: row; + display: grid; + grid-template-columns: 1fr 1fr 1fr; grid-gap: 10px; justify-content: center; align-items: center; @@ -272,5 +272,10 @@ color: rgba(255, 255, 255, 0.65); } } + + @media (max-width: 768px) { + display: flex; + justify-content: start; + } } } From 8bd43735463ef7aad701ae4c99e6dc3c3e60f116 Mon Sep 17 00:00:00 2001 From: freakoverse Date: Mon, 26 Aug 2024 08:06:25 +0000 Subject: [PATCH 03/12] Update src/styles/nav.module.scss --- src/styles/nav.module.scss | 77 +++++++++++++++++++++++++++++++------- 1 file changed, 63 insertions(+), 14 deletions(-) diff --git a/src/styles/nav.module.scss b/src/styles/nav.module.scss index c73db1d..43834f5 100644 --- a/src/styles/nav.module.scss +++ b/src/styles/nav.module.scss @@ -255,27 +255,76 @@ white-space: nowrap; overflow-x: auto; - .NavMainBottomInsideLink { - transition: ease 0.4s; - text-decoration: unset; - color: rgba(255, 255, 255, 0.5); - font-weight: bold; - padding: 5px 15px; - - &:hover { + .NavMainBottomInsideLinks { + display: flex; + flex-direction: row; + grid-gap: 10px; + justify-content: center; + align-items: center; + + .NavMainBottomInsideLink { transition: ease 0.4s; - color: rgba(255, 255, 255, 0.85); text-decoration: unset; + color: rgba(255, 255, 255, 0.5); + font-weight: bold; + padding: 5px 15px; + + &:hover { + transition: ease 0.4s; + color: rgba(255, 255, 255, 0.85); + text-decoration: unset; + } + + &.NMBILActive { + color: rgba(255, 255, 255, 0.65); + } } - &.NMBILActive { - color: rgba(255, 255, 255, 0.65); - } + @media (max-width: 768px) { + display: flex; + justify-content: start; + } } - @media (max-width: 768px) { + .NavMainBottomInsideOther { + display: flex; + lex-direction: row; + grid-gap: 10px; + height: 100%; + justify-content: end; + + .NavMainBottomInsideOtherLink { + transition: ease 0.4s; + width: 35px; display: flex; - justify-content: start; + flex-direction: column; + justify-content: center; + align-items: center; + height: 35px; + color: white; + opacity: 0.65; + border-radius: 5px; + background: rgba(255,255,255,0); + + &:hover { + transition: ease 0.4s; + color: white; + opacity: 0.85; + background: rgba(255,255,255,0.1); } + } + + .NavMainBottomInsideOtherLeft { + + @media (max-width: 768px) { + display: none; + } + + } + + .NavMainBottomInsideOtherRight { + + } + } } } From 7743f30faaf6036b6ed69427d59e57b533178639 Mon Sep 17 00:00:00 2001 From: freakoverse Date: Mon, 26 Aug 2024 08:14:44 +0000 Subject: [PATCH 04/12] Update src/styles/nav.module.scss --- src/styles/nav.module.scss | 68 +++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 38 deletions(-) diff --git a/src/styles/nav.module.scss b/src/styles/nav.module.scss index 43834f5..7a544da 100644 --- a/src/styles/nav.module.scss +++ b/src/styles/nav.module.scss @@ -245,47 +245,40 @@ } .NavMainBottomInside { - width: 100%; - display: grid; - grid-template-columns: 1fr 1fr 1fr; - grid-gap: 10px; - justify-content: center; - align-items: center; - padding: 10px; - white-space: nowrap; - overflow-x: auto; + width: 100%; + display: grid; + grid-template-columns: 1fr 1fr 1fr; + grid-gap: 10px; + justify-content: center; + align-items: center; + padding: 10px; + white-space: nowrap; + overflow-x: auto; - .NavMainBottomInsideLinks { - display: flex; - flex-direction: row; - grid-gap: 10px; - justify-content: center; - align-items: center; - - .NavMainBottomInsideLink { - transition: ease 0.4s; - text-decoration: unset; - color: rgba(255, 255, 255, 0.5); - font-weight: bold; - padding: 5px 15px; + .NavMainBottomInsideLink { + transition: ease 0.4s; + text-decoration: unset; + color: rgba(255, 255, 255, 0.5); + font-weight: bold; + padding: 5px 15px; - &:hover { - transition: ease 0.4s; - color: rgba(255, 255, 255, 0.85); - text-decoration: unset; - } - - &.NMBILActive { - color: rgba(255, 255, 255, 0.65); - } - } - - @media (max-width: 768px) { - display: flex; - justify-content: start; - } + &:hover { + transition: ease 0.4s; + color: rgba(255, 255, 255, 0.85); + text-decoration: unset; } + &.NMBILActive { + color: rgba(255, 255, 255, 0.65); + } + } + + @media (max-width: 768px) { + display: flex; + justify-content: start; + } +} + .NavMainBottomInsideOther { display: flex; lex-direction: row; @@ -325,6 +318,5 @@ .NavMainBottomInsideOtherRight { } - } } } From d18528bcf6949b66c7b0d9a59adf0c46ce2ee4fb Mon Sep 17 00:00:00 2001 From: freakoverse Date: Mon, 26 Aug 2024 08:20:45 +0000 Subject: [PATCH 05/12] Update src/layout/header.tsx --- src/layout/header.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/layout/header.tsx b/src/layout/header.tsx index f016e23..bd98064 100644 --- a/src/layout/header.tsx +++ b/src/layout/header.tsx @@ -173,8 +173,8 @@ export const Header = () => {
- -
+
+
{ Blog
-