Files
speckle-server/packages/frontend-2/components/onboarding/dialog/FirstSend.vue
T
andrewwallacespeckle 45b958397f feat(fe2): vimeo video wrapper component and update links from youtube (#2155)
* Swap Onboarding videos from YouTube to Vimeo

* New VideoWrapper Component

* Update name to VimeoEmbed
2024-03-25 16:53:39 +00:00

34 lines
892 B
Vue
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<OnboardingDialogBase v-model:open="openState">
<template #header>Your First Model Upload </template>
<CommonVimeoEmbed
vimeo-id="925894349"
title="Onboarding: First Model Upload"
autoplay
controls
/>
<div class="flex justify-center my-1">
<FormButton size="xl" class="shadow-md" @click="emit('done')">Got it!</FormButton>
</div>
</OnboardingDialogBase>
</template>
<script setup lang="ts">
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { CubeIcon } from '@heroicons/vue/24/solid'
import { CommonVimeoEmbed } from '@speckle/ui-components'
const props = defineProps<{
open: boolean
}>()
const emit = defineEmits<{
(e: 'update:open', val: boolean): void
(e: 'done'): void
}>()
const openState = computed({
get: () => props.open,
set: (newVal) => emit('update:open', newVal)
})
</script>