-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
c727669
commit ec95ebd
Showing
9 changed files
with
94 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,35 @@ | ||
<template> | ||
<NuxtLink class="flex items-center shrink-0" to="/"> | ||
<NuxtLink class="flex items-center shrink-0" :to="to" :target="target"> | ||
<img | ||
class="block h-6 w-6" | ||
:class="{ 'mr-2': !minimal, grayscale: active }" | ||
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 h6 mt-0 hidden font-bold leading-7 md:flex" | ||
class="text-primary text-base mt-0 font-bold leading-7" | ||
:class="showTextOnMobile ? '' : 'hidden md:flex'" | ||
> | ||
Speckle | ||
</div> | ||
</NuxtLink> | ||
</template> | ||
<script setup lang="ts"> | ||
defineProps({ | ||
minimal: { | ||
type: Boolean, | ||
default: false | ||
}, | ||
active: { | ||
type: Boolean, | ||
default: true | ||
withDefaults( | ||
defineProps<{ | ||
minimal?: boolean | ||
active?: boolean | ||
to?: string | ||
showTextOnMobile?: boolean | ||
target?: string | ||
}>(), | ||
{ | ||
active: true, | ||
to: '/' | ||
} | ||
}) | ||
) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters