From 2f6d981ecf73fcdaefbbcbd2f35818a225dbcd65 Mon Sep 17 00:00:00 2001
From: Davis SHYAKA <87414827+davis-shyaka@users.noreply.github.com>
Date: Sun, 6 Oct 2024 10:28:53 +0200
Subject: [PATCH] meh
---
.../shared/command/command-input.svelte | 19 +++
.../shared/command/command-list.svelte | 125 +++++++++---------
.../components/shared/command/command.svelte | 90 +------------
3 files changed, 92 insertions(+), 142 deletions(-)
create mode 100644 src/lib/components/shared/command/command-input.svelte
diff --git a/src/lib/components/shared/command/command-input.svelte b/src/lib/components/shared/command/command-input.svelte
new file mode 100644
index 0000000..f099ae6
--- /dev/null
+++ b/src/lib/components/shared/command/command-input.svelte
@@ -0,0 +1,19 @@
+
+
+
diff --git a/src/lib/components/shared/command/command-list.svelte b/src/lib/components/shared/command/command-list.svelte
index cdb4d54..ef60285 100644
--- a/src/lib/components/shared/command/command-list.svelte
+++ b/src/lib/components/shared/command/command-list.svelte
@@ -1,71 +1,78 @@
-
-
- No results found for
-
- "{search}"
- .
-
- {#each Object.entries(aside_items) as item}
- {@const [group, links] = item}
-
-
- {group}
-
- {#each links as link}
- {@const disabled = link.status == 'soon'}
-
- {#snippet child({ props })}
-
- {#if link.icon}
- {@const Icon = link.icon}
-
-
-
- {:else}
-
-
-
- {/if}
- {link.title}
- {#if link.status === 'new'}
- New
- {/if}
- {#if link.status === 'soon'}
- Soon
- {/if}
- {#if link.status === 'draft'}
- Draft
- {/if}
-
- {/snippet}
-
- {/each}
-
- {/each}
+
+
+
+ No results found.
+
+ {#each Object.entries(aside_items) as item}
+ {@const [group, links] = item}
+
+
+ {group}
+
+
+ {#each links as link}
+ {@const disabled = link.status == 'soon'}
+
+ {#snippet child({ props })}
+
+ {#if link.icon}
+ {@const Icon = link.icon}
+
+
+
+ {:else}
+
+
+
+ {/if}
+ {link.title}
+ {#if link.status === 'new'}
+ New
+ {/if}
+ {#if link.status === 'soon'}
+ Soon
+ {/if}
+ {#if link.status === 'draft'}
+ Draft
+ {/if}
+
+ {/snippet}
+
+ {/each}
+
+
+ {/each}
+
diff --git a/src/lib/components/shared/command/command.svelte b/src/lib/components/shared/command/command.svelte
index d1cca1f..a874b2d 100644
--- a/src/lib/components/shared/command/command.svelte
+++ b/src/lib/components/shared/command/command.svelte
@@ -1,13 +1,11 @@
@@ -48,90 +44,18 @@
-
-
-
-
- No results found.
-
- {#each Object.entries(aside_items) as item}
- {@const [group, links] = item}
-
-
- {group}
-
-
- {#each links as link}
- {@const disabled = link.status == 'soon'}
-
- {#snippet child({ props })}
-
- {#if link.icon}
- {@const Icon = link.icon}
-
-
-
- {:else}
-
-
-
- {/if}
- {link.title}
- {#if link.status === 'new'}
- New
- {/if}
- {#if link.status === 'soon'}
- Soon
- {/if}
- {#if link.status === 'draft'}
- Draft
- {/if}
-
- {/snippet}
-
- {/each}
-
-
- {/each}
-
-
+
+
{:else}
-
+
-
-
+
+
-
+