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