From e2a780ee3a5339fba39be9013fa9d1aa42e77f2f Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 3 Feb 2025 01:05:29 +0000 Subject: [PATCH] Improve UI --- docs/src/layouts/BaseLayout.astro | 179 +++++++++++++++--------------- docs/src/pages/index.astro | 2 +- 2 files changed, 92 insertions(+), 89 deletions(-) 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; --- - + - - + + - { title } - - + {title} + + - + - - - - - - - - - - - - + + + + + + + + + + + + - - + + - - - - - - - \ No newline at end of file + .driver-popover.driverjs-theme .driver-popover-arrow-side-bottom.driver-popover-arrow { + border-bottom-color: #fde047; + } + + + + + + + diff --git a/docs/src/pages/index.astro b/docs/src/pages/index.astro index f772080..6c1f5c6 100644 --- a/docs/src/pages/index.astro +++ b/docs/src/pages/index.astro @@ -9,7 +9,7 @@ import Examples from "../components/Examples.astro"; import UsecaseList from "../components/UsecaseList.astro"; import OpenSourceLove from "../components/OpenSourceLove.astro"; --- - +