diff --git a/documentation/docusaurus.config.ts b/documentation/docusaurus.config.ts index 65399fb..3524fc7 100644 --- a/documentation/docusaurus.config.ts +++ b/documentation/docusaurus.config.ts @@ -3,7 +3,7 @@ import type { Config } from "@docusaurus/types"; import type * as Preset from "@docusaurus/preset-classic"; const config: Config = { - title: "Adventure Log", + title: "AdventureLog", tagline: "Embark, Explore, Remember. πŸ—ΊοΈ", favicon: "img/favicon.png", @@ -65,9 +65,9 @@ const config: Config = { // Replace with your project's social card image: "img/docusaurus-social-card.jpg", navbar: { - title: "Adventure Log Docs", + title: "AdventureLog Docs", logo: { - alt: "My Site Logo", + alt: "AdventureLog Logo", src: "img/favicon.png", }, items: [ @@ -79,10 +79,20 @@ const config: Config = { }, // { to: "/blog", label: "Blog", position: "left" }, { - href: "https://github.com/seanmorley15/adventurelog", + to: "https://github.com/seanmorley15/adventurelog", label: "GitHub", position: "right", }, + { + to: "https://discord.gg/wRbQ9Egr8C", + label: "Discord", + position: "right", + }, + { + to: "/support", + label: "Support πŸ’–", + position: "right", + }, ], }, footer: { @@ -108,6 +118,14 @@ const config: Config = { label: "GitHub", href: "https://github.com/seanmorley15/adventurelog", }, + { + label: "Discord", + href: "https://discord.gg/wRbQ9Egr8C", + }, + { + label: "Support πŸ’–", + to: "/support", + }, ], }, // { diff --git a/documentation/static/img/favicon.png b/documentation/static/img/favicon.png index a9ec22b..21325e5 100644 Binary files a/documentation/static/img/favicon.png and b/documentation/static/img/favicon.png differ diff --git a/frontend/src/lib/components/ImageInfoModal.svelte b/frontend/src/lib/components/ImageInfoModal.svelte index fed5234..c384143 100644 --- a/frontend/src/lib/components/ImageInfoModal.svelte +++ b/frontend/src/lib/components/ImageInfoModal.svelte @@ -31,26 +31,25 @@

About This Background

-
- - {#if background.author != ''}

Photo by {background.author}

{/if} {#if background.location != ''}

Location: {background.location}

{/if} - +

+ + Join the Discord + + to share your own photos. Post them in the #travel-share channel. +

- diff --git a/frontend/src/routes/adventures/+page.svelte b/frontend/src/routes/adventures/+page.svelte index 2e6c270..575e5eb 100644 --- a/frontend/src/routes/adventures/+page.svelte +++ b/frontend/src/routes/adventures/+page.svelte @@ -32,7 +32,7 @@ let typeString: string = ''; $: { - if (typeof window !== 'undefined') { + if (typeof window !== 'undefined' && typeString) { let url = new URL(window.location.href); url.searchParams.set('types', typeString); goto(url.toString(), { invalidateAll: true, replaceState: true }); diff --git a/frontend/src/routes/settings/+page.svelte b/frontend/src/routes/settings/+page.svelte index 61e2d57..1fb314c 100644 --- a/frontend/src/routes/settings/+page.svelte +++ b/frontend/src/routes/settings/+page.svelte @@ -186,7 +186,7 @@ -
+ For Debug Use: Server PK={user.pk} | Date Joined: {user.date_joined