mirror of
https://github.com/alrayyes/wiki.git
synced 2025-06-17 18:53:39 +00:00
darkmode scripts
This commit is contained in:
parent
89e0311a98
commit
4d3579ca98
13 changed files with 145 additions and 15 deletions
quartz/components
|
@ -8,7 +8,7 @@ export interface HeadProps {
|
|||
externalResources: StaticResources
|
||||
}
|
||||
|
||||
export function Component({ title, description, slug, externalResources }: HeadProps) {
|
||||
export default function Head({ title, description, slug, externalResources }: HeadProps) {
|
||||
const { css, js } = externalResources
|
||||
const baseDir = resolveToRoot(slug)
|
||||
const iconPath = baseDir + "/static/icon.png"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue