Expand shared profile and about dialogs
Lint / Lint (Go) (push) Successful in 17s
Lint / Lint (Python) (push) Successful in 9s
Tests / Test (Node/Svelte) (push) Successful in 13s
Tests / Test (Go) (push) Successful in 17s
Tests / Test (Python) (push) Successful in 9s
Lint / Lint (Node/Svelte) (push) Successful in 14s
Lint / Lint (Go) (push) Successful in 17s
Lint / Lint (Python) (push) Successful in 9s
Tests / Test (Node/Svelte) (push) Successful in 13s
Tests / Test (Go) (push) Successful in 17s
Tests / Test (Python) (push) Successful in 9s
Lint / Lint (Node/Svelte) (push) Successful in 14s
This commit is contained in:
1 parent
d134d6626a
commit
c95865dbe2
3 files changed
+44
-1
No files matched your search
@@ -1,15 +1,18 @@
|
||||
<script lang="ts">
|
||||
import type { Snippet } from 'svelte';
|
||||
import type { AboutLink } from '../types';
|
||||
import Dialog from './Dialog.svelte';
|
||||
|
||||
let {
|
||||
brand = 'Application',
|
||||
children,
|
||||
description = '',
|
||||
links = [],
|
||||
open = $bindable(false),
|
||||
version = ''
|
||||
}: {
|
||||
brand?: string;
|
||||
children?: Snippet;
|
||||
description?: string;
|
||||
links?: AboutLink[];
|
||||
open?: boolean;
|
||||
@@ -31,6 +34,10 @@
|
||||
<p class="sc-muted">{description}</p>
|
||||
{/if}
|
||||
|
||||
{#if children}
|
||||
{@render children()}
|
||||
{/if}
|
||||
|
||||
{#if links.length > 0}
|
||||
<div class="sc-about-links">
|
||||
{#each links as link}
|
||||
|
||||
Reference in new issue
Block a user