course landing page improvements
This commit is contained in:
@@ -1,17 +1,13 @@
|
||||
<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';
|
||||
import { currentOrgDomain } from '$lib/utils/store/org';
|
||||
import { isMobile } from '$lib/utils/store/useMobile';
|
||||
|
||||
export let className = '';
|
||||
</script>
|
||||
|
||||
<a
|
||||
href={`https://${$currentOrg.siteName}.classroomio.com`}
|
||||
target="_blank"
|
||||
class="{className} ml-2 hover:no-underline"
|
||||
>
|
||||
<a href={$currentOrgDomain} target="_blank" class="{className} ml-2 hover:no-underline">
|
||||
<PrimaryButton>
|
||||
{#if !$isMobile}
|
||||
View site
|
||||
|
||||
Reference in New Issue
Block a user