mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-28 15:24:06 -06:00
Quartz sync: Nov 4, 2023, 12:44 PM
This commit is contained in:
parent
08588de787
commit
72d722d832
3
package-lock.json
generated
3
package-lock.json
generated
@ -85,7 +85,8 @@
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.14"
|
||||
"node": ">=18.14",
|
||||
"npm": ">=9.3.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@clack/core": {
|
||||
|
||||
@ -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]) => (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user