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

Fix/missing nav logo #39

Merged
merged 2 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading