Initial commit of Descrybe v2 without local scratch artifacts.
Drop one-shot tmp/axe scripts and agent i18n scratch so the Gitea tree is deployable.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<script lang="ts">
|
||||
import { cn } from "$lib/utils";
|
||||
import { i18n } from "$lib/i18n";
|
||||
|
||||
let {
|
||||
href = "#main-content",
|
||||
class: className = ""
|
||||
}: {
|
||||
href?: string;
|
||||
class?: string;
|
||||
} = $props();
|
||||
</script>
|
||||
|
||||
<a
|
||||
{href}
|
||||
class={cn(
|
||||
"sr-only focus:not-sr-only focus:absolute focus:top-2 focus:left-2 focus:z-[60] focus:rounded-md focus:bg-background focus:px-3 focus:py-2 focus:text-sm focus:font-medium focus:text-foreground focus:shadow-md focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-ring",
|
||||
className
|
||||
)}
|
||||
>
|
||||
{i18n.t("a11y.skipToContent")}
|
||||
</a>
|
||||
Reference in New Issue
Block a user