diff --git a/src/components/common/BasicScripts.astro b/src/components/common/BasicScripts.astro index a94e924..7d67872 100644 --- a/src/components/common/BasicScripts.astro +++ b/src/components/common/BasicScripts.astro @@ -106,6 +106,17 @@ import { SITE } from '~/config.mjs'; }); }; + window.onhashchange = function () { + document.documentElement.classList.add('motion-safe:scroll-smooth'); + const elem = document.querySelector('[data-aw-toggle-menu]'); + if (elem) { + elem.classList.remove('expanded'); + } + document.body.classList.remove('overflow-hidden'); + document.getElementById('header')?.classList.remove('h-screen'); + document.querySelector('#header nav')?.classList.add('hidden'); + } + window.onpageshow = function () { document.documentElement.classList.add('motion-safe:scroll-smooth'); const elem = document.querySelector('[data-aw-toggle-menu]'); diff --git a/src/components/widgets/Footer.astro b/src/components/widgets/Footer.astro index 54c055e..2c38999 100644 --- a/src/components/widgets/Footer.astro +++ b/src/components/widgets/Footer.astro @@ -15,6 +15,7 @@ const links = [ const social = [ { label: 'Discord', icon: 'tabler:brand-discord', href: 'https://discord.gg/aGR4YFCB' }, { label: 'Github', icon: 'tabler:brand-github', href: 'https://github.com/PikaOS-Linux' }, + { label: 'Launchpad', icon: 'tabler:brand-ubuntu', href: 'https://launchpad.net/~pikaos' }, ]; --- diff --git a/src/components/widgets/Header.astro b/src/components/widgets/Header.astro index 3a80670..5e88e7e 100644 --- a/src/components/widgets/Header.astro +++ b/src/components/widgets/Header.astro @@ -73,7 +73,7 @@ const links = [
  • GithubGithub
  • diff --git a/src/pages/index.astro b/src/pages/index.astro index 0185801..aaf3b31 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -25,7 +25,7 @@ const meta = { - Your new linux distro, PikaOS! + Your new Linux distro, PikaOS! @@ -61,13 +61,13 @@ const meta = { { title: "Cute Birb", description: - "PikaOS has a cute birb as the logo/mascot. Who doesn't love the litte guy?", + "PikaOS has a cute birb as the logo/mascot. Who doesn't love the little guy? OwO", icon: "tabler:viewfinder", }, { title: "Gaming Out Of The box", description: - "PikeOS is setup to enable as pain free as possible linux gaming out of the box.", + "PikaOS is setup to enable as pain free as possible Linux gaming out of the box.", icon: "tabler:components", }, { @@ -81,7 +81,7 @@ const meta = { { title: "Excellent Performance", description: - "The combination of upto date drivers and a custom tweaked kernel mean PikaOS is fast.", + "The combination of up to date drivers and a custom tweaked kernel means PikaOS is fast.", icon: "tabler:rocket", }, { @@ -93,7 +93,7 @@ const meta = { { title: "Open Source", description: - "All of our code can be found on our github and are ppas are available on launchpad. Contributions are also very welcome!", + "All of our code can be found on our github and our ppas are available on launchpad. Contributions are also very welcome!", icon: "tabler:bulb", }, ], @@ -254,7 +254,7 @@ const meta = { @@ -264,7 +264,7 @@ const meta = { Grab our latest PikaOS ISO now!

    - MD5 hash here. + MD5 hash here.