~siegfriedehret/sites

3209bd6c26ce220f8bc88586d0b4b47a2362fc0f — Siegfried Ehret 24 days ago 88f5dd9
🎁 update layout, fix sieg.fr/ied/mu
M apps/ehretdotme/src/routes/(museum)/+layout.svelte => apps/ehretdotme/src/routes/(museum)/+layout.svelte +2 -2
@@ 4,7 4,7 @@
	import Header from '@packages/ui/Header.svelte';
</script>

<div class="burrito">
<div class="sidebar">
	<Header>
		<a slot="title" class="to-home" data-sveltekit:prefetch href="/">ehret.me</a>
		<span slot="links">


@@ 35,7 35,7 @@
</Footer>

<style>
	.burrito {
	.sidebar {
		padding: 1rem;
		background: var(--lake-red);
		color: var(--wevet);

M apps/siegdotfr/src/routes/(app)/ied/mu/[slug]/+page.svelte => apps/siegdotfr/src/routes/(app)/ied/mu/[slug]/+page.svelte +5 -5
@@ 27,21 27,21 @@
		<Figure item={item.cover} />

		<h2>Introduction</h2>
		{@html item.reviewIntroductionHtml}
		{@html item.reviewIntroductionHtml.html}

		<h2>Causerie</h2>
		{@html item.reviewHtml}
		{@html item.reviewHtml.html}

		<h2>Conclusion</h2>
		{@html item.reviewConclusionHtml}
		{@html item.reviewConclusionHtml.html}

		<p>Note: {item.note}/10</p>

		<h2>Pistes</h2>
		{@html item.tracksHtml}
		{@html item.tracksHtml.html}

		<h2>Liens</h2>
		{@html item.linksHtml}
		{@html item.linksHtml.html}
	</article>
{:else}
	<p>404 ! Rien de plus sur ce disque.</p>

M packages/ui/Layout.svelte => packages/ui/Layout.svelte +22 -24
@@ 1,36 1,34 @@
<div class="layout">
	<div class="sidebar">
		<div class="burrito">
			<slot name="header" />

			<nav>
				<a href="/rss.xml">📫 RSS</a>
				<slot name="link" />
				<a href="https://mastodon.ehret.me/@SiegfriedEhret" rel="me" title="🐘 mastodon">
					🐘 mastodon
				</a>
			</nav>
		</div>
	</div>
<div class="sidebar">
	<slot name="header" />

	<nav>
		<a href="/rss.xml">📫 RSS</a>
		<slot name="link" />
		<a href="https://mastodon.ehret.me/@SiegfriedEhret" rel="me" title="🐘 mastodon">
			🐘 mastodon
		</a>
	</nav>
</div>

<div class="burrito">
	<slot name="main" />
</div>

<style>
	.layout {
		display: grid;
		gap: 1rem;
	}

	.sidebar {
		position: fixed;
		height: 100vh;
		width: 15rem;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 1rem;
		background: var(--lake-red);
		color: var(--wevet);
	}

	.burrito {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 1rem;
		margin-left: 16rem;
	}

	nav {


@@ 44,7 42,7 @@
			grid-template-columns: 15rem 1fr;
		}

		.burrito {
		.sidebar {
			height: 100vh;
		}