Landing + other fixes (#909)

This commit is contained in:
Geometrically
2023-01-13 12:01:20 -07:00
committed by GitHub
parent 17f00e6fea
commit 6a52d03329
4 changed files with 14 additions and 27 deletions

View File

@@ -9,17 +9,15 @@
@click="hide"
/>
<div class="modal-body" :class="{ shown: shown }">
<template v-if="shown">
<div v-if="header" class="header">
<h1>{{ header }}</h1>
<button class="iconified-button icon-only transparent" @click="hide">
<CrossIcon />
</button>
</div>
<div class="content">
<slot></slot>
</div>
</template>
<div v-if="header" class="header">
<h1>{{ header }}</h1>
<button class="iconified-button icon-only transparent" @click="hide">
<CrossIcon />
</button>
</div>
<div class="content">
<slot></slot>
</div>
</div>
</div>
</template>