Skip to content

Commit

Permalink
remove console note about expect
Browse files Browse the repository at this point in the history
  • Loading branch information
martrapp committed Oct 27, 2024
1 parent c488f52 commit f854e7c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export default defineConfig({
title: '@vtbag',
components: {
Head: "./src/components/NHead.astro",
PageTitle: "./src/components/PageTitle.astro"
PageTitle: "./src/components/PageTitle.astro",
PageFrame: "./src/components/PageFrame.astro",
},
plugins: [starlightImageZoom()],
tableOfContents: {
Expand Down
11 changes: 11 additions & 0 deletions src/components/PageFrame.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
import type { Props } from "@astrojs/starlight/props";
import StarlightPageFrame from "@astrojs/starlight/components/PageFrame.astro";
---

<StarlightPageFrame {...Astro.props}>
<slot slot="sidebar" name="sidebar"/>
<slot slot="header" name="header"/>
<slot slot="default" name="default"/>
</StarlightPageFrame>
<div id="the_unexpected"/>

0 comments on commit f854e7c

Please sign in to comment.