1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 06:49:37 +02:00
This commit is contained in:
Sean Morley 2024-07-08 15:23:31 -04:00
parent b3c36638ce
commit 921aae763e
3 changed files with 2 additions and 9 deletions

View file

@ -123,8 +123,6 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
# STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
STATIC_ROOT = os.path.join(BASE_DIR, "ui/staticfiles")
# TEMPLATE_DIRS = [os.path.join(BASE_DIR, 'templates')]
TEMPLATES = [

View file

@ -42,12 +42,7 @@
<figure>
<!-- svelte-ignore a11y-img-redundant-alt -->
{#if adventure.image && adventure.image !== ''}
<img
src={adventure.image}
alt="Adventure Image"
class="w-full h-48 object-cover"
crossorigin="anonymous"
/>
<img src={adventure.image} alt="Adventure Image" class="w-full h-48 object-cover" />
{:else}
<img
src={'https://placehold.co/300?text=No%20Image%20Found&font=roboto'}

View file

@ -14,7 +14,7 @@
<div class="avatar placeholder">
<div class="bg-neutral text-neutral-content rounded-full w-10 ml-4">
{#if user.profile_pic}
<img src={user.profile_pic} alt="" />
<img src={user.profile_pic} alt="User Profile" />
{:else}
<span class="text-2xl -mt-1">{letter}</span>
{/if}