mirror of
https://github.com/ProjectSegfault/website.git
synced 2025-05-31 14:12:04 +05:30
fix some props and make donate content better
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<script lang="ts">
|
||||
export let title: any;
|
||||
export let position: any;
|
||||
export let description: any;
|
||||
export let icon: any;
|
||||
export let positionStyles: any;
|
||||
export let title: string = "";
|
||||
export let position: string = "";
|
||||
export let description: string = "";
|
||||
export let icon: string = "";
|
||||
export let positionStyles: string = "";
|
||||
</script>
|
||||
|
||||
<div class="bg-secondary rounded-2 p-4 w-[18rem] sm:w-md flex flex-col">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
export let url: any;
|
||||
export let url: string = "";
|
||||
let classes: string = "";
|
||||
export { classes as class };
|
||||
</script>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
submit = !submit;
|
||||
};
|
||||
|
||||
export let sitekey: string;
|
||||
export let sitekey: string = "";
|
||||
</script>
|
||||
|
||||
<Note
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
export let action: string;
|
||||
export let method: string;
|
||||
export let id: string;
|
||||
export let action: string = "";
|
||||
export let method: string = "";
|
||||
export let id: string = "";
|
||||
</script>
|
||||
|
||||
<form
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
export let inputType: string;
|
||||
export let inputPlaceholder: string;
|
||||
export let selectType: string;
|
||||
export let inputType: string = "";
|
||||
export let inputPlaceholder: string = "";
|
||||
export let selectType: string = "";
|
||||
</script>
|
||||
|
||||
<div
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
export let content: string;
|
||||
export let icon: string;
|
||||
export let content: string = "";
|
||||
export let icon: string = "";
|
||||
</script>
|
||||
|
||||
<div class="flex items-center gap-2">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
export let id: string;
|
||||
export let name: string;
|
||||
export let placeholder: string;
|
||||
export let id: string = "";
|
||||
export let name: string = "";
|
||||
export let placeholder: string = "";
|
||||
</script>
|
||||
|
||||
<textarea
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
export let title: string;
|
||||
export let description: string;
|
||||
export let marginTop: string;
|
||||
export let title: string = "";
|
||||
export let description: string = "";
|
||||
export let marginTop: string = "";
|
||||
let styles: string = "";
|
||||
export { styles as style };
|
||||
</script>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<script lang="ts">
|
||||
export let url: string;
|
||||
export let icon: string;
|
||||
export let title: string;
|
||||
export let bg: string;
|
||||
export let color: string;
|
||||
export let styles: string;
|
||||
export let url: string = "";
|
||||
export let icon: string = "";
|
||||
export let title: string = "";
|
||||
export let bg: string = "";
|
||||
export let color: string = "";
|
||||
export let styles: string = "";
|
||||
</script>
|
||||
|
||||
<a
|
||||
|
||||
@@ -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>
|
||||
@@ -15,6 +15,13 @@
|
||||
"email": "arya@projectsegfau.lt",
|
||||
"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",
|
||||
"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/",
|
||||
"position": "France server owner",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user