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

---
 .../overlay/TodayCardLockupListOverlay.svelte      | 42 ++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 src/components/jet/today-card/overlay/TodayCardLockupListOverlay.svelte

(limited to 'src/components/jet/today-card/overlay/TodayCardLockupListOverlay.svelte')

diff --git a/src/components/jet/today-card/overlay/TodayCardLockupListOverlay.svelte b/src/components/jet/today-card/overlay/TodayCardLockupListOverlay.svelte
new file mode 100644
index 0000000..1e7d297
--- /dev/null
+++ b/src/components/jet/today-card/overlay/TodayCardLockupListOverlay.svelte
@@ -0,0 +1,42 @@
+<script lang="ts" context="module">
+    import type {
+        TodayCardOverlay,
+        TodayCardLockupListOverlay,
+    } from '@jet-app/app-store/api/models';
+
+    export function isLockupListOverlay(
+        overlay: TodayCardOverlay,
+    ): overlay is TodayCardLockupListOverlay {
+        return overlay.kind === 'lockupList';
+    }
+</script>
+
+<script lang="ts">
+    import AppIcon from '~/components/AppIcon.svelte';
+    import LinkWrapper from '~/components/LinkWrapper.svelte';
+
+    export let overlay: TodayCardLockupListOverlay;
+</script>
+
+<div class="lockup-list">
+    {#each overlay.lockups as lockup}
+        <LinkWrapper action={lockup.clickAction}>
+            <AppIcon icon={lockup.icon} />
+        </LinkWrapper>
+    {/each}
+</div>
+
+<style>
+    .lockup-list {
+        display: flex;
+        gap: 12px;
+
+        @media (--range-xsmall-only) and (--sidebar-visible) {
+            gap: 10px;
+        }
+
+        @media (--range-small-up) {
+            gap: 16px;
+        }
+    }
+</style>
-- 
cgit v1.2.3

