Merge pull request 'GitHub -> Gitea (closes #2)' (#3) from gh-to-gt into main

Reviewed-on: #3
This commit is contained in:
Akis 2022-08-11 14:54:28 +02:00
commit 8bae47ca2b
9 changed files with 34 additions and 30 deletions

View File

@ -14,7 +14,7 @@ Live at [projectsegfau.lt](https://projectsegfau.lt).
### Running a dev server. ### Running a dev server.
1. Clone the repository using `git clone https://github.com/ProjectSegfault/website`. 1. Clone the repository using `git clone https://git.projectsegfau.lt/ProjectSegfault/website`.
2. Change directory into the clone using `cd ./website`. 2. Change directory into the clone using `cd ./website`.
3. Install dependencies using `pnpm i` (recommended) or `npm i`. 3. Install dependencies using `pnpm i` (recommended) or `npm i`.
4. Run the dev server using `pnpm dev` (recommended) or `npm run dev`. 4. Run the dev server using `pnpm dev` (recommended) or `npm run dev`.

View File

@ -15,7 +15,6 @@
background-color: var(--alt); background-color: var(--alt);
color: var(--alt-text); color: var(--alt-text);
font-size: 20px; font-size: 20px;
height: 23px;
transition: all 0.25s; transition: all 0.25s;
display: flex; display: flex;
align-items: center; align-items: center;
@ -33,7 +32,6 @@
background-color: var(--alt); background-color: var(--alt);
color: var(--alt-text); color: var(--alt-text);
font-size: 20px; font-size: 20px;
height: 23px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
@ -42,16 +40,22 @@
background-color: #5865f2; background-color: #5865f2;
color: #fff; color: #fff;
font-size: 20px; font-size: 20px;
height: 23px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.githubcolored { .gitcolored {
background-color: #333; background-color: #F05032;
color: #fff;
font-size: 20px;
display: flex;
align-items: center;
}
.giteacolored {
background-color: #609926;
color: #fff; color: #fff;
font-size: 20px; font-size: 20px;
height: 23px;
display: flex; display: flex;
align-items: center; align-items: center;
} }

View File

@ -44,8 +44,8 @@
<a href="https://matrix.to/#/#project-segfault:projectsegfau.lt/"> <a href="https://matrix.to/#/#project-segfault:projectsegfau.lt/">
<div class="i-simple-icons:matrix"></div> <div class="i-simple-icons:matrix"></div>
</a> </a>
<a href="https://github.com/ProjectSegfault/"> <a href="https://git.projectsegfau.lt/ProjectSegfault/">
<div class="i-simple-icons:github"></div> <div class="i-simple-icons:gitea"></div>
</a> </a>
<div> <div>
<ThemeToggle /> <ThemeToggle />

View File

@ -2,13 +2,13 @@
{ {
"name": "Website", "name": "Website",
"description": "Our website written in SvelteKit.", "description": "Our website written in SvelteKit.",
"github": "https://github.com/ProjectSegfault/website/", "git": "https://git.projectsegfau.lt/ProjectSegfault/website/",
"website": "https://projectsegfau.lt/" "website": "https://projectsegfau.lt/"
}, },
{ {
"name": "Segfautils", "name": "Segfautils",
"description": "Web utilities (APIs) for Project Segfault, but you could probably use them too.", "description": "Web utilities (APIs) for Project Segfault, but you could probably use them too.",
"github": "https://github.com/ProjectSegfault/Segfautils/", "git": "https://git.projectsegfau.lt/ProjectSegfault/Segfautils/",
"website": "https://segfautils.projectsegfau.lt/" "website": "https://segfautils.projectsegfau.lt/"
} }
] ]

View File

@ -5,7 +5,7 @@
"discord": "https://discord.com/users/845535118285602866/", "discord": "https://discord.com/users/845535118285602866/",
"position": "Web developer", "position": "Web developer",
"description": "Hi, I am Akis.", "description": "Hi, I am Akis.",
"github": "https://github.com/akisblack/", "git": "https://github.com/akisblack/",
"website": "https://akisblack.github.io/" "website": "https://akisblack.github.io/"
}, },
{ {
@ -14,7 +14,7 @@
"discord": "https://discord.com/users/429353559566319626/", "discord": "https://discord.com/users/429353559566319626/",
"position": "Greece server owner", "position": "Greece server owner",
"description": "Placeholder", "description": "Placeholder",
"github": "https://github.com/Devnol/", "git": "https://github.com/Devnol/",
"website": "https://devnol.github.io/" "website": "https://devnol.github.io/"
}, },
{ {
@ -22,7 +22,7 @@
"matrix": "https://matrix.to/#/@midou:projectsegfau.lt/", "matrix": "https://matrix.to/#/@midou:projectsegfau.lt/",
"position": "System administrator", "position": "System administrator",
"description": "I don't need to describe myself.", "description": "I don't need to describe myself.",
"github": "https://github.com/Midou36O/", "git": "https://github.com/Midou36O/",
"website": "https://miicord.com/", "website": "https://miicord.com/",
"email": "midou@projectsegfau.lt", "email": "midou@projectsegfau.lt",
"pgp": "https://keys.openpgp.org/vks/v1/by-fingerprint/E2CA3E4AAC6FF624A1EB993FFC7429AE78981D71" "pgp": "https://keys.openpgp.org/vks/v1/by-fingerprint/E2CA3E4AAC6FF624A1EB993FFC7429AE78981D71"
@ -39,7 +39,7 @@
"matrix": "https://matrix.to/#/@odyssey:projectsegfau.lt", "matrix": "https://matrix.to/#/@odyssey:projectsegfau.lt",
"position": "Web developer, Gameserver system administrator", "position": "Web developer, Gameserver system administrator",
"description": "Hi, I'm Odyssey346 and I do things here. Check out my website for more info.", "description": "Hi, I'm Odyssey346 and I do things here. Check out my website for more info.",
"github": "https://github.com/Odyssey346", "git": "https://github.com/Odyssey346",
"website": "https://odyssey346.dev" "website": "https://odyssey346.dev"
}, },
{ {

View File

@ -25,7 +25,7 @@ If you donate, we will be more motivated to work on the server and host more stu
</div> </div>
</div> </div>
_You can find all of our financial reports on [our transparency repository on GitHub](https://github.com/ProjectSegfault/transparency/)._ _You can find all of our financial reports on [our transparency repository on Gitea](https://git.projectsegfau.lt/ProjectSegfault/transparency/)._
<style> <style>
.monero { .monero {

View File

@ -8,4 +8,4 @@ Since we care about transparency, privacy and safety we have created some docume
- [Privacy Policy](/legal/privacy-policy) - [Privacy Policy](/legal/privacy-policy)
- [Terms of Service](/legal/tos) - [Terms of Service](/legal/tos)
- [Transparency reports](https://github.com/ProjectSegfault/transparency/) - [Transparency reports](https://git.projectsegfau.lt/ProjectSegfault/transparency/)

View File

@ -10,7 +10,7 @@
<h1>Our projects</h1> <h1>Our projects</h1>
<CardOuter> <CardOuter>
{#each projects as { name, description, github, website }} {#each projects as { name, description, git, website }}
<CardInner title={name} {description}> <CardInner title={name} {description}>
<LinksOuter> <LinksOuter>
{#if website} {#if website}
@ -19,9 +19,9 @@
</Link> </Link>
{/if} {/if}
{#if github} {#if git}
<Link url={github} classes="githubcolored"> <Link url={git} classes="giteacolored">
<div class="i-simple-icons:github"></div> <div class="i-simple-icons:gitea"></div>
</Link> </Link>
{/if} {/if}
</LinksOuter> </LinksOuter>

View File

@ -10,7 +10,7 @@
<h1>Our team</h1> <h1>Our team</h1>
<CardOuter> <CardOuter>
{#each members as { name, discord, matrix, position, description, github, pgp, website, email, picture }} {#each members as { name, discord, matrix, position, description, git, pgp, website, email, picture }}
<CardInner title={name} {position} {description}> <CardInner title={name} {position} {description}>
<LinksOuter> <LinksOuter>
{#if matrix} {#if matrix}
@ -25,9 +25,9 @@
</Link> </Link>
{/if} {/if}
{#if github} {#if git}
<Link url={github} classes="githubcolored"> <Link url={git} classes="gitcolored">
<div class="i-simple-icons:github"></div> <div class="i-simple-icons:git"></div>
</Link> </Link>
{/if} {/if}