Files
windwiderstand/src/lib/components/HeaderOverlay.svelte
T
Peter Meier 2fef91a548
Deploy / verify (push) Failing after 32s
Deploy / deploy (push) Has been skipped
Initial SvelteKit frontend port of windwiderstand.de
Full parity with Astro site: content rows, post/tag routes, pagination,
event badges + OSM map, comments, Live-Search via /api/search-index,
CMS image proxy, RSS, sitemap.

Deploy: Dockerfile + docker-compose.prod.yml + Gitea Actions workflow
to build + push to git.pm86.de registry and ssh-deploy to Contabo.
2026-04-17 22:01:30 +02:00

22 lines
510 B
Svelte

<script lang="ts">
import { get } from "svelte/store";
import { overlayOpen, overlayClose } from "$lib/overlay-store";
import { useTranslate } from "$lib/translations";
import { T } from "$lib/translations";
const t = useTranslate();
function handleClick() {
get(overlayClose)?.();
}
</script>
{#if $overlayOpen}
<button
type="button"
class="fixed inset-0 z-[15] bg-black/50 cursor-default"
aria-label={t(T.header_overlay_close)}
onclick={handleClick}
></button>
{/if}