From 1395c6fead51a26b7ce54138c40ce76a000dfbfd Mon Sep 17 00:00:00 2001 From: ocknamo Date: Fri, 7 Jun 2024 00:53:08 +0900 Subject: [PATCH] poc: image optimazer --- src/routes/blog/[slug]/+page.svelte | 42 ++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/src/routes/blog/[slug]/+page.svelte b/src/routes/blog/[slug]/+page.svelte index 2cc9e02..8c9f1ef 100644 --- a/src/routes/blog/[slug]/+page.svelte +++ b/src/routes/blog/[slug]/+page.svelte @@ -1,13 +1,45 @@
- {#if !!data.blog.image} - thumbnail - {/if} +
+ {#if !!data.blog.image && browser} + + + + my top + + {/if} +

{data.blog.title}

naddress: