Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
Merge pull request #39 from SvelteShipSolutions/fix/missing-nav-logo
Browse files Browse the repository at this point in the history
fix: missing nav logo
  • Loading branch information
Niravanaa authored Nov 30, 2024
2 parents bad822f + 760d32c commit 9427784
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
Modal,
popup,
storePopup,
modeCurrent,
type PopupSettings,
} from "@skeletonlabs/skeleton";
import type { ModalComponent } from "@skeletonlabs/skeleton";
Expand Down Expand Up @@ -149,13 +150,12 @@
<HamburgerMenuIcon />
</button>
<a href="/" class="h-10">
<!-- <img
<img
src={$modeCurrent
? "/SiteLogoForDark.png"
: "/SiteLogoForLight.png"}
? "/SiteLogoForLight.png"
: "/SiteLogoForDark.png"}
alt="SvelteShip"
class="h-full" /> -->
SvelteShip (logo goes here)
class="h-full" />
</a>
</svelte:fragment>
<NavBar {links} />
Expand Down
4 changes: 2 additions & 2 deletions src/routes/admin/update-tracking/+page.server.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { error, fail, redirect } from "@sveltejs/kit";
import { error, fail, redirect, type Actions } from "@sveltejs/kit";
import type { PageServerLoad } from "./$types";
import { TrackingStatus, UserRole } from "@prisma/client";
import { z } from "zod";
Expand All @@ -22,7 +22,7 @@ const UpdateTrackingSchema = z.object({
coords: z.string().optional(),
});

export const actions = {
export const actions: Actions = {
default: async ({ request }) => {
const formData = await request.formData();
const result = UpdateTrackingSchema.safeParse(Object.fromEntries(formData));
Expand Down
Binary file added static/SiteLogoForDark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/SiteLogoForLight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9427784

Please sign in to comment.