fix: use logo-signin, consolidate plane asset, fix home marker on resize
- Sign-in page now uses logo-signin.png - World map animation uses airplane.png; remove unused animationPlane.png - Re-project home marker on map resize so it stays correct when stats panel collapses Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "Map-Jurnal",
|
"name": "Map-Jurnal",
|
||||||
"cwd": "/Users/haerikim/Desktop/SP Map Journal/Map-Jurnal",
|
"cwd": ".",
|
||||||
"runtimeExecutable": "npm",
|
"runtimeExecutable": "npm",
|
||||||
"runtimeArgs": ["run", "dev"],
|
"runtimeArgs": ["run", "dev"],
|
||||||
"port": 5173,
|
"port": 5173,
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB |
BIN
src/assets/logo-signin.png
Normal file
BIN
src/assets/logo-signin.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 340 KiB |
@@ -1,6 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import { signInWithGoogle } from './userStore.svelte.js';
|
import { signInWithGoogle } from './userStore.svelte.js';
|
||||||
import logoImg from '../../assets/logo.png';
|
import logoImg from '../../assets/logo-signin.png';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="overlay">
|
<div class="overlay">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
import worldData from 'world-atlas/countries-50m.json';
|
import worldData from 'world-atlas/countries-50m.json';
|
||||||
import { get } from 'svelte/store';
|
import { get } from 'svelte/store';
|
||||||
import { journals } from '../stores/journalStore.js';
|
import { journals } from '../stores/journalStore.js';
|
||||||
import airplaneImg from '../../assets/animationPlane.png';
|
import airplaneImg from '../../assets/airplane.png';
|
||||||
|
|
||||||
let { onclose, onprogress, mode = 'map', onmodechange } = $props();
|
let { onclose, onprogress, mode = 'map', onmodechange } = $props();
|
||||||
|
|
||||||
|
|||||||
@@ -257,6 +257,7 @@
|
|||||||
countryPaths.attr('d', path);
|
countryPaths.attr('d', path);
|
||||||
updateFill(countryPaths);
|
updateFill(countryPaths);
|
||||||
renderMicrostates();
|
renderMicrostates();
|
||||||
|
updateHomeMarker(getUserProfile()?.homeCountry ?? null);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user