Gisle Aune
4 years ago
4 changed files with 63 additions and 3 deletions
-
34svelte-ui/src/components/EmptyParentEntry.svelte
-
23svelte-ui/src/pages/FrontPage.svelte
-
6svelte-ui/src/stores/logs.ts
-
3svelte-ui/src/stores/markStale.ts
@ -0,0 +1,34 @@ |
|||||
|
<script lang="ts"> |
||||
|
import type { IconName } from "../external/icons"; |
||||
|
import ParentEntry from "./ParentEntry.svelte"; |
||||
|
|
||||
|
export let name = ""; |
||||
|
export let description = ""; |
||||
|
export let headerLink = ""; |
||||
|
export let hideIcon: boolean = false; |
||||
|
export let icon: IconName = "anchor"; |
||||
|
|
||||
|
let entry; |
||||
|
|
||||
|
$: { |
||||
|
entry = { |
||||
|
id: "__empty", |
||||
|
name: name, |
||||
|
description: description, |
||||
|
icon: icon, |
||||
|
}; |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<ParentEntry |
||||
|
entry={entry} |
||||
|
full={false} |
||||
|
headerLink={headerLink} |
||||
|
hideProgress={true} |
||||
|
hideIcon={hideIcon} |
||||
|
showTimeProgress={true} |
||||
|
annotations={[]} |
||||
|
removeHook={true} |
||||
|
> |
||||
|
<slot></slot> |
||||
|
</ParentEntry> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue