From 9b70cd0678fbb755235739f48502ada4640ae1fa Mon Sep 17 00:00:00 2001 From: Dhruv Bhanushali Date: Tue, 21 Jan 2025 03:35:50 +0530 Subject: [PATCH] =?UTF-8?q?Update=20site=20header=20and=20footer=20to=20ma?= =?UTF-8?q?tch=20R=C3=A9civi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/astro.config.mjs | 4 ++ docs/src/components/Footer.astro | 53 +++++++++++++++------ docs/src/components/SocialIcons.astro | 10 ++++ docs/src/components/Stars.astro | 67 +++++++++++++++++++-------- 4 files changed, 102 insertions(+), 32 deletions(-) create mode 100644 docs/src/components/SocialIcons.astro diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 36efd3fc..bb71a558 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -101,6 +101,10 @@ export default defineConfig({ "./src/styles/terminal.css", "./src/styles/typography.css", ], + components: { + Footer: "./src/components/Footer.astro", + SocialIcons: "./src/components/SocialIcons.astro", + }, editLink: { baseUrl: "https://github.com/pls-rs/pls/edit/main/docs/", }, diff --git a/docs/src/components/Footer.astro b/docs/src/components/Footer.astro index 549f8d38..16576421 100644 --- a/docs/src/components/Footer.astro +++ b/docs/src/components/Footer.astro @@ -1,20 +1,47 @@ --- -import Pls from "@/components/Pls.astro"; -import Stat from "@/components/Stat.astro"; ---- +import type { Props } from '@astrojs/starlight/props' -