work on the frontend for the movies

This commit is contained in:
maxDorninger
2025-06-28 18:24:00 +02:00
parent 75c156e66d
commit bcc259dff2
19 changed files with 505 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
<script lang="ts">
import {Menubar as MenubarPrimitive} from "bits-ui";
import {cn} from "$lib/utils.js";
let {
ref = $bindable(null),
class: className,
...restProps
}: MenubarPrimitive.TriggerProps = $props();
</script>
<MenubarPrimitive.Trigger
{...restProps}
bind:ref
class={cn(
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none",
className
)}
/>