diff --git a/.env.example b/.env.example index d85771f..8027000 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,3 @@ PUB_HOSTNAME=vert.sh # only gets used for plausible (for now) -PUB_PLAUSIBLE_URL=https://plausible.example.com # can be empty \ No newline at end of file +PUB_PLAUSIBLE_URL=https://plausible.example.com # can be empty +PUB_ENV=production # "production" or "nightly" \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 5c22184..a03bbff 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -6,7 +6,11 @@ import { files, theme } from "$lib/store/index.svelte"; import Logo from "$lib/components/visual/svg/Logo.svelte"; import featuredImage from "$lib/assets/VERT_Feature.webp"; - import { PUB_HOSTNAME, PUB_PLAUSIBLE_URL } from "$env/static/public"; + import { + PUB_ENV, + PUB_HOSTNAME, + PUB_PLAUSIBLE_URL, + } from "$env/static/public"; import FancyMenu from "$lib/components/functional/FancyMenu.svelte"; import { writable } from "svelte/store"; import { MoonIcon, SunIcon } from "lucide-svelte"; @@ -110,8 +114,16 @@ href="/" class="px-4 relative h-14 mr-3 justify-center items-center bg-accent-background fill-accent-foreground rounded-xl md:hidden flex" > -
You know what sucks? File converters! They're usually riddled with ads,