mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-21 08:15:12 +02:00
Navigation progress
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import IconButton from '../IconButton.svelte';
|
||||
import { ChevronLeft, ChevronRight } from 'radix-icons-svelte';
|
||||
import classNames from 'classnames';
|
||||
import type { Registerer } from '../../actions/focusAction';
|
||||
|
||||
export let gradientFromColor = 'from-stone-950';
|
||||
export let heading = '';
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
<script lang="ts">
|
||||
import CardPlaceholder from '../Card/CardPlaceholder.svelte';
|
||||
import { Container } from '../../actions/focusAction';
|
||||
export let size: 'dynamic' | 'md' | 'lg' = 'md';
|
||||
export let orientation: 'landscape' | 'portrait' = 'landscape';
|
||||
|
||||
export let container: Container;
|
||||
let registerer = container.getRegisterer();
|
||||
</script>
|
||||
|
||||
{#each Array(10) as _, i (i)}
|
||||
<CardPlaceholder {size} index={i} {orientation} />
|
||||
<div tabindex="0" use:registerer>
|
||||
<CardPlaceholder {size} index={i} {orientation} />
|
||||
</div>
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user