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.
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`.
3. Install dependencies using `pnpm i` (recommended) or `npm i`.
4. Run the dev server using `pnpm dev` (recommended) or `npm run dev`.

View File

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

View File

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

View File

@ -2,13 +2,13 @@
{
"name": "Website",
"description": "Our website written in SvelteKit.",
"github": "https://github.com/ProjectSegfault/website/",
"git": "https://git.projectsegfau.lt/ProjectSegfault/website/",
"website": "https://projectsegfau.lt/"
},
{
"name": "Segfautils",
"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/"
}
]

View File

@ -5,7 +5,7 @@
"discord": "https://discord.com/users/845535118285602866/",
"position": "Web developer",
"description": "Hi, I am Akis.",
"github": "https://github.com/akisblack/",
"git": "https://github.com/akisblack/",
"website": "https://akisblack.github.io/"
},
{
@ -14,7 +14,7 @@
"discord": "https://discord.com/users/429353559566319626/",
"position": "Greece server owner",
"description": "Placeholder",
"github": "https://github.com/Devnol/",
"git": "https://github.com/Devnol/",
"website": "https://devnol.github.io/"
},
{
@ -22,7 +22,7 @@
"matrix": "https://matrix.to/#/@midou:projectsegfau.lt/",
"position": "System administrator",
"description": "I don't need to describe myself.",
"github": "https://github.com/Midou36O/",
"git": "https://github.com/Midou36O/",
"website": "https://miicord.com/",
"email": "midou@projectsegfau.lt",
"pgp": "https://keys.openpgp.org/vks/v1/by-fingerprint/E2CA3E4AAC6FF624A1EB993FFC7429AE78981D71"
@ -39,7 +39,7 @@
"matrix": "https://matrix.to/#/@odyssey:projectsegfau.lt",
"position": "Web developer, Gameserver system administrator",
"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"
},
{

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>
_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>
.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)
- [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>
<CardOuter>
{#each projects as { name, description, github, website }}
{#each projects as { name, description, git, website }}
<CardInner title={name} {description}>
<LinksOuter>
{#if website}
@ -19,9 +19,9 @@
</Link>
{/if}
{#if github}
<Link url={github} classes="githubcolored">
<div class="i-simple-icons:github"></div>
{#if git}
<Link url={git} classes="giteacolored">
<div class="i-simple-icons:gitea"></div>
</Link>
{/if}
</LinksOuter>

View File

@ -10,7 +10,7 @@
<h1>Our team</h1>
<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}>
<LinksOuter>
{#if matrix}
@ -25,9 +25,9 @@
</Link>
{/if}
{#if github}
<Link url={github} classes="githubcolored">
<div class="i-simple-icons:github"></div>
{#if git}
<Link url={git} classes="gitcolored">
<div class="i-simple-icons:git"></div>
</Link>
{/if}