From b9df3ab6db683a7a0ec521d091323483925b1a5a Mon Sep 17 00:00:00 2001 From: Sat Naing Date: Tue, 20 Sep 2022 20:41:04 +0630 Subject: [PATCH] Implement no margin top option --- src/components/Footer.astro | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index d9f43ca..e0c6b46 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -4,9 +4,15 @@ import LinkButton from "./LinkButton.astro"; import socialLinks from "@utils/socialLinks"; const currentYear = new Date().getFullYear(); + +export interface Props { + noMarginTop?: boolean; +} + +const { noMarginTop = false } = Astro.props; --- -