test: component viewer

This commit is contained in:
Zack Spear
2024-01-11 21:46:37 -06:00
committed by Zack Spear
parent 8d82064888
commit 6a0e258cf2
2 changed files with 9 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ onMounted(() => {
<template>
<div class="text-black bg-white dark:text-white dark:bg-black">
<div class="max-w-5xl pb-12 mx-auto">
<div class="pb-12 mx-auto">
<client-only>
<div class="flex flex-col gap-6 p-6">
<h2 class="text-xl font-semibold font-mono">

View File

@@ -10,14 +10,20 @@ onBeforeMount(() => {
<template>
<client-only>
<unraid-i18n-host class="flex flex-col gap-6 p-6 max-w-5xl mx-auto text-black bg-white dark:text-white dark:bg-black">
<unraid-i18n-host class="flex flex-col gap-6 p-6 mx-auto text-black bg-white dark:text-white dark:bg-black">
<h2 class="text-xl font-semibold font-mono">
Web Components
</h2>
<h3 class="text-lg font-semibold font-mono">
UserProfileCe
</h3>
<header class="bg-beta py-4">
<header class="bg-beta py-4 flex flex-row justify-between items-center">
<div class="inline-flex flex-col gap-4 items-start px-4">
<a href="https://unraid.net" target="_blank">
<BrandLogo class="w-[100px] sm:w-[150px]" />
</a>
<HeaderOsVersionCe />
</div>
<unraid-user-profile :server="JSON.stringify(serverState)" />
</header>
<hr class="border-black dark:border-white">