1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 14:59:36 +02:00

Refactor Docusaurus configuration and frontend components

- Update the title and logo in Docusaurus configuration
- Add Discord and Support links to the navbar
- Update the label and href for the GitHub link in the footer
- Remove redundant code and comments in ImageInfoModal component
- Update the text and link in ImageInfoModal component
- Update the conditional statement in +page.svelte file
- Comment out the unused code in settings page
This commit is contained in:
Sean Morley 2024-10-25 14:20:51 -04:00
parent 874a384477
commit 78ab387055
5 changed files with 36 additions and 19 deletions

View file

@ -31,26 +31,25 @@
<h3 class="font-bold text-lg">
About This Background<span class=" inline-block"></span>
</h3>
<div class="flex flex-col items-center">
<!-- svelte-ignore a11y-img-redundant-alt -->
<!-- <img
src={background.url}
alt="Background Image"
class="w-96 h-96 object-cover rounded-lg shadow-lg mt-4"
/> -->
{#if background.author != ''}
<p class="text-center mt-2">Photo by {background.author}</p>
{/if}
{#if background.location != ''}
<p class="text-center">Location: {background.location}</p>
{/if}
<button
on:click={() => (window.location.href = 'https://forms.gle/2uZNnz8QS3VjuYtQ8')}
class="btn btn-neutral inline-block mt-4 mb-2">Submit an Image</button
>
<p class="text-center mt-4">
<a
href="https://discord.gg/wRbQ9Egr8C"
target="_blank"
rel="noopener noreferrer"
class="text-blue-500 hover:underline"
>
Join the Discord
</a>
to share your own photos. Post them in the #travel-share channel.
</p>
</div>
<button class="btn btn-primary" on:click={close}>Close</button>
</div>
</dialog>