diff --git a/Dockerfile b/Dockerfile index 92164df..4e25c27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ WORKDIR /src # Deps Stage COPY package.json . -RUN pnpm i --frozen-lockfile +RUN npm i # Build Stage COPY . . diff --git a/src/lib/components/SwipeableWeatherGrid.svelte b/src/lib/components/SwipeableWeatherGrid.svelte new file mode 100644 index 0000000..978cf57 --- /dev/null +++ b/src/lib/components/SwipeableWeatherGrid.svelte @@ -0,0 +1,271 @@ + + + + + + +
+
+ {#each cardStack.slice(0, 3) as period, index (period.number)} +
+ {#if index === 0} +
+ +
+ {:else} + + {/if} +
+ {/each} +
+ + +
+ +
+ + +
+ Swipe left or right to dismiss +
+
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index b6ab3c6..9dd3f20 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,6 @@