feat: Add verified badge to team member card (#216)

Co-authored-by: Kendell R <KTibow@users.noreply.github.com>
Co-authored-by: Ushie <ushiekane@gmail.com>
This commit is contained in:
oSumAtrIX
2024-09-08 22:31:57 +02:00
committed by GitHub
parent 7c066ac0b5
commit 486e9ef62e
6 changed files with 158 additions and 13 deletions

View File

@@ -0,0 +1,29 @@
<script lang="ts">
import { tooltip } from 'svooltip';
import '../styles/ToolTip.scss';
export let content: string;
export let html: boolean = false;
</script>
<div
use:tooltip={{
content: content,
html: html
}}
>
<slot />
</div>
<style>
:root {
--svooltip-bg: var(--surface-three);
--svooltip-text: var(--text-four);
--svooltip-padding: 0.75rem 1rem;
--svooltip-weight: bold;
--svooltip-text-size: 16px;
--svooltip-shadow: var(--drop-shadow-one);
--svooltip-arrow-size: 0;
--svooltip-roundness: 12px;
}
</style>