Update user avatar component and settings page

This commit is contained in:
Sean Morley
2024-04-18 23:11:19 +00:00
parent f626370d3f
commit e372ebbacc
3 changed files with 8 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
<script>
import { enhance } from "$app/forms";
import AdventureCard from "$lib/components/AdventureCard.svelte";
export let data;
let username = data.user?.username;
@@ -14,7 +15,6 @@
<h1 class="text-center font-extrabold text-4xl mb-6">Settings Page</h1>
<h1 class="text-center font-extrabold text-xl">User Account Settings</h1>
<div class="flex justify-center">
<form method="post" use:enhance class="w-full max-w-xs">
<label for="username">Username</label>