From bce557cc2dc767628bed6aac87301a1be7c5431b Mon Sep 17 00:00:00 2001
From: rxliuli <rxliuli@gmail.com>
Date: Tue, 4 Nov 2025 05:03:50 +0800
Subject: init commit

---
 src/components/jet/shelf/AppShowcaseShelf.svelte | 29 ++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 src/components/jet/shelf/AppShowcaseShelf.svelte

(limited to 'src/components/jet/shelf/AppShowcaseShelf.svelte')

diff --git a/src/components/jet/shelf/AppShowcaseShelf.svelte b/src/components/jet/shelf/AppShowcaseShelf.svelte
new file mode 100644
index 0000000..095acf2
--- /dev/null
+++ b/src/components/jet/shelf/AppShowcaseShelf.svelte
@@ -0,0 +1,29 @@
+<script lang="ts" context="module">
+    import type { AppShowcase, Shelf } from '@jet-app/app-store/api/models';
+
+    interface AppShowcaseShelf extends Shelf {
+        contentType: 'appShowcase';
+        items: [AppShowcase];
+    }
+
+    export function isAppShowcaseShelf(
+        shelf: Shelf,
+    ): shelf is AppShowcaseShelf {
+        return (
+            shelf.contentType === 'appShowcase' && Array.isArray(shelf.items)
+        );
+    }
+</script>
+
+<script lang="ts">
+    import ShelfWrapper from '~/components/Shelf/Wrapper.svelte';
+    import SmallLockup from '~/components/jet/item/SmallLockupItem.svelte';
+
+    export let shelf: AppShowcaseShelf;
+
+    $: item = shelf.items[0];
+</script>
+
+<ShelfWrapper {shelf} withTopMargin centered>
+    <SmallLockup item={item.lockup} />
+</ShelfWrapper>
-- 
cgit v1.2.3

