diff --git a/src/components/widgets/Hero3.astro b/src/components/widgets/Hero3.astro index 20a1ba7..f4f4466 100644 --- a/src/components/widgets/Hero3.astro +++ b/src/components/widgets/Hero3.astro @@ -23,7 +23,6 @@ const { image = await Astro.slots.render('image'), } = Astro.props; --- -
@@ -38,6 +37,29 @@ const { /> ) } + { title && (

{content && }

-
- { - image && ( -
- {typeof image === 'string' ? ( - - ) : ( - - )} -
- ) - } -
diff --git a/src/pages/index.astro b/src/pages/index.astro index 811b492..8d7f64c 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -17,13 +17,6 @@ const metadata = { title: 'Scope Dataset', ignoreTitleTemplate: true, }; - -if (isDark) { - logo_path = '~/assets/images/scope_dark_small.png'; -} else { - logo_path = '~/assets/images/scope_bright_small.png'; -} - --- @@ -37,10 +30,11 @@ if (isDark) { --> +