chore: Remove older UI (#11720)
This commit is contained in:
@@ -23,16 +23,17 @@ export default {
|
||||
|
||||
<template>
|
||||
<div
|
||||
class="flex flex-col min-w-[15rem] max-h-[21.25rem] max-w-[23.75rem] rounded-md border border-solid border-n-strong"
|
||||
class="flex flex-col min-w-[15rem] max-h-[21.25rem] max-w-[23.75rem] rounded-md border border-solid"
|
||||
:class="{
|
||||
'bg-woot-25 dark:bg-n-solid-2 border border-solid border-n-blue-border':
|
||||
active,
|
||||
'bg-n-blue-1 dark:bg-n-solid-2 border-n-blue-4': active,
|
||||
'border-n-weak': !active,
|
||||
}"
|
||||
>
|
||||
<div
|
||||
class="flex justify-between items-center rounded-t-md px-2 w-full h-10 bg-slate-50 dark:bg-slate-900 border-b border-solid border-n-strong"
|
||||
class="flex justify-between items-center rounded-t-md px-2 w-full h-10 border-b border-solid"
|
||||
:class="{
|
||||
'bg-woot-50 border-b border-solid border-n-blue-border': active,
|
||||
'bg-n-blue-2 border-n-blue-4': active,
|
||||
'bg-n-slate-2 border-n-weak': !active,
|
||||
}"
|
||||
>
|
||||
<div class="flex items-center p-1 text-sm font-medium">{{ heading }}</div>
|
||||
@@ -41,23 +42,19 @@ export default {
|
||||
icon="checkmark-circle"
|
||||
type="solid"
|
||||
size="24"
|
||||
class="text-woot-500 dark:text-woot-500"
|
||||
class="text-n-brand"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
class="text-slate-700 dark:text-slate-200 text-xs leading-[1.4] px-3 pt-3 pb-0 text-start"
|
||||
class="text-n-slate-11 text-xs leading-[1.4] px-3 pt-3 pb-0 text-start"
|
||||
>
|
||||
{{ content }}
|
||||
</div>
|
||||
<div v-if="src" class="p-3">
|
||||
<img
|
||||
:src="src"
|
||||
class="border border-solid rounded-md"
|
||||
:class="
|
||||
active
|
||||
? 'border-woot-75 dark:border-woot-700'
|
||||
: 'border-slate-50 dark:border-slate-600'
|
||||
"
|
||||
class="border rounded-md"
|
||||
:class="active ? 'border-n-blue-border' : 'border-n-weak'"
|
||||
/>
|
||||
</div>
|
||||
<slot v-else />
|
||||
|
||||
Reference in New Issue
Block a user