Files
vue-ts-example/src/pages/UI-components/InspiraUI/index.page.vue
严浩 8f2a77702b
Some checks failed
/ surge (push) Successful in 2m41s
/ build-and-deploy-to-vercel (push) Successful in 2m59s
/ lint-build-and-check (push) Has been cancelled
/ playwright (push) Has been cancelled
feat: InspiraUI
2025-04-01 11:55:16 +08:00

39 lines
1.1 KiB
Vue

<script setup lang="ts">
import { useLayout } from '@/layouts/sakai-vue/composables/layout';
const { isDarkTheme } = useLayout();
// const isDark = computed(() => useColorMode().value == 'dark');
const bgColor = computed(() => (isDarkTheme.value ? '#000' : '#fff'));
</script>
<template>
<div class="z-10 flex h-56 w-full flex-col items-center justify-center">
<GradientButton :bg-color="bgColor">Zooooooooooom 🚀</GradientButton>
</div>
<div class="flex h-[500px] w-full flex-col gap-4 lg:h-[250px] lg:flex-row">
<CardSpotlight
class="cursor-pointer flex-col items-center justify-center whitespace-nowrap text-4xl shadow-2xl"
:gradient-color="isDarkTheme ? '#363636' : '#C9C9C9'"
>
Card Spotlight
</CardSpotlight>
</div>
<Dock class="mb-6">
<DockIcon>
<Icon-mdi-github class="size-full" />
</DockIcon>
<DockSeparator />
<DockIcon>
<Icon-mdi-google-drive class="size-full" />
</DockIcon>
<DockIcon>
<Icon-logos-notion-icon class="size-full" />
</DockIcon>
<DockIcon>
<Icon-logos-whatsapp-icon class="size-full" />
</DockIcon>
</Dock>
</template>