style: Change headings for account & index

This commit is contained in:
Roman Godmaire 2023-11-21 08:42:25 -05:00
parent d029ff0ecd
commit eb26d1743e
2 changed files with 14 additions and 11 deletions

View file

@ -8,7 +8,10 @@
</svelte:head>
{#if data.isLoggedIn}
<h1>Your Tracks</h1>
<hgroup>
<h1>Welcome Back</h1>
<h2>Tracks from people you're following</h2>
</hgroup>
{#if data.tracks.length === 0}
No tracks!

View file

@ -7,17 +7,17 @@
<title>Upload | Larsen</title>
</svelte:head>
<article>
<form method="POST" use:enhance>
<hgroup>
<hgroup>
<h1>Upload a New Track</h1>
{#if form}
<h2 style="color: red">{form?.message}</h2>
{:else}
<h2>Some good tunes.</h2>
{/if}
</hgroup>
</hgroup>
<article>
{#if form}
<p style="color: red">{form?.message}</p>
{/if}
<form method="POST" use:enhance>
<label for="title">
Track Title
<input type="text" name="title" />