fix some props and make donate content better

This commit is contained in:
Akis 2023-01-01 14:27:24 +02:00
parent 6219c04df5
commit 9635a48051
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED
14 changed files with 52 additions and 88 deletions

View File

@ -1,9 +1,9 @@
<script lang="ts"> <script lang="ts">
export let title: any; export let title: string = "";
export let position: any; export let position: string = "";
export let description: any; export let description: string = "";
export let icon: any; export let icon: string = "";
export let positionStyles: any; export let positionStyles: string = "";
</script> </script>
<div class="bg-secondary rounded-2 p-4 w-[18rem] sm:w-md flex flex-col"> <div class="bg-secondary rounded-2 p-4 w-[18rem] sm:w-md flex flex-col">

View File

@ -1,5 +1,5 @@
<script lang="ts"> <script lang="ts">
export let url: any; export let url: string = "";
let classes: string = ""; let classes: string = "";
export { classes as class }; export { classes as class };
</script> </script>

View File

@ -8,7 +8,7 @@
submit = !submit; submit = !submit;
}; };
export let sitekey: string; export let sitekey: string = "";
</script> </script>
<Note <Note

View File

@ -1,7 +1,7 @@
<script lang="ts"> <script lang="ts">
export let action: string; export let action: string = "";
export let method: string; export let method: string = "";
export let id: string; export let id: string = "";
</script> </script>
<form <form

View File

@ -1,7 +1,7 @@
<script lang="ts"> <script lang="ts">
export let inputType: string; export let inputType: string = "";
export let inputPlaceholder: string; export let inputPlaceholder: string = "";
export let selectType: string; export let selectType: string = "";
</script> </script>
<div <div

View File

@ -1,6 +1,6 @@
<script lang="ts"> <script lang="ts">
export let content: string; export let content: string = "";
export let icon: string; export let icon: string = "";
</script> </script>
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">

View File

@ -1,7 +1,7 @@
<script lang="ts"> <script lang="ts">
export let id: string; export let id: string = "";
export let name: string; export let name: string = "";
export let placeholder: string; export let placeholder: string = "";
</script> </script>
<textarea <textarea

View File

@ -1,7 +1,7 @@
<script lang="ts"> <script lang="ts">
export let title: string; export let title: string = "";
export let description: string; export let description: string = "";
export let marginTop: string; export let marginTop: string = "";
let styles: string = ""; let styles: string = "";
export { styles as style }; export { styles as style };
</script> </script>

View File

@ -1,10 +1,10 @@
<script lang="ts"> <script lang="ts">
export let url: string; export let url: string = "";
export let icon: string; export let icon: string = "";
export let title: string; export let title: string = "";
export let bg: string; export let bg: string = "";
export let color: string; export let color: string = "";
export let styles: string; export let styles: string = "";
</script> </script>
<a <a

View File

@ -1,38 +0,0 @@
<script>
//@ts-ignoreS
export let title;
export let description;
export let separator;
import SvelteSeo from "svelte-seo";
// Enjoy the jank.
if (title === "Project Segfault") {
title = "";
separator = "";
} else {
separator = "|";
}
</script>
<SvelteSeo
openGraph={{
title: title,
description: description,
type: "website",
images: [
{
url: "https://projectsegfau.lt:8448/_matrix/media/r0/download/projectsegfau.lt/HBgjhWUExhKPzbpkpIqQfUkF",
width: 850,
height: 650,
alt: "Image"
}
]
}}
/>
<svelte:head>
<title>{title} {separator} Project Segfault</title>
</svelte:head>
<div class="mdsvex_content">
<slot />
</div>

View File

@ -15,6 +15,13 @@
"email": "arya@projectsegfau.lt", "email": "arya@projectsegfau.lt",
"pgp": "https://keys.openpgp.org/vks/v1/by-fingerprint/9D56914428A62CF1B6A32175842D12BDA50DF120" "pgp": "https://keys.openpgp.org/vks/v1/by-fingerprint/9D56914428A62CF1B6A32175842D12BDA50DF120"
}, },
{
"name": "Devrand",
"matrix": "https://matrix.to/#/@openssl_rand:projectsegfau.lt/",
"position": "Sysadmin",
"description": "High schooler who is interested in internet freedom, programming, and open source software. (Previously openssl_rand)",
"email": "mailto:openssl_rand@projectsegfau.lt"
},
{ {
"name": "Midou", "name": "Midou",
"description": "A random person with an obsession to online cat pics, also happens to be the sysadmin of the project", "description": "A random person with an obsession to online cat pics, also happens to be the sysadmin of the project",
@ -31,12 +38,5 @@
"matrix": "https://matrix.to/#/@mrlerien:projectsegfau.lt/", "matrix": "https://matrix.to/#/@mrlerien:projectsegfau.lt/",
"position": "France server owner", "position": "France server owner",
"description": "using windows server for soleil levant was a mistake" "description": "using windows server for soleil levant was a mistake"
},
{
"name": "Devrand",
"matrix": "https://matrix.to/#/@openssl_rand:projectsegfau.lt/",
"position": "Sysadmin",
"description": "High schooler who is interested in internet freedom, programming, and open source software. (Previously openssl_rand)",
"email": "mailto:openssl_rand@projectsegfau.lt"
} }
] ]

View File

@ -79,13 +79,15 @@
<h2>Our Email</h2> <h2>Our Email</h2>
<a href="mailto:contact@projectsegfau.lt">contact@projectsegfau.lt</a> <div class="flex flex-col gap-4">
<a href="mailto:contact@projectsegfau.lt">contact@projectsegfau.lt</a>
<span class="italic"> <span class="italic">
Please be aware that Microsoft often blocks non-popular emails, if you do Please be aware that Microsoft and other email providers often block non-popular emails, if you do
contact us through there, make sure to check your spam and mark it as contact us through there, make sure to check your spam and mark it as
not-spam! not-spam!
</span> </span>
</div>
<h2>People</h2> <h2>People</h2>

View File

@ -1,21 +1,22 @@
--- ---
title: Donate to Project Segfault title: Donate
description: The ways you can donate to us and more.
--- ---
<script> <script>
import LinkButton from "$lib/LinkButton.svelte"; import LinkButton from "$lib/LinkButton.svelte";
</script> </script>
<svelte:head>
<title>{title} | Project Segfault</title>
</svelte:head>
# { title } # { title }
{ description } ## What we do with donations
These donations primarily help us pay for our VPSes, domain names and other expenses related to crucial infrastructure we have to maintain. We also sometimes donate to developers who maintain software we rely heavily on such as our authentication provider.
## Reasons to donate to our project.
If you donate, we will be more motivated to work on the server and host more stuff and maybe even get more hardware. As well as that, we may donate PayPal funds to project we heavily rely on. Thanks!
## Donation methods ## Donation methods
You can currently donate by credit card through [Liberapay](https://liberaypay.com) and cryptocurrencies.
### Credit card ### Credit card
@ -23,7 +24,7 @@ If you donate, we will be more motivated to work on the server and host more stu
### Cryptocurrency ### Cryptocurrency
You can use our [domain name](https://projectsegfau.lt) as a crypto wallet address in supported OpenAlias clients such as [MyMonero](https://mymonero.com/), [Electrum](https://electrum.org/) and [Electrum-LTC](https://electrum-ltc.org/). You can use [projectsegfau.lt](https://projectsegfau.lt) as a crypto wallet address in supported OpenAlias clients such as [MyMonero](https://mymonero.com/), [Electrum](https://electrum.org/) and [Electrum-LTC](https://electrum-ltc.org/).
#### Monero #### Monero

View File

@ -11,8 +11,7 @@ const config = {
preprocess: [ preprocess: [
preprocess(), preprocess(),
mdsvex({ mdsvex({
extensions: [".md"], extensions: [".md"]
layout: "./src/lib/MDsvexLayout.svelte"
}) })
], ],