aboutsummaryrefslogtreecommitdiff
path: root/src/routes/index.svelte
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-02-20 02:16:09 -0600
committermat <github@matdoes.dev>2022-02-20 02:16:09 -0600
commit582409e7cb1598b65bee6d1023b77620bb3791af (patch)
tree522b3cb23451c01d097386014e9b2632aab5bfbe /src/routes/index.svelte
parent2c09443ba23b8bfbac2eb667a036e7a7fa97b3fe (diff)
downloadskyblock-stats-582409e7cb1598b65bee6d1023b77620bb3791af.tar.gz
skyblock-stats-582409e7cb1598b65bee6d1023b77620bb3791af.tar.bz2
skyblock-stats-582409e7cb1598b65bee6d1023b77620bb3791af.zip
add inventories
Diffstat (limited to 'src/routes/index.svelte')
-rw-r--r--src/routes/index.svelte52
1 files changed, 2 insertions, 50 deletions
diff --git a/src/routes/index.svelte b/src/routes/index.svelte
index 68311dd..524df13 100644
--- a/src/routes/index.svelte
+++ b/src/routes/index.svelte
@@ -1,9 +1,5 @@
<script context="module" lang="ts">
- export const prerender = true;
-</script>
-
-<script lang="ts">
- import Counter from '$lib/Counter.svelte';
+ export const prerender = true
</script>
<svelte:head>
@@ -11,49 +7,5 @@
</svelte:head>
<section>
- <h1>
- <div class="welcome">
- <picture>
- <source srcset="svelte-welcome.webp" type="image/webp" />
- <img src="svelte-welcome.png" alt="Welcome" />
- </picture>
- </div>
-
- to your new<br />SvelteKit app
- </h1>
-
- <h2>
- try editing <strong>src/routes/index.svelte</strong>
- </h2>
-
- <Counter />
+ <h1>SkyBlock Stats</h1>
</section>
-
-<style>
- section {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- flex: 1;
- }
-
- h1 {
- width: 100%;
- }
-
- .welcome {
- position: relative;
- width: 100%;
- height: 0;
- padding: 0 0 calc(100% * 495 / 2048) 0;
- }
-
- .welcome img {
- position: absolute;
- width: 100%;
- height: 100%;
- top: 0;
- display: block;
- }
-</style>