Add visit landing page site button
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<script lang="ts">
|
||||
import PrimaryButton from '$lib/components/PrimaryButton/index.svelte';
|
||||
import ArrowUpRightIcon from '$lib/components/Icons/ArrowTopRight.svelte';
|
||||
import { currentOrg } from '$lib/utils/store/org';
|
||||
|
||||
export let className = '';
|
||||
</script>
|
||||
|
||||
<a
|
||||
href={`https://${$currentOrg.siteName}.classroomio.com`}
|
||||
target="_blank"
|
||||
class="{className} ml-2 hover:no-underline"
|
||||
>
|
||||
<PrimaryButton>
|
||||
View site
|
||||
<ArrowUpRightIcon />
|
||||
</PrimaryButton>
|
||||
</a>
|
||||
Reference in New Issue
Block a user