diff --git a/astro.config.ts b/astro.config.ts index 2810df9..7b1ac8e 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -36,7 +36,7 @@ export default defineConfig({ integrations: [starlight({ title: '@vtbag', components: { - Head: "./src/components/Head.astro", + Head: "./src/components/NHead.astro", PageTitle: "./src/components/PageTitle.astro" }, plugins: [starlightImageZoom()], diff --git a/src/components/DemoNavigation.astro b/src/components/DemoNavigation.astro index 5cd282b..102ed82 100644 --- a/src/components/DemoNavigation.astro +++ b/src/components/DemoNavigation.astro @@ -1,4 +1,6 @@ --- +import LeaveDemoLink from "./LeaveDemoLink.astro"; + export interface Props { backlink: string; prev: string; @@ -6,7 +8,12 @@ export interface Props { } const { backlink, prev, next } = Astro.props; --- -
{prev && ()}Back to the example list{next && ()}
+ +
+ Prev + Back to the example list + Next +
\ No newline at end of file diff --git a/tests/02_chamber.spec.ts b/tests/02_chamber.spec.ts index c4e6f15..5ba3552 100644 --- a/tests/02_chamber.spec.ts +++ b/tests/02_chamber.spec.ts @@ -72,7 +72,7 @@ test.describe("controls", () => { await page.click('#vtbag-ui-standby'); await expect(page.locator('#vtbag-ui-panel')).toBeHidden(); await expect(page.locator('#vtbag-ui-reopen')).toBeVisible(); - }) + }); test('can reopen', async ({ page }) => { await page.goto('http://localhost:4321/demo/BasicS/');