2023-06-08 12:27:32 +07:00
|
|
|
import { QuartzComponentProps } from "./types"
|
2023-06-02 06:05:14 +07:00
|
|
|
|
2023-06-08 12:27:32 +07:00
|
|
|
export default function Header({ children }: QuartzComponentProps) {
|
2023-06-02 06:05:14 +07:00
|
|
|
return <header>
|
2023-06-08 12:27:32 +07:00
|
|
|
{children}
|
2023-06-02 06:05:14 +07:00
|
|
|
</header>
|
|
|
|
}
|
2023-06-04 02:07:19 +07:00
|
|
|
|
2023-06-10 13:06:02 +07:00
|
|
|
Header.css = `
|
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
margin: 1em 0 2em 0;
|
|
|
|
& > h1 {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
header > h1 {
|
|
|
|
margin: 0;
|
|
|
|
flex: auto;
|
|
|
|
}
|
|
|
|
`
|