From b4bd409e4bcb966040f164c8a0da3cbe1e08f785 Mon Sep 17 00:00:00 2001 From: radishzzz Date: Tue, 18 Mar 2025 04:03:42 +0000 Subject: [PATCH] update: desktop style --- public/image/back-home.svg | 1 + src/components/PostDate.astro | 5 ++++- src/components/PostList.astro | 23 +++++++++++++++-------- src/layouts/Layout.astro | 15 ++++++++++++--- src/pages/[...index].astro | 4 ++-- src/pages/[...posts_slug].astro | 5 +++-- uno.config.ts | 4 ++-- 7 files changed, 39 insertions(+), 18 deletions(-) create mode 100644 public/image/back-home.svg diff --git a/public/image/back-home.svg b/public/image/back-home.svg new file mode 100644 index 0000000..975a8d3 --- /dev/null +++ b/public/image/back-home.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/PostDate.astro b/src/components/PostDate.astro index 35fc281..8a5ff5b 100644 --- a/src/components/PostDate.astro +++ b/src/components/PostDate.astro @@ -63,7 +63,10 @@ function formatDate(date: Date, format: 'YYYY-MM-DD' | 'MM-DD-YYYY' | 'DD-MM-YYY {updatedDate && ( -