Compare commits

..

2 Commits

Author SHA1 Message Date
3852a2f72f
add jellyfin link 2023-07-26 15:16:17 +02:00
118d53e64e
fix path depth for payments/[item] api 2023-07-24 23:05:50 +02:00
4 changed files with 120 additions and 4 deletions

View File

@ -41,14 +41,21 @@ My own homepage, bocken.org (new.bocken.org for now), built with svelte-kit.
### Outside of this sveltekit project but planned to run on the server as well
- [ ] create LDAP and OpenID
#### E-Mail
- [ ] emailwiz setup
- [ ] fail2ban
- [ ] LDAP?
### Dendrite
- [ ] setup dendrite
- [ ] OAuth? -> Everything OAuth or OpenID?
- [ ] Connect to LDAP
- [ ] Serve some web-frontend -> Just element?
### Gitea
- [ ] consistent theming
- [ ] LDAP/OpenID
### Jellyfin
- [ ] connect to LDAP

View File

@ -88,6 +88,18 @@ section:has(a:hover){
</a>
</section>
<section>
<a href="https://stream.bocken.org" class=flex>
<div class=text>
<h2>Filme und TV Shows</h2>
<p>Die persönliche Filme und TV-Shows zum streamen gehosted via Jellyfin. Somit wird Netflix und Co. vollends ersetzt. Login notwendiged. (Zur Zeit noch separat von main-page login)</p>
</div>
<div>
<img src="/icons/Jellyfin.svg" alt="">
</div>
</a>
</section>
<section>
<a href="/bilder" class=flex>
<div class=text>

View File

@ -1,6 +1,6 @@
import type { RequestHandler } from '@sveltejs/kit';
import { Payment } from '../../../../models/Payment';
import { dbConnect, dbDisconnect } from '../../../../utils/db';
import { Payment } from '../../../../../models/Payment';
import { dbConnect, dbDisconnect } from '../../../../../utils/db';
import { error } from '@sveltejs/kit';
import { authenticateUser } from '$lib/js/authenticate';
// header: use for bearer token for now

97
static/icons/Jellyfin.svg Normal file
View File

@ -0,0 +1,97 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- ***** BEGIN LICENSE BLOCK *****
- Part of the Jellyfin project (https://jellyfin.media)
-
- All copyright belongs to the Jellyfin contributors; a full list can
- be found in the file CONTRIBUTORS.md
-
- This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
- To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/.
- ***** END LICENSE BLOCK ***** -->
<svg
id="svg30"
viewBox="0 0 465.40958 465.39288"
version="1.1"
sodipodi:docname="Jelly-banner-light.svg"
width="465.40958"
height="465.39288"
inkscape:export-filename="src/homepage/jellyfin_logo.svg"
inkscape:export-xdpi="300"
inkscape:export-ydpi="300"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview32"
pagecolor="#ffffff"
bordercolor="#111111"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:deskcolor="#d1d1d1"
showgrid="false" />
<defs
id="defs7">
<linearGradient
id="linear-gradient"
x1="110.25"
y1="213.3"
x2="496.14001"
y2="436.09"
gradientUnits="userSpaceOnUse">
<stop
offset="0"
stop-color="#aa5cc3"
id="stop2" />
<stop
offset="1"
stop-color="#00a4dc"
id="stop4" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linear-gradient"
id="linearGradient679"
gradientUnits="userSpaceOnUse"
x1="110.25"
y1="213.3"
x2="496.14001"
y2="436.09" />
<linearGradient
inkscape:collect="always"
xlink:href="#linear-gradient"
id="linearGradient681"
gradientUnits="userSpaceOnUse"
x1="110.25"
y1="213.3"
x2="496.14001"
y2="436.09" />
</defs>
<title
id="title9">banner-light</title>
<g
id="banner-light"
transform="translate(-28.68525,-23.3)">
<g
id="banner-light-icon">
<path
id="inner-shape"
d="m 261.42,201.62 c -20.44,0 -86.24,119.29 -76.2,139.43 10.04,20.14 142.48,19.92 152.4,0 9.92,-19.92 -55.76,-139.42 -76.2,-139.43 z"
fill="url(#linear-gradient)"
style="fill:url(#linearGradient679)" />
<path
id="outer-shape"
d="M 261.42,23.3 C 199.83,23.3 1.57,382.73 31.8,443.43 c 30.23,60.7 429.34,60 459.24,0 C 520.94,383.43 323,23.3 261.42,23.3 Z M 411.9,390.76 c -19.59,39.33 -281.08,39.77 -300.9,0 -19.82,-39.77 110.1,-275.28 150.45,-275.28 40.35,0 170.04,235.94 150.45,275.28 z"
fill="url(#linear-gradient)"
style="fill:url(#linearGradient681)" />
</g>
<g
id="jellyfin-dark-outlines"
style="isolation:isolate"
transform="translate(43.8)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB