mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-05-02 09:51:20 +00:00
refactor: formatting
This commit is contained in:
parent
2b46265564
commit
0e83c8b051
5 changed files with 35 additions and 26 deletions
2
.github/workflows/unlighthouse.yaml
vendored
2
.github/workflows/unlighthouse.yaml
vendored
|
@ -75,7 +75,7 @@ jobs:
|
|||
|
||||
- name: Install Dependencies
|
||||
run: pnpm install -g @unlighthouse/cli puppeteer
|
||||
|
||||
|
||||
- name: Run Unlighthouse
|
||||
run: |
|
||||
export SCAN_URL=${{ github.ref == 'refs/heads/main' && env.WEBSITE_URL || steps.vercel_preview_url.outputs.preview_url }}
|
||||
|
|
|
@ -6,4 +6,4 @@ export { default as TailwindIndicator } from './tailwind-indicator.svelte';
|
|||
export { default as ModeToggle } from './mode-toggle.svelte';
|
||||
export { default as Particles } from './particles.svelte';
|
||||
|
||||
export * from './icons';
|
||||
export * from './icons';
|
||||
|
|
|
@ -5,7 +5,10 @@
|
|||
<footer class="container py-6">
|
||||
<div class="space-y-1">
|
||||
<p class="text-center text-sm text-muted-foreground">
|
||||
© {new Date().getFullYear()} — <a href={siteConfig.links.gitHubProject} target="_blank">{siteConfig.name}</a> by <a href={siteConfig.links.gitHubProfile} target="_blank">{siteConfig.author}</a>. Licensed GPL-3.0.
|
||||
© {new Date().getFullYear()} —
|
||||
<a href={siteConfig.links.gitHubProject} target="_blank">{siteConfig.name}</a>
|
||||
by <a href={siteConfig.links.gitHubProfile} target="_blank">{siteConfig.author}</a>. Licensed
|
||||
GPL-3.0.
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -153,7 +153,12 @@
|
|||
</div>
|
||||
<div class="grid gap-2">
|
||||
<Label for="password">Confirm password</Label>
|
||||
<Input id="confirm-password-register" name="passwordConfirm" type="password" disabled={isLoading} />
|
||||
<Input
|
||||
id="confirm-password-register"
|
||||
name="passwordConfirm"
|
||||
type="password"
|
||||
disabled={isLoading}
|
||||
/>
|
||||
</div>
|
||||
<Button type="submit" disabled={isLoading}>
|
||||
{#if isLoading}
|
||||
|
@ -173,7 +178,8 @@
|
|||
</div>
|
||||
</Tabs.Content>
|
||||
<p class="px-8 text-center text-xs text-muted-foreground">
|
||||
Don't have an account? <a class="text-primary underline" href="/auth?tab=register">Register</a>.<br />
|
||||
Don't have an account? <a class="text-primary underline" href="/auth?tab=register">Register</a
|
||||
>.<br />
|
||||
Forgot password? <a class="text-primary underline" href="/reset-password">Reset password.</a>
|
||||
</p>
|
||||
{#if providers.length}
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
import { defineConfig } from 'unlighthouse'
|
||||
import { defineConfig } from 'unlighthouse';
|
||||
|
||||
export default defineConfig ({
|
||||
site: process.env.SITE_URL || 'http://localhost:5173/',
|
||||
scanner: {
|
||||
samples: 1,
|
||||
throttle: true,
|
||||
},
|
||||
cookies: [
|
||||
{
|
||||
name: 'pb_auth',
|
||||
value: process.env.AUTH_COOKIE || '',
|
||||
domain: 'localhost',
|
||||
path: '/',
|
||||
sameSite: 'Lax',
|
||||
}
|
||||
],
|
||||
ci: {
|
||||
reporter: 'jsonExpanded',
|
||||
buildStatic: true,
|
||||
budget: 65,
|
||||
},
|
||||
export default defineConfig({
|
||||
site: process.env.SITE_URL || 'http://localhost:5173/',
|
||||
scanner: {
|
||||
samples: 1,
|
||||
throttle: true
|
||||
},
|
||||
cookies: [
|
||||
{
|
||||
name: 'pb_auth',
|
||||
value: process.env.AUTH_COOKIE || '',
|
||||
domain: 'localhost',
|
||||
path: '/',
|
||||
sameSite: 'Lax'
|
||||
}
|
||||
],
|
||||
ci: {
|
||||
reporter: 'jsonExpanded',
|
||||
buildStatic: true,
|
||||
budget: 65
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue