add metadata

This commit is contained in:
Emerald 2023-10-25 19:31:30 -04:00
parent 2228cfc713
commit 2a70d5300a
Signed by: emerald
GPG Key ID: 13F7EFB915A0F623
7 changed files with 20 additions and 19 deletions

View File

@ -4,6 +4,15 @@
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.ico" />
<meta name="viewport" content="width=device-width" />
<meta name="description" content="A small PNGTubing app" />
<title>Cathode</title>
<meta name="og:site_name" contnent="Cathode" />
<meta name="og:title" contnent="Cathode" />
<meta name="og:type" content="website" />
<meta name="og:description" content="A small PNGTubing app" />
<meta name="og:url" content="https://app.cathode.tube" />
<meta name="og:image" content="%sveltekit.assets%/icon.png" />
<meta name="og:image:width" content="512" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover" data-theme="hamlindigo" class="overflow-hidden">

View File

@ -123,6 +123,8 @@
<button
class="btn btn-xl p-4 w-24 md:w-32 variant-ghost-primary aspect-square cursor-pointer z-50"
aria-label="Preview of frame {index + 1}"
on:click={(e) => {
if (e.shiftKey) {
clearImage();

View File

@ -2,7 +2,7 @@
import { draggable } from '@neodrag/svelte';
import { onMount } from 'svelte';
import { tweened } from 'svelte/motion';
import { sineIn, sineOut } from 'svelte/easing';
import { sineOut } from 'svelte/easing';
// import { invoke } from "@tauri-apps/api";
export let value = 0;
export let withSetpoint = false;

View File

@ -1,16 +0,0 @@
<script lang="ts">
</script>
<div class="context">
<slot />
</div>
<style>
.context {
color: white;
background-color: rgba(75, 75, 75, 10);
padding: 1vh;
border-radius: 10px;
align-self: center;
}
</style>

View File

@ -1 +0,0 @@

View File

@ -6,7 +6,7 @@
// Floating UI for Popups
import { computePosition, autoUpdate, flip, shift, offset, arrow } from '@floating-ui/dom';
import { storePopup } from '@skeletonlabs/skeleton';
import { Toast, storePopup } from '@skeletonlabs/skeleton';
import { fly } from 'svelte/transition';
import Bar from '$lib/components/bar.svelte';
import { onDestroy, onMount } from 'svelte';
@ -14,7 +14,10 @@
import SaveButton from '$lib/components/SaveButton.svelte';
import LoadButton from '$lib/components/LoadButton.svelte';
import { frames } from "$lib/store"
import { initializeToastStore } from '@skeletonlabs/skeleton/dist/utilities/Toast/stores';
storePopup.set({ computePosition, autoUpdate, flip, shift, offset, arrow });
initializeToastStore();
// import { pwaInfo } from 'virtual:pwa-info';
@ -41,6 +44,8 @@
{@html webManifestLink}
</svelte:head> -->
<Toast />
<div class="{bgColor} w-screen h-screen" id="container">
<slot />
{#if !$transparent}

2
static/robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-Agent: *
Allow: /