From c8672fc4eb0e8c1adce09279281c673682ae85ed Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 4 Jun 2023 14:56:04 +0200 Subject: [PATCH] feat: render cached post to page --- README.md | 6 +++--- src/components/Library.astro | 35 ++++++++++++++++++++++++++++------- src/components/post.astro | 4 ++-- src/pages/index.astro | 2 +- 4 files changed, 34 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index d004758..86cd9f8 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ Cozy is your modern-day reading assistant. ## Roadmap | Feature | Status | | --- | --- | -| Remove distractions| Done | -| Save to a Reading Library | In-Progress | -| PWA: Offline access to library | | +| Remove distractions| ✅ DONE | +| Save to a Reading Library | ✅ DONE | +| PWA: Offline access to library | 🛠️ In-progress | | AI insights | | | Browser Extensions | | diff --git a/src/components/Library.astro b/src/components/Library.astro index 55761ed..f9aa478 100644 --- a/src/components/Library.astro +++ b/src/components/Library.astro @@ -1,20 +1,26 @@ +--- +export interface Props { + postDivSelector: string +} + +const {postDivSelector} = Astro.props; +---
+ +