web: reusable meowbalt component & page placeholders

This commit is contained in:
wukko
2024-06-16 20:32:09 +06:00
parent fc9531c388
commit 1b5547c508
12 changed files with 76 additions and 32 deletions

View File

@@ -0,0 +1,14 @@
<img
id="meowbalt-loaf"
src="/meowbalt/loaf.png"
height="152"
width="141"
alt="black and white cat smiling and loafing"
/>
<style>
#meowbalt-loaf {
display: block;
margin: 0;
object-fit: cover;
}
</style>

View File

@@ -0,0 +1,16 @@
<script>
import MeowbaltLoaf from "../meowbalt/MeowbaltLoaf.svelte";
export let pageName;
</script>
<div id="placeholder-container" class="center-column-container">
<MeowbaltLoaf />
<div>{pageName} page is not ready yet!</div>
</div>
<style>
#placeholder-container {
gap: var(--padding);
text-align: center;
}
</style>