--- import { Document, Body } from 'astro-base-document'; // import Resets from '@julian_cataldo/astro-resets/Resets.astro'; // import LightBox from '@julian_cataldo/astro-lightbox/LightBox.astro'; import { Breakpoints } from 'astro-breakpoints'; import { PageTransition } from 'astro-page-transition'; /* ·········································································· */ import Landing from 'src/modules/Landing/Landing.astro'; import NavigationBar from 'src/components/NavigationBar/NavigationBar.astro'; import Footer from './Footer.astro'; import Head from './Head.astro'; /* ·········································································· */ // FIXME: FOUT import '@fontsource/exo-2/variable.css'; import '@fontsource/exo-2/variable-italic.css'; /* ·········································································· */ // TODO: importing globally here for HMR smoothness import './Default.global.scss'; /* —————————————————————————————————————————————————————————————————————————— */ export interface Props { titles: { main: string; sub?: string }; description?: string; actions?: { title: string; href: string }[]; } const props = { ...Astro.props } as Props; /* ············································ Typeguards + Fallbacks ······ */ if (typeof props?.titles?.main !== 'string') { props.titles = { main: '' }; } /* —————————————————————————————————————————————————————————————————————————— */ ---