-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(fe2): Gendo pre-launch tidyup (#3794)
* Styling updates * Gendo Icon update * Testing updates * updates from testing * Small design changes * Fix build * Fix dialog buttons * Testing updates * Lightbox effect * Fix tippy * Lightbox changes * Updates * Updates from testing * Fix import * Updates from testing * Add mixpanel * Reuse prompt * Move reuse button * Add v-tippy to truncated text * Container Query * Reorder buttons * Copy prompt. Image loading * Changes from testing * Alert consolodation * Final updates * Feedback * Typo * Updates form call with Benjamin * Controls to top * Changes from testing * Generic Feedback * Small changes from testing * Changes from Fabs * Small change * No max width on prompt * Add Dialog Transparent story * Open feedback dialog on click of button
- Loading branch information
1 parent
b55a9e5
commit 4483531
Showing
10 changed files
with
375 additions
and
108 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<template> | ||
<svg | ||
width="38" | ||
height="37" | ||
viewBox="0 0 38 37" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
fill-rule="evenodd" | ||
clip-rule="evenodd" | ||
d="M30.5695 7.84167C30.4459 7.87905 30.4465 8.05327 30.5704 8.08974L30.6008 8.09869C32.0949 8.53857 33.2612 9.70436 33.6956 11.1923C33.7314 11.3148 33.9059 11.3148 33.9425 11.1925C34.386 9.71452 35.5462 8.55207 37.0303 8.10336L37.0652 8.09282C37.1885 8.05553 37.1877 7.88161 37.064 7.84544L37.0283 7.835C35.5338 7.39799 34.3679 6.23128 33.938 4.74249C33.9028 4.62035 33.7287 4.62043 33.6922 4.7422C33.249 6.21893 32.0893 7.38202 30.6065 7.83048L30.5695 7.84167ZM31.4317 23.8166L31.4317 14.0863H31.4318V10.3168H31.4317V10.3162L26.998 10.3162V10.3168H17.2469L11.255 16.849V26.5794H11.2549V30.349H11.255V30.3494H15.6888V30.349L25.4397 30.349L31.4317 23.8166ZM26.998 26.5794L26.998 14.0863H15.6888L15.6888 26.5794H26.998Z" | ||
fill="currentColor" | ||
/> | ||
</svg> | ||
</template> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<template> | ||
<LayoutDialog v-model:open="isOpen" max-width="xl" is-transparent> | ||
<div class="relative flex flex-col items-center justify-center gap-2 w-full h-full"> | ||
<!-- Fullscreen button behind image to handle background clicks --> | ||
<!-- that are still inside dialog and show loading state --> | ||
<button | ||
class="absolute inset-0 flex items-center justify-center" | ||
@click="isOpen = false" | ||
> | ||
<CommonLoadingIcon /> | ||
</button> | ||
<NuxtImg | ||
:src="renderUrl" | ||
:alt="renderPrompt" | ||
class="relative z-10 w-full h-full max-h-[70vh] max-w-[80vw] object-contain" | ||
/> | ||
<div class="relative z-10 flex gap-2"> | ||
<FormButton | ||
:to="renderUrl" | ||
external | ||
target="_blank" | ||
download | ||
color="outline" | ||
:icon-left="ArrowDownTrayIcon" | ||
> | ||
Download | ||
</FormButton> | ||
<FormButton color="outline" :icon-left="XMarkIcon" @click="isOpen = false"> | ||
Close | ||
</FormButton> | ||
</div> | ||
</div> | ||
</LayoutDialog> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { XMarkIcon, ArrowDownTrayIcon } from '@heroicons/vue/24/solid' | ||
defineProps<{ | ||
renderUrl?: string | ||
renderPrompt?: string | ||
}>() | ||
const isOpen = defineModel<boolean>('open', { required: true }) | ||
</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
Oops, something went wrong.