misc: add about page
This commit is contained in:
1 parent
af290f70c6
commit
6256d6107d
5 files changed
+57
-4
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "photon-lemmy",
|
||||
"version": "0.4.9-3",
|
||||
"version": "0.4.10",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
aria-label="Home"
|
||||
class="inline"
|
||||
>
|
||||
<path
|
||||
id="hexagon"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
GlobeAlt,
|
||||
Icon,
|
||||
Inbox,
|
||||
InformationCircle,
|
||||
MagnifyingGlass,
|
||||
PencilSquare,
|
||||
Plus,
|
||||
@@ -180,9 +181,13 @@
|
||||
<Icon src={Cog6Tooth} mini width={16} />
|
||||
Settings
|
||||
</MenuButton>
|
||||
<MenuButton link href="/about">
|
||||
<Icon src={InformationCircle} mini width={16} />
|
||||
About
|
||||
</MenuButton>
|
||||
<hr class="dark:opacity-10 w-[90%] my-2 mx-auto" />
|
||||
<li class="flex flex-col px-4 py-1 mx-auto my-1 text-xs">
|
||||
<div class="flex flex-row justify-center gap-2">
|
||||
<li class="flex flex-col px-4 py-1 mx-auto my-1 text-xs w-full">
|
||||
<div class="flex flex-row justify-center gap-2 w-full">
|
||||
<!-- svelte-ignore missing-declaration -->
|
||||
<span class="mr-auto">v{__VERSION__}</span>
|
||||
<a href="https://github.com/Xyphyn/photon" class="hover:underline">
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
<script>
|
||||
import Link from '$lib/components/input/Link.svelte'
|
||||
import Logo from '$lib/components/ui/Logo.svelte'
|
||||
</script>
|
||||
|
||||
<div class="max-w-xl mx-auto">
|
||||
<div class="flex items-center gap-1 mx-auto w-max">
|
||||
<Logo width={48} />
|
||||
<span class="text-2xl font-bold">Photon</span>
|
||||
</div>
|
||||
<h1 class="text-2xl font-bold leading-8">About</h1>
|
||||
<p class="my-3">
|
||||
<strong>Photon</strong>
|
||||
is a client for
|
||||
<a href="https://join-lemmy.org" class="underline">Lemmy</a>
|
||||
that is meant to replace the default lemmy-ui.
|
||||
</p>
|
||||
<p class="my-3">
|
||||
It's named that because some random person in a Discord server said that
|
||||
would be a good name. Great choice, I know.
|
||||
</p>
|
||||
<h1 class="text-2xl font-bold leading-8">Links</h1>
|
||||
<ul class="list-disc pl-4 my-3">
|
||||
<li>
|
||||
<Link highlight href="https://github.com/Xyphyn/photon">Github</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link
|
||||
highlight
|
||||
href="https://photon.xylight.dev/c/photon@lemmy.xylight.dev"
|
||||
>
|
||||
Community
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link highlight href="https://www.buymeacoffee.com/xylight">
|
||||
Buy me a coffee
|
||||
</Link>
|
||||
<ul class="list-disc pl-4">
|
||||
<li>I'd much prefer you support me by sharing this website.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="https://xylight.dev" highlight>Xylight's portfolio</Link>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -3,7 +3,7 @@
|
||||
// @ts-ignore
|
||||
import { build, files } from '$service-worker'
|
||||
|
||||
const version = '0.4.9-3'
|
||||
const version = '0.4.10'
|
||||
const timestamp = new Date().toLocaleString('en')
|
||||
const worker = self as unknown as ServiceWorkerGlobalScope
|
||||
const FILES = `cache${timestamp}`
|
||||
|
||||
Reference in new issue
Block a user