Prettier changes
This commit is contained in:
parent
d99d508bd6
commit
eeaeca1006
11 changed files with 556 additions and 526 deletions
src/routes
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
import '../app.pcss';
|
||||
import Header from "./Header.svelte";
|
||||
import Header from './Header.svelte';
|
||||
</script>
|
||||
|
||||
<Header />
|
||||
|
|
|
@ -1,86 +1,86 @@
|
|||
<div class="overflow-auto h-full">
|
||||
<h1>Welcome to SvelteKit</h1>
|
||||
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<div class="h-full overflow-auto">
|
||||
<h1>Welcome to SvelteKit</h1>
|
||||
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
<p>gap</p>
|
||||
</div>
|
||||
|
|
|
@ -1,47 +1,53 @@
|
|||
<script lang="ts">
|
||||
import {page} from "$app/stores";
|
||||
import { Button } from "$lib/components/ui/button";
|
||||
|
||||
const button = "border-t-2 bg-black/55 hover:bg-black/70 hover:border-primary w-28";
|
||||
import { page } from '$app/stores';
|
||||
import { Button } from '$lib/components/ui/button';
|
||||
|
||||
const button = 'border-t-2 bg-black/55 hover:bg-black/70 hover:border-primary w-28';
|
||||
</script>
|
||||
|
||||
|
||||
<ul class="w-full h-16 border-b sticky flex flex-row items-center justify-center gap-3 backdrop-blur-sm bg-black/40">
|
||||
<li>
|
||||
<Button
|
||||
variant="ghost"
|
||||
href="/"
|
||||
class="{button} + {$page.url.pathname == '/' ? 'border-primary text-primary' : 'text-accent'}"
|
||||
>
|
||||
Home
|
||||
</Button>
|
||||
</li>
|
||||
<li>
|
||||
<Button
|
||||
variant="ghost"
|
||||
href="/servers"
|
||||
class="{button} + {$page.url.pathname.startsWith('/servers') ? 'border-primary text-primary' : 'text-accent'}"
|
||||
>
|
||||
Servers
|
||||
</Button>
|
||||
</li>
|
||||
<li>
|
||||
<Button
|
||||
variant="ghost"
|
||||
href="/services"
|
||||
class="{button} + {$page.url.pathname.startsWith('/services') ? 'border-primary text-primary' : 'text-accent'}"
|
||||
>
|
||||
Services
|
||||
</Button>
|
||||
</li>
|
||||
<li>
|
||||
<Button
|
||||
variant="ghost"
|
||||
href="/about"
|
||||
class="{button} + {$page.url.pathname.startsWith('/about') ? 'border-primary text-primary' : 'text-accent'}"
|
||||
>
|
||||
About
|
||||
</Button>
|
||||
</li>
|
||||
</ul>
|
||||
<ul
|
||||
class="sticky flex h-16 w-full flex-row items-center justify-center gap-3 border-b bg-black/40 backdrop-blur-sm"
|
||||
>
|
||||
<li>
|
||||
<Button
|
||||
variant="ghost"
|
||||
href="/"
|
||||
class="{button} + {$page.url.pathname === '/' ? 'border-primary text-primary' : 'text-accent'}"
|
||||
>
|
||||
Home
|
||||
</Button>
|
||||
</li>
|
||||
<li>
|
||||
<Button
|
||||
variant="ghost"
|
||||
href="/servers"
|
||||
class="{button} + {$page.url.pathname.startsWith('/servers')
|
||||
? 'border-primary text-primary'
|
||||
: 'text-accent'}"
|
||||
>
|
||||
Servers
|
||||
</Button>
|
||||
</li>
|
||||
<li>
|
||||
<Button
|
||||
variant="ghost"
|
||||
href="/services"
|
||||
class="{button} + {$page.url.pathname.startsWith('/services')
|
||||
? 'border-primary text-primary'
|
||||
: 'text-accent'}"
|
||||
>
|
||||
Services
|
||||
</Button>
|
||||
</li>
|
||||
<li>
|
||||
<Button
|
||||
variant="ghost"
|
||||
href="/about"
|
||||
class="{button} + {$page.url.pathname.startsWith('/about')
|
||||
? 'border-primary text-primary'
|
||||
: 'text-accent'}"
|
||||
>
|
||||
About
|
||||
</Button>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -1,20 +1,19 @@
|
|||
<svelte:options runes={true} />
|
||||
|
||||
<script lang="ts">
|
||||
import pages from '$lib/components/pages.json';
|
||||
import Card from "$lib/components/Card.svelte";
|
||||
import pages from '$lib/components/pages.json';
|
||||
import Card from '$lib/components/Card.svelte';
|
||||
|
||||
const services = $state(pages.services);
|
||||
const services = $state(pages.services);
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Services</title>
|
||||
<meta name="description" content="Overview of Services running on neshweb.net">
|
||||
<title>Services</title>
|
||||
<meta name="description" content="Overview of Services running on neshweb.net" />
|
||||
</svelte:head>
|
||||
|
||||
|
||||
<div class="flex flex-row flex-wrap justify-center gap-10 p-8 overflow-auto h-full">
|
||||
{#each services as service}
|
||||
<Card {service} />
|
||||
{/each}
|
||||
</div>
|
||||
<div class="flex h-full flex-row flex-wrap justify-center gap-10 overflow-auto p-8">
|
||||
{#each services as service}
|
||||
<Card {service} />
|
||||
{/each}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue