mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-20 14:52:13 +00:00
toc
This commit is contained in:
parent
3a29f4c86e
commit
b8c011410d
21 changed files with 233 additions and 66 deletions
quartz/components
|
@ -1,4 +1,3 @@
|
|||
import style from './styles/header.scss'
|
||||
import { QuartzComponentProps } from "./types"
|
||||
|
||||
export default function Header({ children }: QuartzComponentProps) {
|
||||
|
@ -7,4 +6,18 @@ export default function Header({ children }: QuartzComponentProps) {
|
|||
</header>
|
||||
}
|
||||
|
||||
Header.css = style
|
||||
Header.css = `
|
||||
header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin: 1em 0 2em 0;
|
||||
& > h1 {
|
||||
}
|
||||
}
|
||||
|
||||
header > h1 {
|
||||
margin: 0;
|
||||
flex: auto;
|
||||
}
|
||||
`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue