From 5704d4a00b65408d2b19960ae0aed687ce5758a3 Mon Sep 17 00:00:00 2001 From: HJfod <60038575+HJfod@users.noreply.github.com> Date: Tue, 5 Mar 2024 00:45:55 +0200 Subject: [PATCH] fix minor issues --- src/components/Navbar.astro | 3 ++- src/pages/install.astro | 16 +++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 6177341..5d6985b 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -11,6 +11,7 @@ const urlBase = import.meta.env.BASE_URL.endsWith('/') ? import.meta.env.BASE_UR <nav class=" fixed + main-navbar flex flex-col justify-stretch items-stretch w-full @@ -61,7 +62,7 @@ const urlBase = import.meta.env.BASE_URL.endsWith('/') ? import.meta.env.BASE_UR btn.addEventListener('click', e => { if (window.matchMedia("(max-width: 640px)").matches) { e.preventDefault(); - document.querySelector('nav')?.classList.toggle('open'); + document.querySelector('.main-navbar')?.classList.toggle('open'); } }); }); diff --git a/src/pages/install.astro b/src/pages/install.astro index cd84fb2..b5b1e4d 100644 --- a/src/pages/install.astro +++ b/src/pages/install.astro @@ -3,7 +3,7 @@ import Page from '../layouts/Default.astro'; import Donate from '../components/Donate.astro'; import Text from '../components/Text.astro'; import Button from '../components/Button.astro'; -import { BookIcon, BoxIcon, MessageCircleIcon } from 'astro-feather'; +import { BookIcon, BoxIcon, MessageCircleIcon, HelpCircleIcon } from 'astro-feather'; import { Image } from 'astro:assets'; import searchForGlobed from '../images/search-for-globed-old.png'; import getARoomYouTwo from '../images/connect-to-server.png'; @@ -30,10 +30,16 @@ import Content from '../components/Content.astro'; To install Globed, you first need to <em>install Geode</em>. Click below to find instructions for installing it! </Text> - <Button link="https://geode-sdk.org/install"> - <BoxIcon slot="pre-icon" /> - Install Geode - </Button> + <ButtonRow> + <Button link="https://geode-sdk.org/install"> + <BoxIcon slot="pre-icon" /> + Install Geode + </Button> + <Button link="https://geode-sdk.org"> + <HelpCircleIcon slot="pre-icon" /> + What's Geode? + </Button> + </ButtonRow> </InstructionBox> <InstructionBox num="2">