Skip to content

Commit

Permalink
change logo target to /publish
Browse files Browse the repository at this point in the history
  • Loading branch information
pontussjostedt committed Dec 5, 2024
1 parent e025062 commit f173579
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<script lang="ts">
import ImmichLogo from '$lib/components/shared-components/immich-logo.svelte';
import { AppRoute } from '$lib/constants';
export let width: number;
</script>

<a data-sveltekit-preload-data="hover" class="ml-4" href="/">
<a data-sveltekit-preload-data="hover" class="ml-4" href={AppRoute.PUBLISH}>
<ImmichLogo class="h-[24px] w-[24px] max-w-none md:w-auto md:h-10 md:max-w-full" noText={width < 768} />
</a>
1 change: 1 addition & 0 deletions web/src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export enum AppRoute {
PHOTOS = '/photos',
EXPLORE = '/explore',
SHARE = '/share',
PUBLISH = '/publish',
SHARING = '/sharing',
SHARED_LINKS = '/sharing/sharedlinks',
SEARCH = '/search',
Expand Down

0 comments on commit f173579

Please sign in to comment.