diff --git a/docs/src/layouts/BaseLayout.astro b/docs/src/layouts/BaseLayout.astro index a7e5572..2a971d1 100644 --- a/docs/src/layouts/BaseLayout.astro +++ b/docs/src/layouts/BaseLayout.astro @@ -1,112 +1,115 @@ --- import Analytics from "../components/Analytics/Analytics.astro"; export interface Props { - title: string; + permalink?: string; + title?: string; + description?: string; } -export interface BaseLayoutProps extends Props { - permalink?: string; - title?: string; - description?: string; -} - -const { permalink = '', title = "Driver.js", description = "A light-weight, no-dependency, vanilla JavaScript library to drive user's focus across the page." } = Astro.props; - +const { + permalink = "", + title = "driver.js", + description = "A light-weight, no-dependency, vanilla JavaScript library to drive user's focus across the page.", +} = Astro.props; --- - + -
- + + -