add landingpage
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<script>
|
||||
import ImageTile from "./ImageTile.svelte";
|
||||
/** @type {string} **/
|
||||
export let src;
|
||||
/** @type {string} **/
|
||||
export let href;
|
||||
/** @type {"_self" | "_blank" | "_parent" | "_top" } **/
|
||||
export let target = "_self";
|
||||
</script>
|
||||
|
||||
<div class="hover:invert">
|
||||
<ImageTile {src}>
|
||||
<a {href} {target} class="flex items-center justify-center h-full">
|
||||
<slot />
|
||||
</a>
|
||||
</ImageTile>
|
||||
</div>
|
||||
Reference in New Issue
Block a user