Add page for user settings

This commit is contained in:
qowevisa 2024-11-30 20:46:48 +02:00
parent 3bc4758ce3
commit a90d18cad6
2 changed files with 26 additions and 2 deletions

View File

@ -60,9 +60,9 @@
class="bg-gray-800 text-white p-2 rounded-md border border-gray-700"
/>
</label>
<button class="bg-gray-700 text-white p-2 rounded-full">
<a href="/settings" class="bg-gray-700 text-white p-2 rounded-full">
<UserIcon width="1.5em" height="1.5em" color="#f0f0f0"/>
</button>
</a>
</div>
</nav>
{/if}

View File

@ -0,0 +1,24 @@
<script>
const settingTypes = [
{
name: "Manage Type Filters",
path: "/settings/type",
},
];
</script>
<div class="container mx-auto my-8 p-6 bg-gray-100 rounded-lg shadow-lg">
<h1 class="text-2xl font-bold mb-4 text-center">User settings</h1>
<div class="flex flex-col space-y-6">
{#each settingTypes as path}
<div class="flex items-center justify-center">
<a
href={path.path}
class="p-4 px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600"
>
{path.name}
</a>
</div>
{/each}
</div>
</div>