Skip to content

Commit

Permalink
fix minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Mar 4, 2024
1 parent bc80a65 commit 5704d4a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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');
}
});
});
Expand Down
16 changes: 11 additions & 5 deletions src/pages/install.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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">
Expand Down

0 comments on commit 5704d4a

Please sign in to comment.