From 3a49d5d0b52b64c396be8d56235b839772954c47 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Wed, 14 Jun 2023 20:49:33 +0200 Subject: [PATCH] feat: add footer description, disclaimers, attribution, links (#43) --- src/components/AddressBar.astro | 3 ++- src/components/Footer.astro | 26 ++++++++++++++++++++++++++ src/layouts/Layout.astro | 4 +++- 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 src/components/Footer.astro diff --git a/src/components/AddressBar.astro b/src/components/AddressBar.astro index fb315ca..6b1e0fa 100644 --- a/src/components/AddressBar.astro +++ b/src/components/AddressBar.astro @@ -4,6 +4,7 @@ export interface Props { } const { url } = Astro.props; +const placeholder = 'Type the URL of an article here'; ---
@@ -11,7 +12,7 @@ const { url } = Astro.props; - + diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..0f35d94 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,26 @@ +
+ +

+ Remove distractions. Save for later. +

+

+ Copy rights and credits goes to their respective owners. +

+ +
+ + \ No newline at end of file diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index dcd417c..0210c7f 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,6 +1,7 @@ --- import { ArticleData } from "@extractus/article-extractor"; import "./reset.css"; +import Footer from "../components/Footer.astro"; export interface Props { meta: ArticleData } @@ -50,6 +51,7 @@ const appTitle = `Cozy 🧸${meta.title && `| ${meta.title}`}`;
+