File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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' ;
109import { Icon as AstroIcon } from ' astro-icon/components' ;
1110import Pagination from ' @astrojs/starlight/components/Pagination.astro' ;
1211import EditLink from ' @astrojs/starlight/components/EditLink.astro' ;
Original file line number Diff line number Diff line change 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');
Original file line number Diff line number Diff line change 1+ // SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
2+ // SPDX-License-Identifier: CC0-1.0
3+
4+ export { collections } from './content/content.config' ;
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments