-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup site code, update color scheme and add animations
- Loading branch information
1 parent
e8b74f0
commit 0465278
Showing
18 changed files
with
702 additions
and
524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
mergeInto(LibraryManager.library, { | ||
WASMSave: function(pointer, length) { | ||
WASMSave: function (pointer, length) { | ||
const settings = UTF8ToString(pointer, length); | ||
Settings.save(settings); | ||
}, | ||
WASMLoad: function() { | ||
WASMLoad: function () { | ||
const settings = Settings.get(); | ||
const ptr = allocateUTF8(settings); | ||
return ptr; | ||
}, | ||
WASMLoaded: function(ptr) { | ||
WASMLoaded: function (ptr) { | ||
Module._free(ptr); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<noscript><style> .jsonly { display: none } </style></noscript> | ||
%sveltekit.head% | ||
</head> | ||
<body data-sveltekit-preload-data="hover" class="h-screen touch-none"> | ||
<div style="display: contents">%sveltekit.body%</div> | ||
<script async src="fixes.js"></script> | ||
</body> | ||
</html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<noscript> | ||
<style> | ||
.jsonly { | ||
display: none | ||
} | ||
</style> | ||
</noscript> | ||
%sveltekit.head% | ||
</head> | ||
|
||
<body data-sveltekit-preload-data="hover" class="h-screen touch-none"> | ||
<div style="display: contents">%sveltekit.body%</div> | ||
<script async src="fixes.js"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
"Right": "Derecha", | ||
"A": "A" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
"Right": "Droite", | ||
"A": "A" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,26 @@ | ||
<script> | ||
import { page } from '$app/stores' | ||
import { onMount} from "svelte"; | ||
import { get } from 'svelte/store'; | ||
import { page } from '$app/stores'; | ||
import { onMount } from 'svelte'; | ||
import StatusContainer from './status-container.svelte'; | ||
onMount(() => { | ||
document.title = "Error" + ($page.error?.message ? " - " + $page.error.message : ""); | ||
}); | ||
onMount(() => { | ||
document.title = 'Error' + ($page.error?.message ? ' - ' + $page.error.message : ''); | ||
}); | ||
</script> | ||
<style lang="postcss"> | ||
:global(html) { | ||
background-color: theme(colors.neutral.800); | ||
overflow: hidden; | ||
} | ||
</style> | ||
<div class="absolute flex top-0 bottom-0 left-0 right-0 items-center justify-center pointer-events-none -z-50"> | ||
<div id="status-container" class="rounded-lg bg-slate-50 shadow-xl p-8 m-8"> | ||
<div class="emscripten select-none text-center text-2xl lg:text-6xl font-bold" id="status"> | ||
<h1>¯\_(ツ)_/¯<br/>An error has occurred, sorry!</h1> | ||
{#if $page.error} | ||
<hr class="h-0.5 lg:h-1 bg-black rounded-lg"/> | ||
<div class="text-xl lg:text-3xl font-normal text-left px-4 pt-2"> | ||
{#if $page?.status} | ||
<p><i class="italic">Status:</i> {$page?.status}</p> | ||
{/if} | ||
{#if $page?.error?.message} | ||
<p><i class="italic">Error Message:</i> {$page?.error?.message}</p> | ||
{/if} | ||
</div> | ||
{/if} | ||
</div> | ||
</div> | ||
</div> | ||
<StatusContainer> | ||
<svelte:fragment slot="status-slot"> | ||
<h1>¯\_(ツ)_/¯<br />An error has occurred, sorry!</h1> | ||
{#if $page.error} | ||
<hr class="h-0.5 lg:h-1 bg-black rounded-lg" /> | ||
<div class="text-xl lg:text-3xl font-normal text-left px-4 pt-2"> | ||
{#if $page?.status} | ||
<p><i class="italic">Status:</i> {$page?.status}</p> | ||
{/if} | ||
{#if $page?.error?.message} | ||
<p><i class="italic">Error Message:</i> {$page?.error?.message}</p> | ||
{/if} | ||
</div> | ||
{/if} | ||
</svelte:fragment> | ||
</StatusContainer> |
Oops, something went wrong.