Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add merch link & other navbar updates #52

Merged
merged 4 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 79 additions & 72 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,78 +3,85 @@ import ThemeSwitch from "./ThemeSwitch.vue";
---

<header
id="nav"
class="flex flex-row justify-between items-center max-w-screen-2xl px-6 md:px-16 py-4 mx-auto text-gray-600 dark:text-gray-200 sticky top-0 z-50 bg-clip-padding bg-gray-100 bg-opacity-30 dark:bg-gray-900 dark:bg-opacity-40 backdrop-filter backdrop-blur-xl"
id="nav"
class="flex flex-row justify-between items-center max-w-screen-2xl px-6 md:px-16 py-4 mx-auto text-gray-600 dark:text-gray-200 sticky top-0 z-50 bg-clip-padding bg-gray-100 bg-opacity-30 dark:bg-gray-900 dark:bg-opacity-40 backdrop-filter backdrop-blur-xl"
>
<div class="flex flex-row items-center gap-8">
<a
href="/"
class="flex flex-row items-center font-bold hover:text-blue-600 dark:hover:text-blue-200"
aria-label="Navigate to home page"
<div class="flex flex-row items-center gap-8">
<a
href="/"
class="flex flex-row items-center font-bold hover:text-blue-600 dark:hover:text-blue-200"
aria-label="Navigate to home page"
>
<div class="w-11 h-auto mr-2">
<img src="/ultramarine-logo.svg" alt="Ultramarine Linux Logo" />
</div>
</a>
<a
href="https://wiki.ultramarine-linux.org"
class="hover:text-blue-600 dark:hover:text-blue-500"
target="_blank"
rel="noopener noreferrer"
>Wiki
</a>
<a
href="https://github.com/Ultramarine-Linux/packages"
class="hover:text-blue-600 dark:hover:text-blue-500 md:block hidden"
target="_blank"
rel="noopener noreferrer"
>Packages
</a>
<a
href="https://fyra.bigcartel.com/"
class="hover:text-blue-600 dark:hover:text-blue-500 md:block hidden"
target="_blank"
rel="noopener noreferrer"
>Merch
</a>
</div>
<div
class="links-right flex flex-row gap-8 justify-center align-middle items-center font-semibold"
>
<div class="w-11 h-auto mr-2">
<img src="/ultramarine-logo.svg" alt="Ultramarine Linux Logo">
</div>
</a>
<a
href="https://wiki.ultramarine-linux.org"
class="hover:text-blue-600 dark:hover:text-blue-500"
target="_blank"
rel="noopener noreferrer"
>Wiki
</a>
<a
href="https://github.com/Ultramarine-Linux/ultramarine-pkgs"
class="hover:text-blue-600 dark:hover:text-blue-500 md:block hidden"
target="_blank"
rel="noopener noreferrer"
>Packages
</a>
</div>
<div
class="links-right flex flex-row gap-8 justify-center align-middle items-center font-semibold"
>
<ThemeSwitch client:load />
<a
href="https://discord.gg/5fdPuxTg5Q"
class="fab fa-discord text-2xl hover:text-blue-600 dark:hover:text-blue-500"
aria-label="Ultramarine Discord link"
target="_blank"
rel="noopener noreferrer"
>
<span class="hidden">Ultramarine Discord server</span>
</a>
<a
href="https://twitter.com/UltramarineProj"
class="fab fa-twitter text-2xl hover:text-blue-600 dark:hover:text-blue-500"
aria-label="Ultramarine Linux Twitter link"
target="_blank"
rel="noopener noreferrer"
>
<span class="hidden">Ultramarine Linux Twitter</span>
</a>
<a
href="https://fedi.fyralabs.com/@ultramarine"
class="fab fa-mastodon text-2xl hover:text-blue-600 dark:hover:text-blue-500"
aria-label="Ultramarine Linux Mastodon link"
target="_blank"
rel="noopener noreferrer me"
>
<span class="hidden">Ultramarine Linux Mastodon</span>
</a>
<a
href="https://github.com/ultramarine-linux"
class="fab fa-github text-2xl hover:text-blue-600 dark:hover:text-blue-500"
aria-label="Ultramarine Linux Github link"
target="_blank"
rel="noopener noreferrer"
>
<span class="hidden">Ultramarine Linux Github</span>
</a>
<a
href="/download"
class="md:block hidden bg-blue-600 hover:bg-blue-700 text-gray-50 px-6 py-2 rounded-[24px]"
>Download</a
>
</div>
<ThemeSwitch client:load />
<a
href="https://fyralabs.com/discord"
class="fab fa-discord text-2xl hover:text-blue-600 dark:hover:text-blue-500"
aria-label="Ultramarine Discord link"
target="_blank"
rel="noopener noreferrer"
>
<span class="hidden">Ultramarine Discord server</span>
</a>
<a
href="https://twitter.com/UltramarineProj"
class="fab fa-twitter text-2xl hover:text-blue-600 dark:hover:text-blue-500"
aria-label="Ultramarine Linux Twitter link"
target="_blank"
rel="noopener noreferrer"
>
<span class="hidden">Ultramarine Linux Twitter</span>
</a>
<a
href="https://fedi.fyralabs.com/@ultramarine"
class="fab fa-mastodon text-2xl hover:text-blue-600 dark:hover:text-blue-500"
aria-label="Ultramarine Linux Mastodon link"
target="_blank"
rel="noopener noreferrer me"
>
<span class="hidden">Ultramarine Linux Mastodon</span>
</a>
<a
href="https://github.com/ultramarine-linux"
class="fab fa-github text-2xl hover:text-blue-600 dark:hover:text-blue-500"
aria-label="Ultramarine Linux Github link"
target="_blank"
rel="noopener noreferrer"
>
<span class="hidden">Ultramarine Linux Github</span>
</a>
<a
href="/download"
class="md:block hidden bg-blue-600 hover:bg-blue-700 text-gray-50 px-6 py-2 rounded-[24px]"
>Download</a
>
</div>
</header>
1 change: 1 addition & 0 deletions src/env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />
Loading