Quartz sync: Nov 4, 2023, 12:44 PM

This commit is contained in:
bfahrenfort 2023-11-04 12:44:08 -05:00
parent 08588de787
commit 72d722d832
2 changed files with 5 additions and 6 deletions

3
package-lock.json generated
View File

@ -85,7 +85,8 @@
"typescript": "^5.0.4"
},
"engines": {
"node": ">=18.14"
"node": ">=18.14",
"npm": ">=9.3.1"
}
},
"node_modules/@clack/core": {

View File

@ -1,4 +1,4 @@
import { QuartzComponentConstructor } from "./types"
import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
import { OptionType } from "../plugins/types"
import style from "./styles/footer.scss"
import { version } from "../../package.json"
@ -7,10 +7,8 @@ interface Optionss {
links: Record<string, string>
}
console.log(globalThis.remark_config)
export default ((opts?: Optionss) => {
function Footer() {
function Footer({ displayClass }: QuartzComponentProps) {
const year = new Date().getFullYear()
const links = opts?.links ?? []
return (
@ -25,7 +23,7 @@ export default ((opts?: Optionss) => {
© be-far {year}. Powered by <a href="https://quartz.jzhao.xyz/">Quartz</a>.
</p>
<p>
not legal advice 🤟
not legal advice 🤟
</p>
<ul>
{Object.entries(links).map(([text, link]) => (