-
-
- {#if admin}
-
- {/if}
-
-
+
+
+
+
+ {#if admin}
+
+ {/if}
+
{#if filteredStrategies.length}
- {#each filteredStrategies as strategy (strategy.id)}
-
+ {#each filteredStrategies as strategy, idx (strategy.id)}
+ {@const params = { duration: 200, delay: 50 * idx, easing: cubicOut }}
+
+
+
{/each}
{:else}
- Currently no open strategies available.
+
+ Currently no
+ {#if selectedStatus !== 'all'}
+ {selectedStatus}
+ {/if}
+ {#if selectedChain !== 'all'}
+ {getChain(selectedChain)?.name}
+ {/if}
+ strategies available.
+
Join Discord to get access.
@@ -64,6 +103,27 @@
margin-top: 1.25rem;
}
+ .filters {
+ display: grid;
+ gap: 0.75rem 1rem;
+ grid-template-columns: auto auto;
+ justify-content: space-between;
+ margin-block: -1.5rem 1.75rem;
+ text-transform: capitalize;
+
+ @media (--viewport-md-down) {
+ margin-block: -1rem 1.5rem;
+ }
+
+ @media (--viewport-sm-down) {
+ grid-template-columns: 1fr;
+ }
+
+ @media (--viewport-xs) {
+ margin-block: -0.75rem 1.25rem;
+ }
+ }
+
.strategy-tiles {
display: grid;
grid-template-columns: 1fr 1fr;
diff --git a/src/routes/strategies/StrategyDataSummary.svelte b/src/routes/strategies/StrategyDataSummary.svelte
index 466b5b7c8..6d5d1e438 100644
--- a/src/routes/strategies/StrategyDataSummary.svelte
+++ b/src/routes/strategies/StrategyDataSummary.svelte
@@ -1,7 +1,7 @@