fucked up the class name Homebar >> Rings in Rings.tsx

This commit is contained in:
Heli-o 2024-04-20 17:03:27 +02:00
parent 89a499d231
commit 667f246d7f

View file

@ -3,7 +3,7 @@ import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } fro
import { classNames } from "../util/lang" import { classNames } from "../util/lang"
import { i18n } from "../i18n" import { i18n } from "../i18n"
const Homebar: QuartzComponent = ({ fileData, cfg, displayClass }: QuartzComponentProps) => { const Rings: QuartzComponent = ({ fileData, cfg, displayClass }: QuartzComponentProps) => {
const title = cfg?.pageTitle ?? i18n(cfg.locale).propertyDefaults.title const title = cfg?.pageTitle ?? i18n(cfg.locale).propertyDefaults.title
const baseDir = pathToRoot(fileData.slug!) const baseDir = pathToRoot(fileData.slug!)
return ( return (
@ -18,7 +18,7 @@ const Homebar: QuartzComponent = ({ fileData, cfg, displayClass }: QuartzCompone
) )
} }
Homebar.css = ` Rings.css = `
.ring { .ring {
display:flex; display:flex;
flex-flow: row wrap; flex-flow: row wrap;
@ -46,4 +46,4 @@ Homebar.css = `
} }
` `
export default (() => Homebar) satisfies QuartzComponentConstructor export default (() => Rings) satisfies QuartzComponentConstructor