Skip to content

Commit d65bdff

Browse files
committed
💚 Fix build errors
1 parent bc739f0 commit d65bdff

4 files changed

Lines changed: 13 additions & 2 deletions

File tree

src/components/Footer.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// links and some additional credits below. The code for the original footer can be found here:
77
// https://github.com/withastro/starlight/blob/main/packages/starlight/components/Footer.astro
88
9-
import type { Props } from '@astrojs/starlight/props';
109
import { Icon as AstroIcon } from 'astro-icon/components';
1110
import Pagination from '@astrojs/starlight/components/Pagination.astro';
1211
import EditLink from '@astrojs/starlight/components/EditLink.astro';

src/components/ShowCase.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
if (!heroComponent) return;
2727

2828
const observer = new IntersectionObserver(
29-
(entries, observer) => {
29+
(entries) => {
3030
entries.forEach((entry) => {
3131
if (entry.isIntersecting) {
3232
entry.target.classList.add('visible');

src/content.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
2+
// SPDX-License-Identifier: CC0-1.0
3+
4+
export { collections } from './content/content.config';

src/env.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,11 @@
33

44
/// <reference path="../.astro/types.d.ts" />
55
/// <reference types="astro/client" />
6+
7+
type StarlightRouteData = import('@astrojs/starlight/route-data').StarlightRouteData;
8+
9+
declare namespace App {
10+
interface Locals {
11+
starlightRoute: StarlightRouteData;
12+
}
13+
}

0 commit comments

Comments
 (0)