2023-09-16 22:22:24 +01:00
|
|
|
<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';
|
2023-09-16 22:27:21 +01:00
|
|
|
import { isMobile } from '$lib/utils/store/useMobile';
|
2023-09-16 22:22:24 +01:00
|
|
|
|
|
|
|
|
export let className = '';
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<a
|
|
|
|
|
href={`https://${$currentOrg.siteName}.classroomio.com`}
|
|
|
|
|
target="_blank"
|
|
|
|
|
class="{className} ml-2 hover:no-underline"
|
|
|
|
|
>
|
|
|
|
|
<PrimaryButton>
|
2023-09-16 22:27:21 +01:00
|
|
|
{#if !$isMobile}
|
|
|
|
|
View site
|
|
|
|
|
{/if}
|
2023-09-16 22:22:24 +01:00
|
|
|
<ArrowUpRightIcon />
|
|
|
|
|
</PrimaryButton>
|
|
|
|
|
</a>
|