feat: refine branded dual-portal prototype
This commit is contained in:
1 parent
78339580a5
commit
bebff16a2d
14 files changed
+1042
-1089
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<script setup lang="ts">
|
||||
import { X } from 'lucide-vue-next'
|
||||
|
||||
defineProps<{ title: string; eyebrow?: string }>()
|
||||
defineEmits<{ close: [] }>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="slide-overlay" @click="$emit('close')"></div>
|
||||
<aside class="slide-panel">
|
||||
<header><div><span>{{ eyebrow ?? 'DETAILS' }}</span><h2>{{ title }}</h2></div><button class="icon-button" @click="$emit('close')"><X :size="18" /></button></header>
|
||||
<div class="slide-content"><slot /></div>
|
||||
<footer><slot name="footer" /></footer>
|
||||
</aside>
|
||||
</template>
|
||||
@@ -0,0 +1,16 @@
|
||||
<script setup lang="ts">
|
||||
import { X } from 'lucide-vue-next'
|
||||
|
||||
defineProps<{ title: string; eyebrow?: string }>()
|
||||
defineEmits<{ close: [] }>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="modal-overlay" @click.self="$emit('close')">
|
||||
<section class="modal">
|
||||
<header><div><span>{{ eyebrow ?? 'MOYI CONSOLE' }}</span><h2>{{ title }}</h2></div><button class="icon-button" @click="$emit('close')"><X :size="18" /></button></header>
|
||||
<div class="modal-body"><slot /></div>
|
||||
<footer><slot name="footer" /></footer>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
Reference in new issue
Block a user