aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src/components/base/navbar
diff options
context:
space:
mode:
authorLynithDev <61880709+LynithDev@users.noreply.github.com>2023-12-28 15:27:29 +0100
committerLynithDev <61880709+LynithDev@users.noreply.github.com>2023-12-28 15:27:29 +0100
commitbf5075ed85bafd9c0b2b5e0a05df68a78b7da04f (patch)
tree0ee133f8d98f40155dd5d6cc71f4a9920deab391 /apps/website/src/components/base/navbar
parent97cf84050204a670f53b88fbe273fe62e60f23e7 (diff)
downloadNexus-bf5075ed85bafd9c0b2b5e0a05df68a78b7da04f.tar.gz
Nexus-bf5075ed85bafd9c0b2b5e0a05df68a78b7da04f.tar.bz2
Nexus-bf5075ed85bafd9c0b2b5e0a05df68a78b7da04f.zip
Increase font size + scale
Diffstat (limited to 'apps/website/src/components/base/navbar')
-rw-r--r--apps/website/src/components/base/navbar/Navbar.astro2
-rw-r--r--apps/website/src/components/base/navbar/NavbarElement.astro2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/website/src/components/base/navbar/Navbar.astro b/apps/website/src/components/base/navbar/Navbar.astro
index 65b7473..aa31245 100644
--- a/apps/website/src/components/base/navbar/Navbar.astro
+++ b/apps/website/src/components/base/navbar/Navbar.astro
@@ -4,7 +4,7 @@ import config from 'config';
import NavbarElement from '../navbar/NavbarElement.astro';
---
-<div class="absolute w-full flex flex-row justify-center h-screen max-h-[110px] px-3 z-navbar">
+<div class="absolute w-full flex flex-row justify-center h-screen max-h-[110px] px-3 z-navbar text-[16px]">
<nav class="w-full max-w-[1080px] flex flex-col md:flex-row justify-between items-center">
<ul class="flex flex-row justify-start gap-4 max-sm:mt-4">
{(config as Config).navbar.left.map((element, index) => (
diff --git a/apps/website/src/components/base/navbar/NavbarElement.astro b/apps/website/src/components/base/navbar/NavbarElement.astro
index 9aec193..0fe544b 100644
--- a/apps/website/src/components/base/navbar/NavbarElement.astro
+++ b/apps/website/src/components/base/navbar/NavbarElement.astro
@@ -28,7 +28,7 @@ function isCurrentPage(url: string): boolean {
? (
<a href={element.path} class={`p-2 flex flex-row justify-center items-center hover:text-blue-500 ${isCurrentPage(element.path) ? 'text-blue-400' : 'text-gray-700'}`}>
{element.text && element.text}
- {element.logo && <Logo transition:persist class="active:scale-95 transition-transform" size={element.logo[1] < 0 ? undefined : element.logo[1]} logo={element.logo[0] as LogoType}/>}
+ {element.logo && <Logo class="active:scale-95 transition-transform" size={element.logo[1] < 0 ? undefined : element.logo[1]} logo={element.logo[0] as LogoType}/>}
{element.dropdown && <Icon icon="chevron-down"/>}
</a>
)