feat: add husky with lint-staged, linted files

This commit is contained in:
Bart van der Braak 2024-02-22 11:09:46 +01:00
parent d08aa4854b
commit 65f404314b
5 changed files with 231 additions and 14 deletions

View file

@ -3,20 +3,29 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<!-- Primary Meta Tags -->
<meta name="description" content="Self-hostable dashboard using connectors to a multitude of ticketing systems">
<!-- Primary Meta Tags -->
<meta
name="description"
content="Self-hostable dashboard using connectors to a multitude of ticketing systems"
/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:title" content="Omnidash - Keep your operation teams sane">
<meta property="og:description" content="Self-hostable dashboard using connectors to a multitude of ticketing systems">
<meta property="og:image" content="%sveltekit.assets%/og.png">
<meta property="og:type" content="website" />
<meta property="og:title" content="Omnidash - Keep your operation teams sane" />
<meta
property="og:description"
content="Self-hostable dashboard using connectors to a multitude of ticketing systems"
/>
<meta property="og:image" content="%sveltekit.assets%/og.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="Omnidash - Keep your operation teams sane">
<meta property="twitter:description" content="Self-hostable dashboard using connectors to a multitude of ticketing systems">
<meta property="twitter:image" content="%sveltekit.assets%/og.png">
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:title" content="Omnidash - Keep your operation teams sane" />
<meta
property="twitter:description"
content="Self-hostable dashboard using connectors to a multitude of ticketing systems"
/>
<meta property="twitter:image" content="%sveltekit.assets%/og.png" />
<!-- Favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="%sveltekit.assets%/apple-touch-icon.png" />

View file

@ -41,11 +41,10 @@
if (e.result.status === 303) {
toast.success('Logged in successfully.');
} else {
console.log(e)
console.log(e);
toast.error('Invalid credentials.');
}
}
});
const { form: formData, enhance } = form;