Initial commit
This commit is contained in:
commit
3f501820b1
173 changed files with 24001 additions and 0 deletions
22
quartz/components/Separator.tsx
Executable file
22
quartz/components/Separator.tsx
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"
|
||||
import style from "./styles/footer.scss"
|
||||
import { version } from "../../package.json"
|
||||
|
||||
interface Options {
|
||||
links: Record<string, string>
|
||||
}
|
||||
|
||||
export default ((opts?: Options) => {
|
||||
const Separator: QuartzComponent = ({ displayClass }: QuartzComponentProps) => {
|
||||
const year = new Date().getFullYear()
|
||||
const links = opts?.links ?? []
|
||||
return (
|
||||
<footer class={`${displayClass ?? ""}`}>
|
||||
<hr></hr>
|
||||
</footer>
|
||||
)
|
||||
}
|
||||
|
||||
Separator.css = style
|
||||
return Separator
|
||||
}) satisfies QuartzComponentConstructor
|
||||
Loading…
Add table
Add a link
Reference in a new issue