mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 22:15:14 +00:00
* OAuth2 apps Inertia'd! * Rose Pine/Rose Pine Dawn themes! * Run formatting pass * add some tests?
19 lines
478 B
Svelte
19 lines
478 B
Svelte
<script lang="ts">
|
|
import Form from "./Form.svelte";
|
|
import type { OAuthApplicationFormProps } from "./types";
|
|
|
|
let props: OAuthApplicationFormProps = $props();
|
|
</script>
|
|
|
|
<svelte:head>
|
|
<title>{props.page_title}</title>
|
|
</svelte:head>
|
|
|
|
<div class="mx-auto max-w-4xl space-y-4">
|
|
<header>
|
|
<h1 class="text-3xl font-bold text-surface-content">{props.heading}</h1>
|
|
<p class="mt-1 text-sm text-muted">{props.subheading}</p>
|
|
</header>
|
|
|
|
<Form {...props} />
|
|
</div>
|