mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-17 21:53:06 +05:30
use strings file for more stuff
This commit is contained in:
parent
fd0054f3f0
commit
e0dc5aea39
@ -3,24 +3,25 @@
|
|||||||
import IconMatrix from "~icons/simple-icons/matrix";
|
import IconMatrix from "~icons/simple-icons/matrix";
|
||||||
import IconGitHub from "~icons/simple-icons/github";
|
import IconGitHub from "~icons/simple-icons/github";
|
||||||
import IconSignal from "~icons/fa6-solid/signal";
|
import IconSignal from "~icons/fa6-solid/signal";
|
||||||
|
import * as strings from "$lib/strings";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<hr />
|
<hr />
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<span>© 2021 - present, Project Segfault</span>
|
<span>{strings.COPYRIGHT}</span>
|
||||||
|
|
||||||
<div class="links">
|
<div class="links">
|
||||||
<a href="https://matrix.to/#/#project-segfault:projectsegfau.lt">
|
<a href={strings.MATRIX_INVITE}>
|
||||||
<IconMatrix />
|
<IconMatrix />
|
||||||
</a>
|
</a>
|
||||||
<a href="https://discord.gg/26EG7fFtfS">
|
<a href={strings.DISCORD_INVITE}>
|
||||||
<IconDiscord />
|
<IconDiscord />
|
||||||
</a>
|
</a>
|
||||||
<a href="https://github.com/ProjectSegfault">
|
<a href={strings.GITHUB}>
|
||||||
<IconGitHub />
|
<IconGitHub />
|
||||||
</a>
|
</a>
|
||||||
<a href="https://status.projectsegfau.lt/">
|
<a href={strings.STATUS}>
|
||||||
<IconSignal />
|
<IconSignal />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
<a class="brand" href="/">
|
<a class="brand" href="/">
|
||||||
<img src="/logo.png" alt="Project Segfault logo" />
|
<img src="/logo.png" alt="{strings.NAME} logo" />
|
||||||
<span
|
<span
|
||||||
style="color: var(--accent-secondary); margin-left: 4px; margin-right: 4px;"
|
style="color: var(--accent-secondary); margin-left: 4px; margin-right: 4px;"
|
||||||
>{strings.PROJECT}</span
|
>{strings.PROJECT}</span
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
export let description;
|
export let description;
|
||||||
export let separator;
|
export let separator;
|
||||||
import SvelteSeo from "svelte-seo";
|
import SvelteSeo from "svelte-seo";
|
||||||
|
import * as strings from "$lib/strings";
|
||||||
// Enjoy the jank.
|
// Enjoy the jank.
|
||||||
if (title === "Project Segfault") {
|
if (title === "Project Segfault") {
|
||||||
title = "";
|
title = "";
|
||||||
@ -19,7 +20,7 @@
|
|||||||
type: "website",
|
type: "website",
|
||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
url: "https://projectsegfau.lt:8448/_matrix/media/r0/download/projectsegfau.lt/HBgjhWUExhKPzbpkpIqQfUkF",
|
url: strings.SEO_BANNER_URL,
|
||||||
width: 850,
|
width: 850,
|
||||||
height: 650,
|
height: 650,
|
||||||
alt: "Image"
|
alt: "Image"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"NAME": "Project Segfault",
|
||||||
"PROJECT": "Project",
|
"PROJECT": "Project",
|
||||||
"SEGFAULT": "Segfault",
|
"SEGFAULT": "Segfault",
|
||||||
"INSTANCES": "Instances & Gameservers",
|
"INSTANCES": "Instances & Gameservers",
|
||||||
@ -6,5 +7,11 @@
|
|||||||
"DONATE": "Donate",
|
"DONATE": "Donate",
|
||||||
"FAQ": "FAQ",
|
"FAQ": "FAQ",
|
||||||
"CONTACT": "Contact",
|
"CONTACT": "Contact",
|
||||||
"BLOG": "Blog"
|
"BLOG": "Blog",
|
||||||
|
"SEO_BANNER_URL": "https://projectsegfau.lt:8448/_matrix/media/r0/download/projectsegfau.lt/HBgjhWUExhKPzbpkpIqQfUkF",
|
||||||
|
"COPYRIGHT": "© 2021 - present, Project Segfault",
|
||||||
|
"MATRIX_INVITE": "https://matrix.to/#/#project-segfault:projectsegfau.lt",
|
||||||
|
"DISCORD_INVITE": "https://discord.gg/26EG7fFtfS",
|
||||||
|
"GITHUB": "https://github.com/ProjectSegfault",
|
||||||
|
"STATUS": "https://status.projectsegfau.lt/"
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ const config = {
|
|||||||
preprocess(),
|
preprocess(),
|
||||||
mdsvex({
|
mdsvex({
|
||||||
extensions: [".md"],
|
extensions: [".md"],
|
||||||
layout: "./src/lib/content.svelte"
|
layout: "./src/lib/Content.svelte"
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user