This commit is contained in:
dhain 2022-10-11 11:09:09 +02:00
parent 7abdbe605b
commit cdefc2e993
4 changed files with 6 additions and 12 deletions

View file

@ -1,5 +1,3 @@
<!-- ---------------------------------------------------------------- -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en" data-theme="emerald"> <html lang="en" data-theme="emerald">
<head> <head>
@ -7,7 +5,7 @@
<meta name="theme-color" content="#1e88e5"> <meta name="theme-color" content="#1e88e5">
<link rel="icon" href="../src/resources/images/logo2.svg" /> <link rel="icon" href="../src/resources/images/logo2.svg" />
<meta name="color-scheme" content="dark light"> <meta name="color-scheme" content="dark light">
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="%sveltekit.assets%/manifest.json">
<meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="mobile-web-app-capable" content="yes" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head% %sveltekit.head%
@ -16,5 +14,3 @@
<div>%sveltekit.body%</div> <div>%sveltekit.body%</div>
</body> </body>
</html> </html>
<!-- ---------------------------------------------------------------- -->

View file

@ -8,6 +8,9 @@
onMount(async () => { onMount(async () => {
notes = await noteRepo.getNotes(); notes = await noteRepo.getNotes();
notes.forEach(note => {
note.lastViewed = new Date(note.lastViewed);
});
}); });
/** /**

View file

@ -1,4 +1,3 @@
/// <reference lib="webworker" /> /// <reference lib="webworker" />
import { build, files, version } from '$service-worker'; import { build, files, version } from '$service-worker';
@ -77,6 +76,3 @@ worker.addEventListener('fetch', (event) => {
); );
} }
}); });

View file

@ -1,4 +1,3 @@
{ {
"lang": "en", "lang": "en",
"dir": "/", "dir": "/",