From 38cff2d670ecf7fd325aaaf776a4c250a72cc661 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 04 Jul 2023 23:48:36 +0000
Subject: [PATCH] more visual polish, adjust colours and spacing
---
quartz/components/Footer.tsx | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/quartz/components/Footer.tsx b/quartz/components/Footer.tsx
index 5fc6d64..a4c895b 100644
--- a/quartz/components/Footer.tsx
+++ b/quartz/components/Footer.tsx
@@ -11,15 +11,13 @@
const year = new Date().getFullYear()
const name = opts?.authorName ?? "someone"
const links = opts?.links ?? []
- return <>
+ return <footer>
<hr />
- <footer>
- <p>Made by {name} using <a href="https://quartz.jzhao.xyz/">Quartz</a>, © {year}</p>
- <ul>{Object.entries(links).map(([text, link]) => <li>
- <a href={link}>{text}</a>
- </li>)}</ul>
- </footer>
- </>
+ <p>Made by {name} using <a href="https://quartz.jzhao.xyz/">Quartz</a>, © {year}</p>
+ <ul>{Object.entries(links).map(([text, link]) => <li>
+ <a href={link}>{text}</a>
+ </li>)}</ul>
+ </footer>
}
Footer.css = style
--
Gitblit v1.10.0