From 0f654cd18c214f1952396687f7aaad7704f2fc53 Mon Sep 17 00:00:00 2001 From: wires Date: Mon, 11 May 2026 23:01:13 -0400 Subject: [PATCH] Consolidate and use ResponsiveGraphic --- src/pages/Squash.svelte | 73 ++++++++++++++++++++++------------------- src/pages/index.astro | 30 ++++++++--------- 2 files changed, 53 insertions(+), 50 deletions(-) diff --git a/src/pages/Squash.svelte b/src/pages/Squash.svelte index d6db042..2e5054f 100644 --- a/src/pages/Squash.svelte +++ b/src/pages/Squash.svelte @@ -1,5 +1,6 @@ - - {#snippet backgroundSnippet()} - - {/snippet} - {#snippet foregroundSnippet()} - {#each graphics as graphic, i} -
- {#if graphic.title}

{graphic.title}

{/if} - {#if graphic.description}

{graphic.description}

{/if} - {#if graphic.notes}{/if} + + {#snippet backgroundSnippet()} + - {/each} - {/snippet} - + {/snippet} + + {#snippet foregroundSnippet()} + {#each graphics as graphic, i} +
+ {#if graphic.title}

{graphic.title}

{/if} + {#if graphic.description}

{graphic.description}

{/if} + {#if graphic.notes}{/if} +
+ {/each} + {/snippet} + +