🚧 Switch to monorepo with Turbo
This commit is contained in:
21
apps/website/src/components/atoms/BoxCTA.svelte
Normal file
21
apps/website/src/components/atoms/BoxCTA.svelte
Normal file
@@ -0,0 +1,21 @@
|
||||
<style lang="scss">
|
||||
@import "../../style/atoms/box-cta";
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
import Icon from '$components/atoms/Icon.svelte'
|
||||
|
||||
export let icon: string
|
||||
export let alt: string
|
||||
export let label: string
|
||||
export let url: string
|
||||
</script>
|
||||
|
||||
<a href={url} class="box-cta">
|
||||
<div class="icon">
|
||||
<Icon icon={icon} label={alt} />
|
||||
</div>
|
||||
<span class="text-label">
|
||||
{label}
|
||||
</span>
|
||||
</a>
|
||||
Reference in New Issue
Block a user