Linting changes

This commit is contained in:
Neshura 2024-01-04 01:36:35 +01:00
commit 3525fdfcd1
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
6 changed files with 51 additions and 59 deletions
src/routes

View file

@ -12,8 +12,7 @@
<Button
variant="ghost"
href="/"
class="{button} + {!($page.url.pathname === '/')
|| 'border-secondary text-secondary'}"
class="{button} + {!($page.url.pathname === '/') || 'border-secondary text-secondary'}"
>
Home
</Button>
@ -22,8 +21,8 @@
<Button
variant="ghost"
href="/servers"
class="{button} + {!$page.url.pathname.startsWith('/servers')
|| 'border-secondary text-secondary'}"
class="{button} + {!$page.url.pathname.startsWith('/servers') ||
'border-secondary text-secondary'}"
>
Servers
</Button>
@ -32,8 +31,8 @@
<Button
variant="ghost"
href="/services"
class="{button} + {!$page.url.pathname.startsWith('/services')
|| 'border-secondary text-secondary'}"
class="{button} + {!$page.url.pathname.startsWith('/services') ||
'border-secondary text-secondary'}"
>
Services
</Button>
@ -42,8 +41,8 @@
<Button
variant="ghost"
href="/about"
class="{button} + {!$page.url.pathname.startsWith('/about')
|| 'border-secondary text-secondary'}"
class="{button} + {!$page.url.pathname.startsWith('/about') ||
'border-secondary text-secondary'}"
>
About
</Button>