mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-05-07 20:32:26 +00:00
25 lines
601 B
Vue
25 lines
601 B
Vue
<script setup lang="ts">
|
|
import { onMounted } from "vue";
|
|
import { useTheme } from "@/utils/theme.js";
|
|
|
|
onMounted(async () => {
|
|
useTheme()
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-default-background">
|
|
<div>
|
|
<slot name="logo" />
|
|
</div>
|
|
|
|
<div
|
|
class="w-full sm:max-w-md mt-6 px-6 py-4 bg-card-background shadow-md border border-card-border overflow-hidden sm:rounded-lg">
|
|
<slot />
|
|
</div>
|
|
|
|
<slot name="actions"></slot>
|
|
</div>
|
|
</template>
|