refactored so i can add another component to header

This commit is contained in:
2024-10-11 00:14:26 -05:00
parent d87064b289
commit bba3cf4fc7
2 changed files with 5 additions and 8 deletions

View File

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