1
0
Fork 0

Call it Base instead of Layout

This commit is contained in:
Korbs 2024-06-22 16:50:48 -04:00
parent be541ddc8d
commit 468b91eff3
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View file

@ -1,6 +1,6 @@
--- ---
// Layout // Layout
import Layout from "@layouts/Default.astro"; import Base from "@layouts/Default.astro";
--- ---
<Layout Title="Poke" Description="▶▶ Poke - The privacy app of your dreams!"></Layout> <Base Title="Poke" Description="▶▶ Poke - The privacy app of your dreams!"></Base>

View file

@ -1,6 +1,6 @@
--- ---
// Layout // Layout
import Layout from "@layouts/Default.astro"; import Base from "@layouts/Default.astro";
// i18n // i18n
import i18next, { t } from "i18next"; import i18next, { t } from "i18next";
@ -16,7 +16,7 @@ import MobileScreenshot from '@assets/screenshots/mobile.jpg'
import Chan from '@assets/chan/v2.png' import Chan from '@assets/chan/v2.png'
--- ---
<Layout Title="Poke" Description="▶▶ Poke - The privacy app of your dreams!"> <Base Title="Poke" Description="▶▶ Poke - The privacy app of your dreams!">
<video playsinline autoplay muted loop class="landing-background" src="/flurry-background.webm" type="video/webm"/> <video playsinline autoplay muted loop class="landing-background" src="/flurry-background.webm" type="video/webm"/>
<div class="landing"> <div class="landing">
<h1>{t("landing.heading")}</h1> <h1>{t("landing.heading")}</h1>
@ -103,12 +103,13 @@ import Chan from '@assets/chan/v2.png'
</div> </div>
</div> </div>
</div> </div>
</Layout> </Base>
<style lang="scss" is:global> <style lang="scss" is:global>
header { header {
background: transparent !important; background: transparent !important;
border: none !important; border: none !important;
backdrop-filter: blur(1px);
} }
video { video {
position: fixed; position: fixed;