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/ArcadeFooterShelf.svelte | 32 +++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 src/components/jet/shelf/ArcadeFooterShelf.svelte

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

diff --git a/src/components/jet/shelf/ArcadeFooterShelf.svelte b/src/components/jet/shelf/ArcadeFooterShelf.svelte
new file mode 100644
index 0000000..dc46740
--- /dev/null
+++ b/src/components/jet/shelf/ArcadeFooterShelf.svelte
@@ -0,0 +1,32 @@
+<script lang="ts" context="module">
+    import type { Shelf, ArcadeFooter } from '@jet-app/app-store/api/models';
+
+    interface ArcadeFooterShelf extends Shelf {
+        items: [ArcadeFooter];
+    }
+
+    export function isArcadeFooterShelf(
+        shelf: Shelf,
+    ): shelf is ArcadeFooterShelf {
+        const { contentType, items } = shelf;
+
+        return contentType === 'arcadeFooter' && Array.isArray(items);
+    }
+</script>
+
+<script lang="ts">
+    import ArcadeFooterItem from '~/components/jet/item/ArcadeFooterItem.svelte';
+    import HorizontalShelf from '~/components/jet/shelf/HorizontalShelf.svelte';
+    import ShelfWrapper from '~/components/Shelf/Wrapper.svelte';
+
+    export let shelf: ArcadeFooterShelf;
+
+    $: gridRows = shelf.rowsPerColumn ?? undefined;
+    $: items = shelf.items;
+</script>
+
+<ShelfWrapper {shelf} withBottomPadding={false}>
+    <HorizontalShelf {gridRows} gridType="Spotlight" {items} let:item>
+        <ArcadeFooterItem {item} />
+    </HorizontalShelf>
+</ShelfWrapper>
-- 
cgit v1.2.3

