Files
speckle-server/packages/frontend-2/components/header/LogoBlock.vue
T
andrewwallacespeckle ec95ebdfb3 [WBX-31] Make account modal less annoying in the viewer (#2009)
* Changes settings card to team when logged out

* Speckle Logo to Marketing Site when logged out

* Add Signin button to desktop header

* Remove click counter - Launch modal instead

* Fix webhook being in Settings dialog

* Change team icon

* Changes from Benjamins Comments

* Remove Join the conversation

* Move dialogs to parent

* Move loginUrl logic to parent

* Small fixes

* Default active to true in LogoBlock

* Simplify HeaderLogoBlock for this ticket. Change type from CR
2024-02-05 15:32:01 +00:00

36 lines
680 B
Vue

<template>
<NuxtLink class="flex items-center shrink-0" :to="to" :target="target">
<img
class="h-8 w-8 block"
:class="{
grayscale: active
}"
src="~~/assets/images/speckle_logo_big.png"
alt="Speckle"
/>
<div
v-if="!minimal"
class="text-primary text-base mt-0 font-bold leading-7"
:class="showTextOnMobile ? '' : 'hidden md:flex'"
>
Speckle
</div>
</NuxtLink>
</template>
<script setup lang="ts">
withDefaults(
defineProps<{
minimal?: boolean
active?: boolean
to?: string
showTextOnMobile?: boolean
target?: string
}>(),
{
active: true,
to: '/'
}
)
</script>