mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-30 08:14:05 -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"
|
"typescript": "^5.0.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.14"
|
"node": ">=18.14",
|
||||||
|
"npm": ">=9.3.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@clack/core": {
|
"node_modules/@clack/core": {
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { QuartzComponentConstructor } from "./types"
|
import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
|
||||||
import { OptionType } from "../plugins/types"
|
import { OptionType } from "../plugins/types"
|
||||||
import style from "./styles/footer.scss"
|
import style from "./styles/footer.scss"
|
||||||
import { version } from "../../package.json"
|
import { version } from "../../package.json"
|
||||||
@ -7,10 +7,8 @@ interface Optionss {
|
|||||||
links: Record<string, string>
|
links: Record<string, string>
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(globalThis.remark_config)
|
|
||||||
|
|
||||||
export default ((opts?: Optionss) => {
|
export default ((opts?: Optionss) => {
|
||||||
function Footer() {
|
function Footer({ displayClass }: QuartzComponentProps) {
|
||||||
const year = new Date().getFullYear()
|
const year = new Date().getFullYear()
|
||||||
const links = opts?.links ?? []
|
const links = opts?.links ?? []
|
||||||
return (
|
return (
|
||||||
@ -25,7 +23,7 @@ export default ((opts?: Optionss) => {
|
|||||||
© be-far {year}. Powered by <a href="https://quartz.jzhao.xyz/">Quartz</a>.
|
© be-far {year}. Powered by <a href="https://quartz.jzhao.xyz/">Quartz</a>.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
not legal advice 🤟
|
not legal advice 🤟
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
{Object.entries(links).map(([text, link]) => (
|
{Object.entries(links).map(([text, link]) => (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user