diff --git a/src/components/global/Header.astro b/src/components/global/Header.astro index f99c9b7..84a9b13 100644 --- a/src/components/global/Header.astro +++ b/src/components/global/Header.astro @@ -9,11 +9,6 @@ import {Language, Menu} from '@iconoir/vue' import i18next, { t } from "i18next"; import { Trans, HeadHrefLangs } from "astro-i18next/components"; -// User Agent -import { useUserAgent } from "astro-useragent" -const uaString = Astro.request.headers.get("user-agent") -const { source, isMobile } = useUserAgent(uaString) - // Check if user is on Support if (Astro.url.pathname.startsWith("/support")) { var IsOnSupport = true @@ -27,7 +22,8 @@ else if (Selected === "Products") {var Select_Products = true} else if (Selected === "Pricing") {var Select_Pricing = true} else if (Selected === "Support") {var Select_Support = true} -import Default from '@astrojs/starlight/components/Search.astro'; +// Components +import Default from '@astrojs/starlight/components/Search.astro' ---
@@ -38,46 +34,31 @@ import Default from '@astrojs/starlight/components/Search.astro';

{t("Header.Flux")}

- {isMobile ? - null - : -
- {t("Header.Home")} - {t("Header.Products")} - {t("Header.Pricing")} - {IsOnSupport ? - {t("Header.Support")} - : - {t("Header.Support")} - } -
- } +
+ {t("Header.Home")} + {t("Header.Products")} + {t("Header.Pricing")} + {IsOnSupport ? + {t("Header.Support")} + : + {t("Header.Support")} + } +
- {t("Header.Login")} - {t("Header.SignUp")} - - + {t("Header.Login")} + {t("Header.SignUp")} + + - English - Japanese + Home + Products + Pricing + Support + + Sign Up + Login - {isMobile ? - - - - Home - Products - Pricing - Support - - Sign Up - Login - - - : - null - }