From e662d33d3fb1add86c0a4a9cf789e4d08f81a700 Mon Sep 17 00:00:00 2001 From: nemanjam Date: Thu, 23 May 2024 17:29:50 +0200 Subject: [PATCH] style link icons in footer --- docs/todo3.md | 2 + src/components/Footer.astro | 97 +++++++++++++++++++++---------------- 2 files changed, 58 insertions(+), 41 deletions(-) diff --git a/docs/todo3.md b/docs/todo3.md index 120cd06..45179c3 100644 --- a/docs/todo3.md +++ b/docs/todo3.md @@ -189,4 +189,6 @@ use single Post or PostCollection type_ everywhere rewrite Pagination component find footer examples social links component for footer, array of objects and map +accessibility, tab, focus, aria, nav, ul li, header, article +icon link button ``` diff --git a/src/components/Footer.astro b/src/components/Footer.astro index dd123e9..efeb9e1 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -2,61 +2,76 @@ import { Icon } from 'astro-icon/components'; import { BackToTop } from '@/components/BackToTop'; -import Button from '@/components/Button.astro'; import { CONFIG } from '@/config'; -import { getLatestCommitInfo, getLatestCommitInfoAsString } from '@/utils/git'; +import { getLatestCommitInfo } from '@/utils/git'; import { trimHttpProtocol } from '@/utils/strings'; const { SITE_URL } = CONFIG; const domain = trimHttpProtocol(SITE_URL); -const commitInfo = getLatestCommitInfoAsString(); +const { time, hash, message } = getLatestCommitInfo(); ---