Compare commits

..

98 commits

Author SHA1 Message Date
00d75663b3
Release Candidate 1.0.0-rc.6
Some checks failed
Build and Release Docker Image / test (push) Successful in 4m7s
Run Tests on Code / test (push) Successful in 4m17s
Build Docker Image on Pull Request / test (pull_request) Failing after 5m54s
Build and Release Docker Image / build (push) Successful in 1m44s
Build and Release Docker Image / release (push) Successful in 1m9s
2024-01-06 14:02:45 +01:00
4254015cd8
Prettier Linting
Some checks failed
Run Tests on Code / test (push) Has been cancelled
Build Docker Image on Pull Request / test (pull_request) Failing after 3m47s
2024-01-06 14:02:30 +01:00
7f3eb2888a
Added sanitize-html to prevent XSS attacks on Mastodon Feed
Some checks failed
Run Tests on Code / test (push) Failing after 42s
Build Docker Image on Pull Request / test (pull_request) Failing after 7m5s
2024-01-06 14:00:47 +01:00
47a2afafc1
Add Mastodon Feed to Home Page + Mastodon Embed component + Adjust Muted color 2024-01-06 14:00:24 +01:00
d054e2ec41
Cleaned About page by moving CSS test to separate route 2024-01-06 13:59:30 +01:00
8854b1dcf9
Add content to Home Page
Some checks failed
Run Tests on Code / test (push) Failing after 25s
Build Docker Image on Pull Request / test (pull_request) Failing after 1m31s
2024-01-06 09:49:24 +01:00
5fff8cec4d
Optimize Socket.io connections for fewer open requests at any one time
Some checks failed
Run Tests on Code / test (push) Failing after 28s
Build Docker Image on Pull Request / test (pull_request) Failing after 1m35s
2024-01-06 04:31:40 +01:00
2e6b174771
Extend services list
Some checks failed
Run Tests on Code / test (push) Successful in 26s
Build Docker Image on Pull Request / test (pull_request) Failing after 1m39s
2024-01-06 04:31:08 +01:00
f0d2ca0e56
Adjust ServerCard for usage with Server list
Some checks failed
Run Tests on Code / test (push) Successful in 25s
Build Docker Image on Pull Request / test (pull_request) Failing after 1m52s
2024-01-06 03:05:30 +01:00
8e25df541d
Remove erroneous connection details from read or not 2024-01-06 03:05:16 +01:00
564f431c1a
Version bump
Some checks failed
Build Docker Image on Pull Request / test (pull_request) Failing after 1m44s
Run Tests on Code / test (push) Successful in 4m7s
2024-01-04 02:32:00 +01:00
3ab29155a9
Release Candidate 1.0.0-rc.5
Some checks failed
Run Tests on Code / test (push) Successful in 32s
Build Docker Image on Pull Request / test (pull_request) Failing after 1m43s
Build and Release Docker Image / test (push) Successful in 2m50s
Build and Release Docker Image / build (push) Successful in 1m24s
Build and Release Docker Image / release (push) Successful in 6s
2024-01-04 01:36:46 +01:00
caf9e1e39d
Linting changes
Some checks failed
Run Tests on Code / test (push) Has been cancelled
Build Docker Image on Pull Request / test (pull_request) Failing after 1m36s
2024-01-04 01:36:35 +01:00
a05711ac01
Add initial /servers route
Some checks failed
Run Tests on Code / test (push) Failing after 27s
Build Docker Image on Pull Request / test (pull_request) Failing after 1m42s
2024-01-04 01:35:56 +01:00
a6d13c2a1a
Close Socket.io connection after fetching data on server
Some checks failed
Run Tests on Code / test (push) Has been cancelled
Build Docker Image on Pull Request / test (pull_request) Failing after 1m38s
2024-01-04 01:35:34 +01:00
eb44208419
Including Version number on about page
Some checks failed
Run Tests on Code / test (push) Failing after 25s
Build Docker Image on Pull Request / test (pull_request) Failing after 1m29s
2024-01-04 00:53:28 +01:00
d2f44db428
CSS tests on about page 2024-01-04 00:53:07 +01:00
a931e232fa
reduce box size for pages, reducing need for manual overrides in page components
Some checks failed
Run Tests on Code / test (push) Failing after 25s
Build Docker Image on Pull Request / test (pull_request) Failing after 1m35s
2024-01-04 00:51:58 +01:00
0da201f392
Simplify css 2024-01-04 00:51:27 +01:00
68ab7ac583
Reduce need for css overrides by rearanging values in pcss 2024-01-04 00:51:06 +01:00
464efa8cb8
linting changes
Some checks failed
Run Tests on Code / test (push) Successful in 24s
Build Docker Image on Pull Request / test (pull_request) Failing after 1m29s
2024-01-04 00:01:02 +01:00
275fcac89c
this belongs to e67c19d688
Some checks failed
Run Tests on Code / test (push) Failing after 24s
2024-01-03 23:59:32 +01:00
455ff1dfa2
Return token promise instead of token, speeds up page loading a lot 2024-01-03 23:59:15 +01:00
49bb590c00
remove debug logging 2024-01-03 23:58:43 +01:00
e67c19d688
Fix display issues
Some checks failed
Run Tests on Code / test (push) Failing after 24s
2024-01-03 23:58:08 +01:00
3a0a552b46
Release Candidate 1.0.0-rc.4
All checks were successful
Run Tests on Code / test (push) Successful in 24s
Build and Release Docker Image / test (push) Successful in 3m26s
Build and Release Docker Image / build (push) Successful in 1m36s
Build and Release Docker Image / release (push) Successful in 6s
2024-01-03 23:01:32 +01:00
103cfa5872
Apply env var approach to CI and Dockerfile
All checks were successful
Run Tests on Code / test (push) Successful in 24s
2024-01-03 23:00:44 +01:00
6e7fe75654
Use env vars instead of file contents (also allows for easier ci testing)
All checks were successful
Run Tests on Code / test (push) Successful in 25s
2024-01-03 22:53:51 +01:00
dc27c9bf63
Fix Syntax Error
All checks were successful
Run Tests on Code / test (push) Successful in 36s
Build and Release Docker Image / build (push) Successful in 2m21s
Build and Release Docker Image / release (push) Successful in 3m11s
Build and Release Docker Image / test (push) Successful in 12m56s
2024-01-03 21:38:09 +01:00
bdc0833e94
Restart Server after first lighthouse run if it crashed or closed
Some checks failed
Run Tests on Code / test (push) Successful in 1m10s
Build and Release Docker Image / test (push) Failing after 3m2s
Build and Release Docker Image / build (push) Has been skipped
Build and Release Docker Image / release (push) Has been skipped
2024-01-03 21:25:14 +01:00
1d2be60c1e
Fix crash on /services page when credentials file not present
Some checks failed
Run Tests on Code / test (push) Successful in 9m44s
Build and Release Docker Image / test (push) Has been cancelled
Build and Release Docker Image / build (push) Has been cancelled
Build and Release Docker Image / release (push) Has been cancelled
2024-01-03 21:09:58 +01:00
769818b4f4
Release Candidate 1.0.0-rc.3
Some checks failed
Run Tests on Code / test (push) Successful in 5m9s
Build and Release Docker Image / release (push) Successful in 1m20s
Build and Release Docker Image / build (push) Has been cancelled
Build and Release Docker Image / test (push) Has been cancelled
2024-01-03 20:41:02 +01:00
cedf89e106
linting changes
Some checks failed
Run Tests on Code / test (push) Has been cancelled
2024-01-03 20:40:52 +01:00
63197220a6
Add socket.io to package.json
Some checks failed
Run Tests on Code / test (push) Has been cancelled
2024-01-03 20:40:05 +01:00
5d8be9d77c
Integrate with Uptime Kuma Socket.io API
Some checks failed
Run Tests on Code / test (push) Has been cancelled
2024-01-03 20:39:53 +01:00
ac6d14b4cf
Add credentials.json to gitignore
All checks were successful
Run Tests on Code / test (push) Successful in 19s
2024-01-03 20:39:18 +01:00
8ae350db27
Split up Unlighthouse Runs + Build Site in release test step + fix pull request actions
All checks were successful
Run Tests on Code / test (push) Successful in 16s
2024-01-02 03:30:14 +01:00
806e4f1277
Fix --no-sandbox export
All checks were successful
Run Tests on Code / test (push) Successful in 15s
Build and Release Docker Image / test (push) Successful in 3m37s
Build and Release Docker Image / build (push) Successful in 2m27s
Build and Release Docker Image / release (push) Successful in 7s
2024-01-02 03:22:45 +01:00
997f80a16d
Verbose export of --no-sandbox flag
All checks were successful
Run Tests on Code / test (push) Successful in 19s
2024-01-02 03:20:33 +01:00
91ca7c489e
Add Chromium --no-sandbox flag
Some checks failed
Run Tests on Code / test (push) Successful in 16s
Build and Release Docker Image / test (push) Failing after 2m7s
Build and Release Docker Image / build (push) Has been skipped
Build and Release Docker Image / release (push) Has been skipped
2024-01-02 03:16:41 +01:00
5be5e206f2
Add urls to unlighthouse config 2024-01-02 03:16:05 +01:00
2e257d3bb2
Fix bash process spawning
Some checks failed
Run Tests on Code / test (push) Successful in 15s
Build and Release Docker Image / test (push) Failing after 1m48s
Build and Release Docker Image / build (push) Has been skipped
Build and Release Docker Image / release (push) Has been skipped
2024-01-02 03:02:56 +01:00
35c78a50e2
Start server for unlighthouse in dev mode
Some checks failed
Run Tests on Code / test (push) Successful in 26s
Build and Release Docker Image / build (push) Has been cancelled
Build and Release Docker Image / release (push) Has been cancelled
Build and Release Docker Image / test (push) Has been cancelled
2024-01-02 02:58:54 +01:00
cad1b814de
Fix indenting for release actions
Some checks failed
Run Tests on Code / test (push) Successful in 19s
Build and Release Docker Image / test (push) Failing after 2m11s
Build and Release Docker Image / build (push) Has been skipped
Build and Release Docker Image / release (push) Has been skipped
2024-01-02 02:52:55 +01:00
d2841ac338
Revert 1263f7b984
Some checks failed
Run Tests on Code / test (push) Successful in 24s
Build and Release Docker Image / test (push) Failing after 2m15s
2024-01-02 02:50:21 +01:00
2c8600c297
Add apt update to dependency install step
Some checks failed
Run Tests on Code / test (push) Successful in 25s
Build and Release Docker Image / test (push) Failing after 33s
2024-01-02 02:47:42 +01:00
1263f7b984
Correct apt package from chromium to chromium-browser
Some checks failed
Run Tests on Code / test (push) Successful in 20s
Build and Release Docker Image / test (push) Failing after 25s
2024-01-02 02:46:33 +01:00
ffd5125d3f
Fix apt install step
Some checks failed
Run Tests on Code / test (push) Successful in 18s
Build and Release Docker Image / test (push) Failing after 15s
2024-01-02 02:42:57 +01:00
90a500c8e8
Add chromium dependency to Unlighthouse install step
Some checks failed
Run Tests on Code / test (push) Successful in 19s
Build and Release Docker Image / test (push) Has been cancelled
2024-01-02 02:41:55 +01:00
1537f8a410
Prettier Changes
Some checks failed
Run Tests on Code / test (push) Successful in 23s
Build and Release Docker Image / test (push) Failing after 43s
2024-01-02 02:39:22 +01:00
e9c805c36b
Release Candidate 1.0.0-rc.2
Some checks failed
Run Tests on Code / test (push) Failing after 44s
Build and Release Docker Image / test (push) Failing after 1m0s
2024-01-02 02:36:24 +01:00
fb8c4c4fd9
Add unlighthouse to Release + Pull Request Actions, Add Unlighthouse config file
Some checks failed
Run Tests on Code / test (push) Has been cancelled
2024-01-02 02:36:13 +01:00
d075b04ac8
Add title and description to placeholder pages
Some checks failed
Run Tests on Code / test (push) Failing after 19s
2024-01-02 02:11:51 +01:00
93954c86ee
Add Skeleton UI component from shadcn 2024-01-02 02:11:36 +01:00
f80d56c057
Apply renaming of Card -> ServiceCard to the services page 2024-01-02 02:11:23 +01:00
1a761d60cc
Rename Card to ServiceCard. Add proper icon handling 2024-01-02 02:10:44 +01:00
52593efb62
Dynamically fetch list of icons and services and pass both to the ServiceCard 2024-01-02 02:10:18 +01:00
994c0bd2a0
Split pages.json to severs.json and services.json, move to /static/data/ 2024-01-02 02:09:50 +01:00
466f637207
API endpoint returning /data/services.json 2024-01-02 02:09:23 +01:00
b4f295bf46
API endpoint listing all icons in icons directory 2024-01-02 02:09:07 +01:00
e4cce6239d
Add IconType enum, make Service fields readonly 2024-01-02 02:08:43 +01:00
62d7fec6d7
Add separate -36 variants for 36px avifs 2024-01-02 02:08:10 +01:00
181a4e9ff9
Add unlighthouse to gitignore 2024-01-02 02:07:37 +01:00
5ad7941c9b
Add .idea directory to gitignore, add pages for About and Servers
Some checks failed
Run Tests on Code / test (push) Failing after 24s
2024-01-01 22:59:52 +01:00
06ddb41900
Remove dummy data on Home page
Some checks failed
Run Tests on Code / test (push) Failing after 25s
2024-01-01 22:55:35 +01:00
bed766f72f
Switch to 2 Wide indents
All checks were successful
Run Tests on Code / test (push) Successful in 17s
2024-01-01 22:53:35 +01:00
6e3bbc176a
Use registry with buildx
All checks were successful
Run Tests on Code / test (push) Successful in 22s
Build and Release Docker Image / test (push) Successful in 22s
Build and Release Docker Image / build (push) Successful in 4m5s
Build and Release Docker Image / release (push) Successful in 20s
2024-01-01 21:33:52 +01:00
0b82f23d3c
USe node:20-bookworm for faster Actions
All checks were successful
Run Tests on Code / test (push) Successful in 20s
2024-01-01 21:30:03 +01:00
698daed1c6
Fix Dockerfile
Some checks failed
Run Tests on Code / test (push) Successful in 24s
Build and Release Docker Image / test (push) Successful in 36s
Build and Release Docker Image / release (push) Has been cancelled
Build and Release Docker Image / build (push) Has been cancelled
2024-01-01 21:21:07 +01:00
7e7e560424
Fix Actions tag reference #2
Some checks failed
Run Tests on Code / test (push) Successful in 22s
Build and Release Docker Image / test (push) Successful in 26s
Build and Release Docker Image / release (push) Has been cancelled
Build and Release Docker Image / build (push) Has been cancelled
2024-01-01 21:09:46 +01:00
251743d4d2
Fix Actions tag reference
Some checks failed
Run Tests on Code / test (push) Successful in 28s
Build and Release Docker Image / test (push) Successful in 19s
Build and Release Docker Image / release (push) Has been cancelled
Build and Release Docker Image / build (push) Has been cancelled
2024-01-01 21:04:32 +01:00
1f15215ce0
Actions Debugging
Some checks failed
Run Tests on Code / test (push) Successful in 20s
Build and Release Docker Image / test (push) Successful in 27s
Build and Release Docker Image / release (push) Has been cancelled
Build and Release Docker Image / build (push) Has been cancelled
2024-01-01 20:51:36 +01:00
04e0bc6ccb
Forgejo Actions Debugging
Some checks failed
Run Tests on Code / test (push) Successful in 21s
Build and Release Docker Image / test (push) Successful in 29s
Build and Release Docker Image / build (push) Failing after 12s
Build and Release Docker Image / release (push) Has been skipped
2024-01-01 20:47:58 +01:00
7248b26278
FIx Actions tag variables
Some checks failed
Run Tests on Code / test (push) Successful in 20s
Build and Release Docker Image / test (push) Successful in 18s
Build and Release Docker Image / build (push) Failing after 21s
Build and Release Docker Image / release (push) Has been skipped
2024-01-01 20:33:29 +01:00
798bf7cba9
Add correct type to Card prop
Some checks failed
Run Tests on Code / test (push) Successful in 3m59s
Build and Release Docker Image / test (push) Successful in 6m28s
Build and Release Docker Image / build (push) Failing after 11s
Build and Release Docker Image / release (push) Has been skipped
2024-01-01 20:18:58 +01:00
4f04bb7b49
Remove Eslint from linting job due to likely incompat with Svelte 5 2024-01-01 20:18:34 +01:00
04b1bd79df
Add service type
Some checks failed
Run Tests on Code / test (push) Failing after 3m34s
2024-01-01 20:10:19 +01:00
7740f011bd
Prettier overwritten changes revert + eslint ignore ui components
Some checks failed
Run Tests on Code / test (push) Failing after 1m53s
2024-01-01 20:02:04 +01:00
9d5c6db7da
Prettier changes
Some checks failed
Run Tests on Code / test (push) Has been cancelled
2024-01-01 20:00:35 +01:00
94a8d2a8e7
only check src directory 2024-01-01 19:59:06 +01:00
3fe773576c
Release Candidate 1.0.0-rc.1
Some checks failed
Run Tests on Code / test (push) Failing after 3m51s
Build and Release Docker Image / test (push) Failing after 4m49s
Build and Release Docker Image / build (push) Has been skipped
Build and Release Docker Image / release (push) Has been skipped
2024-01-01 19:45:06 +01:00
4eeb81fe17
Push Docker image to preview for -rc tags
Some checks failed
Run Tests on Code / test (push) Has been cancelled
2024-01-01 19:44:39 +01:00
009d75bd2a
Add AGPLv3 License
Some checks failed
Run Tests on Code / test (push) Failing after 3m36s
2024-01-01 19:38:45 +01:00
e2cdd0f81a
Add accessibility fields
Some checks failed
Run Tests on Code / test (push) Has been cancelled
2024-01-01 19:36:42 +01:00
387a950b69
Use avif instead of png/jpg 2024-01-01 19:36:27 +01:00
dc04b71304
Add Link Icon to card
Some checks failed
Run Tests on Code / test (push) Failing after 1m27s
2024-01-01 18:40:02 +01:00
a0d16eb8db
Added services page with unfinished service card element
Some checks failed
Run Tests on Code / test (push) Failing after 22s
2024-01-01 07:07:55 +01:00
d8dba19353
Switched port to 8000 2024-01-01 07:07:27 +01:00
04ecead4cf
Added colors to tailwind config 2024-01-01 07:07:18 +01:00
fe1c776f54
Adjusted pending color 2024-01-01 07:07:04 +01:00
ec46d06564
Update gitignore
Some checks failed
Run Tests on Code / test (push) Failing after 20s
2024-01-01 05:56:51 +01:00
ec6625ace3
Delete config templates 2024-01-01 05:56:41 +01:00
668a5ce6e7
Add Navbar using shadcn Button 2024-01-01 05:56:29 +01:00
bdc8203026
Add postcss/tailwind/shadcn 2024-01-01 05:56:10 +01:00
980a44c2ea
Move icons to svelte ordering 2024-01-01 05:55:35 +01:00
ba070f387c
Add Svelte 5/SvelteKit 2 2024-01-01 05:55:11 +01:00
6b58950e78
Remove next.js 2024-01-01 05:53:14 +01:00
b534bebad9
Adopt Actions changes from other repos 2024-01-01 05:51:51 +01:00
12 changed files with 55 additions and 44 deletions

View file

@ -118,14 +118,14 @@ jobs:
with: with:
push: true push: true
tags: ${{ steps.tags.outputs.version }}, ${{ steps.tags.outputs.latest }} tags: ${{ steps.tags.outputs.version }}, ${{ steps.tags.outputs.latest }}
release: release:
needs: build needs: build
if: success() if: success()
runs-on: docker runs-on: docker
steps: steps:
- name: Release New Version - name: Release New Version
uses: actions/forgejo-release@v2 uses: actions/forgejo-release@v1
with: with:
direction: upload direction: upload
url: https://forgejo.neshweb.net url: https://forgejo.neshweb.net

View file

@ -44,6 +44,17 @@ jobs:
- name: Run Linter - name: Run Linter
run: yarn lint run: yarn lint
- name: Check if Version in package.json matches Tag
run: |
echo "Test"
VERSION=$(cat package.json | grep "version" | sed 's/.*://' | tr -d , | tr -d \" )
if test $VERSION != "${{ github.ref_name }}"; then
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'";
exit 1
else
echo "Version is: '$VERSION'";
fi
- name: Build Site - name: Build Site
run: yarn build run: yarn build

View file

@ -2,7 +2,7 @@
"name": "main-site", "name": "main-site",
"author": "Neshura", "author": "Neshura",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"version": "1.0.0", "version": "1.0.0-rc.6",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite dev", "dev": "vite dev",

View file

@ -121,7 +121,7 @@
</div> </div>
{/snippet} {/snippet}
<ol class="h-[40rem] w-full overflow-y-auto"> <ol class="w-full">
{#if loading} {#if loading}
{#each Array(maxToots ?? 5) as placeholder} {#each Array(maxToots ?? 5) as placeholder}
<li class="flex flex-col gap-3 px-4 py-3"> <li class="flex flex-col gap-3 px-4 py-3">

View file

@ -5,7 +5,6 @@
import Header from './Header.svelte'; import Header from './Header.svelte';
import { socketStore } from '$lib/stores/socketStore'; import { socketStore } from '$lib/stores/socketStore';
import { beforeNavigate } from '$app/navigation'; import { beforeNavigate } from '$app/navigation';
import Footer from './Footer.svelte';
$effect(() => { $effect(() => {
beforeNavigate((navigation) => { beforeNavigate((navigation) => {
@ -22,8 +21,6 @@
<Header /> <Header />
<div class="h-full pb-8 pt-16"> <div class="h-full pt-16">
<slot /> <slot />
</div> </div>
<Footer />

View file

@ -9,11 +9,9 @@
<meta name="description" content="Landing Page for neshweb.net" /> <meta name="description" content="Landing Page for neshweb.net" />
</svelte:head> </svelte:head>
<div <div class="grid max-h-full grid-cols-3 justify-center gap-4 overflow-auto p-8">
class="flex max-h-full flex-row flex-wrap justify-center justify-around gap-4 overflow-auto p-8" <div class="col-span-2 flex flex-col items-center">
> <div class="flex flex-col gap-y-2 rounded-md border bg-black/55 p-4 backdrop-blur-sm">
<div class="flex w-[22rem] flex-1 flex-col items-center">
<div class="flex flex-col gap-y-2 rounded-xl border bg-black/55 p-4 backdrop-blur-sm">
<h1 class="text-center text-2xl">Home Page</h1> <h1 class="text-center text-2xl">Home Page</h1>
<p> <p>
I'm not sure what to put here quite yet, maybe I'll think of something eventually. In the I'm not sure what to put here quite yet, maybe I'll think of something eventually. In the
@ -22,7 +20,7 @@
</div> </div>
</div> </div>
<div <div
class="flex w-[22rem] flex-col items-center gap-y-1 overflow-auto rounded-xl border bg-black/55 py-1 backdrop-blur-sm" class="flex flex-col items-center gap-y-1 rounded-md border bg-black/55 py-1 backdrop-blur-sm"
> >
<p class="font-bold">Fediverse Accounts</p> <p class="font-bold">Fediverse Accounts</p>
<Separator class="max-w-80" /> <Separator class="max-w-80" />

View file

@ -1,17 +0,0 @@
<script lang="ts">
import { version } from '$app/environment';
</script>
<div
class="absolute bottom-0 z-50 flex h-8 w-full flex-row items-center gap-3 border-t bg-black/40 backdrop-blur-sm"
>
<p class="px-4">
Version:
<a
href="https://forgejo.neshweb.net/Neshweb-Sites/main-site/releases/tag/{version}"
class="text-secondary hover:underline"
>
{version}
</a>
</p>
</div>

View file

@ -6,9 +6,9 @@
</script> </script>
<ul <ul
class="absolute z-50 flex h-16 w-full flex-row items-center gap-3 overflow-x-auto border-b bg-black/40 backdrop-blur-sm" class="absolute z-50 flex h-16 w-full flex-row items-center justify-center gap-3 border-b bg-black/40 backdrop-blur-sm"
> >
<li class="ml-auto"> <li>
<Button <Button
variant="ghost" variant="ghost"
href="/" href="/"
@ -37,7 +37,7 @@
Services Services
</Button> </Button>
</li> </li>
<li class="mr-auto"> <li>
<Button <Button
variant="ghost" variant="ghost"
href="/about" href="/about"

View file

@ -1,11 +1,18 @@
<script lang="ts">
import { version } from '$app/environment';
</script>
<svelte:head> <svelte:head>
<title>About</title> <title>About</title>
<meta name="description" content="Information about this Website" /> <meta name="description" content="Information about this Website" />
</svelte:head> </svelte:head>
<div class="flex max-h-full flex-row flex-wrap justify-center gap-10 overflow-auto p-8"> <p>
<p> Version:
This is just a small Website I built to organize all of the Services I am self-hosting. Maybe <a
I'll eventually add something actually useful to the site but until then this is all you'll get. href="https://forgejo.neshweb.net/Neshweb-Sites/main-site/releases/tag/{version}"
</p> class="hover:underline"
</div> >
{version}
</a>
</p>

View file

@ -22,15 +22,19 @@
let monitorList = $state($uptimeStore); let monitorList = $state($uptimeStore);
console.log(monitorList);
let socket = $socketStore; let socket = $socketStore;
$effect(() => { $effect(() => {
if (token) { if (token) {
if (!socket.connected) { if (!socket.connected) {
socket.connect(); socket.connect();
} else {
console.log('already connected');
} }
socket.on('connect', () => { socket.on('connect', () => {
console.log('logging in');
socket.emit('loginByToken', token, () => {}); socket.emit('loginByToken', token, () => {});
}); });

View file

@ -29,13 +29,15 @@
if (token) { if (token) {
if (!socket.connected) { if (!socket.connected) {
socket.connect(); socket.connect();
} else {
console.log('connected');
} }
socket.on('connect', () => { socket.on('connect', () => {
console.log('login');
socket.emit('loginByToken', token, () => {}); socket.emit('loginByToken', token, () => {});
}); });
socket.on('heartbeatList', (_, data) => { socket.on('heartbeatList', (_: string, data) => {
let recent = data[data.length - 1]; let recent = data[data.length - 1];
let monitor: Heartbeat = { let monitor: Heartbeat = {
monitorID: recent.monitor_id, monitorID: recent.monitor_id,
@ -87,7 +89,7 @@
<meta name="description" content="Overview of Services running on neshweb.net" /> <meta name="description" content="Overview of Services running on neshweb.net" />
</svelte:head> </svelte:head>
<div class="flex max-h-full flex-row flex-wrap justify-center gap-10 overflow-auto p-8"> <div class="flex max-h-full flex-row flex-wrap justify-center gap-10 overflow-auto p-8 pt-24">
{#each services as service} {#each services as service}
<ServiceCard {service} {icons} monitor={monitorList.get(service.id)} /> <ServiceCard {service} {icons} monitor={monitorList.get(service.id)} />
{/each} {/each}

View file

@ -82,6 +82,15 @@
"warn": "Note: Registration only via Admin", "warn": "Note: Registration only via Admin",
"id": 10 "id": 10
}, },
{
"name": "Gitlab",
"icon": "/assets/icons/gitlab-logo",
"iconType": "svg",
"href": "https://gitlab.neshweb.net/",
"desc": "Self-hosted Git Service",
"warn": "Note: Registration only via Admin",
"id": 2
},
{ {
"name": "Forgejo", "name": "Forgejo",
"icon": "/assets/icons/forgejo-logo", "icon": "/assets/icons/forgejo-logo",