From 9259192079b1dc6079ce93ea67903bc7bc89128f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20UB?= <22903142+adrian-ub@users.noreply.github.com> Date: Sun, 6 Oct 2024 13:56:04 -0500 Subject: [PATCH] refactor: remove unused WrapperDemo component --- src/components/Page.astro | 7 +------ src/components/WrapperDemo.astro | 31 ------------------------------- 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 src/components/WrapperDemo.astro diff --git a/src/components/Page.astro b/src/components/Page.astro index f344f68..ea364c7 100644 --- a/src/components/Page.astro +++ b/src/components/Page.astro @@ -7,7 +7,6 @@ import config from 'virtual:vitesse/user-config' import Head from '../components/Head.astro' import Header from './Header.astro' -import WrapperDemo from './WrapperDemo.astro' import WrapperPost from './WrapperPost.astro' import '@unocss/reset/tailwind.css' @@ -17,10 +16,6 @@ import '../styles/markdown.css' // Important that this is the last import so it can override built-in styles. import 'virtual:vitesse/user-css' - -const { slug } = Astro.props - -const isDemo = slug.includes('/demo/') ---