Update Logos and Data Fetch

This commit is contained in:
2026-04-20 21:59:00 -04:00
parent 8be7e1e5f9
commit e277e0e72f
9 changed files with 10 additions and 10 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

@@ -15,7 +15,7 @@
async function fetchStudyRoomData() {
try {
const res = await fetch(
"http://localhost:8000/api/study-rooms/history",
"/api/study-rooms/history",
);
if (res.ok) {
const json = await res.json();
+2 -2
View File
@@ -1,7 +1,7 @@
<script lang="ts">
import { themeState } from '$lib/states/theme.svelte';
import logoDark from '../../../logo/HushMapLogo_dark.png';
import logoLight from '../../../logo/HushMapLogo_light.png';
import logoDark from '$lib/assets/logo/HushMapLogo_dark.png';
import logoLight from '$lib/assets/logo/HushMapLogo_light.png';
let expanded = $state(false);
let collapseTimer: ReturnType<typeof setTimeout>;
+1 -1
View File
@@ -42,7 +42,7 @@ class MapState {
this.historyLoading = true;
try {
const res = await fetch('http://127.0.0.1:8000/api/study-rooms/history');
const res = await fetch('/api/study-rooms/history');
if (res.ok) {
const json = await res.json();
this.historyData = json.data;