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(); ---