1
0

refactored so i can add another component to header

This commit is contained in:
Nicola Clark 2024-10-11 00:14:26 -05:00
parent d87064b289
commit bba3cf4fc7
Signed by: nicola
GPG Key ID: 3E1710E7FF08956C
2 changed files with 5 additions and 8 deletions

View File

@ -1,15 +1,10 @@
<header>
<h1><slot /></h1> <h1><slot /></h1>
</header>
<style lang="less"> <style lang="less">
h1 { h1 {
text-align: center;
}
header {
background-color: @color-dark; background-color: @color-dark;
color: @color-light; color: @color-light;
padding: @padding-md; padding: @padding-md;
text-align: center;
} }
</style> </style>

View File

@ -5,4 +5,6 @@
<svelte:head> <svelte:head>
<title>resumarkdown</title> <title>resumarkdown</title>
</svelte:head> </svelte:head>
<header>
<Headline>resumarkdown</Headline> <Headline>resumarkdown</Headline>
</header>