Main - Footer, Header - responsive drawer
This commit is contained in:
parent
34f70f0412
commit
0170618b67
|
@ -3,8 +3,6 @@
|
|||
const drawerStore = getDrawerStore();
|
||||
import { NavRoutes } from '$lib/config';
|
||||
import { page } from '$app/stores';
|
||||
import { browser } from '$app/environment';
|
||||
// what is my url?
|
||||
$: classesDrawer = $drawerStore.id === 'mobile-nav' ? 'md:hidden' : '';
|
||||
</script>
|
||||
|
||||
|
|
|
@ -14,11 +14,19 @@
|
|||
<!-- <div class="container px-5 py-8 mx-auto flex items-center sm:flex-row flex-col"> -->
|
||||
<a class="items-center md:justify-start justify-center" href="/">
|
||||
<p class="sm:pl-4 text-base sm:py-2 sm:mt-0 mt-4 text-center">
|
||||
All content, unless otherwise stated,
|
||||
<br>by Matthieu Morin, is under © copyright {year},
|
||||
<br>and all of it licensed under <a class="anchor font-bold" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">CC BY-SA 4.0</a>.
|
||||
<br>This site coded by me is <a class="font-bold anchor" href="https://git.mattmor.in/Madmin/its-personal/src/branch/master/LICENSE">MIT Licensed</a>.
|
||||
|
||||
All content on this website, unless otherwise stated,
|
||||
<br />by Matthieu Morin, is under copyright © {year},
|
||||
<br />all of it licensed under
|
||||
<a
|
||||
class="anchor font-bold"
|
||||
href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">CC BY-SA 4.0</a
|
||||
>.
|
||||
<br />This site, coded by me, is
|
||||
<a
|
||||
class="font-bold anchor"
|
||||
href="https://git.mattmor.in/Madmin/its-personal/src/branch/master/LICENSE"
|
||||
>MIT Licensed</a
|
||||
>.
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
<script lang="ts">
|
||||
import { LightSwitch, AppBar, Avatar, getDrawerStore, Drawer } from '@skeletonlabs/skeleton';
|
||||
import { LightSwitch, Avatar, getDrawerStore } from '@skeletonlabs/skeleton';
|
||||
import type { DrawerSettings } from '@skeletonlabs/skeleton';
|
||||
const drawerStore = getDrawerStore();
|
||||
|
||||
// Components
|
||||
import { getImageLink } from '$lib/images';
|
||||
import { page } from '$app/stores';
|
||||
import { NavRoutes } from '$lib/config';
|
||||
|
||||
|
@ -23,9 +22,6 @@
|
|||
};
|
||||
drawerStore.open(drawerSettings);
|
||||
}
|
||||
|
||||
// Local
|
||||
const imgPlaceholder = getImageLink({ id: 'linky', w: 128, h: 128 });
|
||||
</script>
|
||||
|
||||
<section
|
||||
|
|
Loading…
Reference in New Issue