init
This commit is contained in:
commit
d761a10bf7
102 changed files with 4761 additions and 0 deletions
12
lib/components/bio/elements/Banner.svelte
Normal file
12
lib/components/bio/elements/Banner.svelte
Normal file
|
@ -0,0 +1,12 @@
|
|||
<script lang="ts">
|
||||
export let banner: string | undefined = undefined;
|
||||
</script>
|
||||
|
||||
<div class="w-full h-80 bg-center bg-cover md:rounded-[32px] shadow" style="--banner: url({banner ?? ''})" />
|
||||
|
||||
<style lang="postcss">
|
||||
div {
|
||||
@apply bg-accent;
|
||||
background-image: var(--banner);
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue