From bd27bbb073465be77e4e752e6bf9bc4cf5e84c60 Mon Sep 17 00:00:00 2001 From: João Augusto Costa Branco Marado Torres Date: Sun, 27 Jul 2025 12:34:14 -0300 Subject: feat: styling microblogs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Augusto Costa Branco Marado Torres --- src/pages/blog/[...date].astro | 6 +++++- src/pages/blog/micro/[page].astro | 42 +++++++++++++++++++++++++++++++-------- 2 files changed, 39 insertions(+), 9 deletions(-) (limited to 'src/pages/blog') diff --git a/src/pages/blog/[...date].astro b/src/pages/blog/[...date].astro index a0764be..8346baf 100644 --- a/src/pages/blog/[...date].astro +++ b/src/pages/blog/[...date].astro @@ -211,7 +211,11 @@ const description = "Ultímas publicações" + >

- + ; export type Props = InferGetStaticPropsType; const { page } = Astro.props; + +const { prev, next, first, last } = page.url; --- -

Page {page.currentPage}

-
    - {page.data.map((micro) =>
  • )} -
- {page.url.first ? First : null} - {page.url.prev ? Previous : null} - {page.url.next ? Next : null} - {page.url.last ? Last : null} +
+
+

Página {page.currentPage}

+ +
    {page.data.map((micro) =>
  • )}
+
+
+
+ -- cgit v1.2.3