mirror of
https://gitlab.com/MisterBiggs/brain-quartz.git
synced 2025-07-23 06:41:30 +00:00
inline scripts
This commit is contained in:
@@ -5,10 +5,10 @@ export interface HeaderProps {
|
||||
slug: string
|
||||
}
|
||||
|
||||
export default function({ title, slug }: HeaderProps) {
|
||||
export function Component({ title, slug }: HeaderProps) {
|
||||
const baseDir = resolveToRoot(slug)
|
||||
return <header>
|
||||
<h1><a href={baseDir}>{title}</a></h1>
|
||||
</header>
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user