Skip to content

armgit / boop

Public Imported from GitHub
0

A tiny, self-hosted notification inbox for developers. Something happened in one of your apps; Boop tells you on your phone.

HTML
536 B
Raw Blame
<script lang="ts">
  import type { Snippet } from 'svelte'
  let { title, children }: { title: string; children?: Snippet } = $props()
</script>

<div class="empty">
  <div class="t">{title}</div>
  {#if children}<div class="b">{@render children()}</div>{/if}
</div>

<style>
  .empty { padding: var(--up-space-6) var(--up-space-4); text-align: center; }
  .t { font: var(--up-type-setting); color: var(--up-text-secondary); }
  .b { font: var(--up-type-meta); color: var(--up-text-muted); margin-top: 6px; line-height: 1.6; }
</style>