run formatter

This commit is contained in:
IRHM
2023-12-09 22:40:18 +00:00
parent c4fa99b5aa
commit 67cfd03a1d
13 changed files with 4352 additions and 58 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ updates:
interval: "weekly"
commit-message:
prefix: "ui"
# Server
- package-ecosystem: "gomod"
directory: "/server"
+1 -1
View File
@@ -12,4 +12,4 @@
"program": "${fileDirname}"
}
]
}
}
-1
View File
@@ -9,4 +9,3 @@ For big PRs (lots of changes/big change in the way something works), if you'd li
## Project Board
We have a [board to organize new features and bug fixes](https://github.com/orgs/sbondCo/projects/9/views/2) to be worked on. If you see something you'd like to work on, just ask in the issue and it can be assigned to you. Even if it isn't set for the next milestone already, it can be.
+1 -1
View File
@@ -1,3 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
presets: [require.resolve("@docusaurus/core/lib/babel/preset")]
};
+1 -1
View File
@@ -14,7 +14,7 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
tutorialSidebar: [{ type: "autogenerated", dirName: "." }]
// But you can create a sidebar manually
/*
+1 -1
View File
@@ -18,7 +18,7 @@
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
[data-theme="dark"] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
+4296 -7
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<link rel="apple-touch-icon" href="%sveltekit.assets%/logo-col.png">
<link rel="apple-touch-icon" href="%sveltekit.assets%/logo-col.png" />
<meta name="viewport" content="width=device-width" />
<title>Watcharr</title>
%sveltekit.head%
-3
View File
@@ -176,9 +176,6 @@
img {
filter: blur(6px);
}
.rating {
filter:blur(4px)
}
}
}
+10 -3
View File
@@ -13,11 +13,13 @@
width: 80px;
aspect-ratio: 1;
border: 10px solid $bg-color;
background: radial-gradient(farthest-side, $text-color 98%, $bg-color) 0 0/20px 20px,
background:
radial-gradient(farthest-side, $text-color 98%, $bg-color) 0 0/20px 20px,
radial-gradient(farthest-side, $text-color 98%, $bg-color) 100% 0/20px 20px,
radial-gradient(farthest-side, $text-color 98%, $bg-color) 100% 100%/20px 20px,
radial-gradient(farthest-side, $text-color 98%, $bg-color) 0 100%/20px 20px,
linear-gradient($text-color 0 0) center/40px 40px, $bg-color;
linear-gradient($text-color 0 0) center/40px 40px,
$bg-color;
background-repeat: no-repeat;
filter: blur(4px) contrast(10);
animation: spin 800ms infinite;
@@ -25,7 +27,12 @@
@keyframes spin {
100% {
background-position: 100% 0, 100% 100%, 0 100%, 0 0, center;
background-position:
100% 0,
100% 100%,
0 100%,
0 0,
center;
}
}
</style>
+6 -4
View File
@@ -3,9 +3,8 @@
import SpinnerTiny from "@/lib/SpinnerTiny.svelte";
import { unNotify } from "@/lib/util/notify";
import { notifications } from "@/store";
import { pwaInfo } from 'virtual:pwa-info';
import { pwaInfo } from "virtual:pwa-info";
$: webManifestLink = pwaInfo ? pwaInfo.webManifest.linkTag : ''
$: notifs = $notifications;
console.log(
@@ -14,9 +13,12 @@
);
</script>
<svelte:head>
{@html webManifestLink}
<svelte:head>
{#if pwaInfo?.webManifest?.linkTag}
{@html pwaInfo.webManifest.linkTag}
{/if}
</svelte:head>
<div id="tooltip" />
<div id="notifications">
{#each notifs as n}
+13 -16
View File
@@ -9,26 +9,23 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"types": [
"vite-plugin-pwa/client",
"vite-plugin-pwa/info"
]
"types": ["vite-plugin-pwa/client", "vite-plugin-pwa/info"]
},
// Includes merged from ./svelte-kit/tsconfig.json, since we want to add .env.d.ts,
// and typescript wont merge both the include arrays.. only override.
"include": [
"./.svelte-kit/ambient.d.ts",
"./.svelte-kit/types/**/$types.d.ts",
"./vite.config.js",
"./vite.config.ts",
"./src/**/*.js",
"./src/**/*.ts",
"./src/**/*.svelte",
"./tests/**/*.js",
"./tests/**/*.ts",
"./tests/**/*.svelte",
"include": [
"./.svelte-kit/ambient.d.ts",
"./.svelte-kit/types/**/$types.d.ts",
"./vite.config.js",
"./vite.config.ts",
"./src/**/*.js",
"./src/**/*.ts",
"./src/**/*.svelte",
"./tests/**/*.js",
"./tests/**/*.ts",
"./tests/**/*.svelte",
"./env.d.ts"
],
]
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
//
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
+21 -18
View File
@@ -1,35 +1,38 @@
import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vite";
import { readFileSync } from "fs";
import {SvelteKitPWA} from '@vite-pwa/sveltekit'
import { SvelteKitPWA } from "@vite-pwa/sveltekit";
const pkg = JSON.parse(readFileSync("package.json", "utf8"));
export default defineConfig({
plugins: [
sveltekit(),
sveltekit(),
SvelteKitPWA({
manifest:{
start_url: '/',
scope: '/',
display: 'standalone',
manifest: {
start_url: "/",
scope: "/",
display: "standalone",
icons: [
{
src: '/logo-col.png',
sizes: '192x192',
type: 'image/png',
src: "/logo-col.png",
sizes: "192x192",
type: "image/png"
},
{
src: '/logo-col.png',
sizes: '512x512',
type: 'image/png',
src: "/logo-col.png",
sizes: "512x512",
type: "image/png"
},
{
src: '/logo-col.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any maskable',
},
],
src: "/logo-col.png",
sizes: "512x512",
type: "image/png",
purpose: "any maskable"
}
]
},
devOptions: {
enabled: true
}
})
],