mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-04 17:32:56 +00:00
responsive menu
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
import { base } from '$app/paths';
|
||||
|
||||
import { mode } from 'mode-watcher';
|
||||
|
||||
export let iconOnly = false;
|
||||
</script>
|
||||
|
||||
<img
|
||||
src="{base}/logo{$mode === 'dark' ? '-dark' : ''}.svg"
|
||||
src="{base}/{iconOnly ? 'icon' : 'logo'}{$mode === 'dark' ? '-dark' : ''}.svg"
|
||||
alt="Logo of gpx.studio."
|
||||
{...$$restProps}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user