forked from ProjectSegfault/website
fixes
This commit is contained in:
parent
b497b8edef
commit
56369d2d6a
@ -13,6 +13,6 @@ COPY . .
|
|||||||
|
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 4173
|
||||||
|
|
||||||
CMD [ "pnpm", "preview", "--port", "80" ]
|
CMD [ "pnpm", "preview" ]
|
@ -16,8 +16,8 @@
|
|||||||
|
|
||||||
<Hero
|
<Hero
|
||||||
title="Project Segfault"
|
title="Project Segfault"
|
||||||
description="Open source development and hosted services"
|
{description}
|
||||||
marginTop="7"
|
marginTop=7
|
||||||
>
|
>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<LinkButton
|
<LinkButton
|
||||||
@ -36,22 +36,28 @@
|
|||||||
</Hero>
|
</Hero>
|
||||||
|
|
||||||
{#if data.state.enabled}
|
{#if data.state.enabled}
|
||||||
{#if announcements.error}
|
{#if !announcements.error}
|
||||||
<span />
|
|
||||||
{:else}
|
|
||||||
<div class="announcements">
|
<div class="announcements">
|
||||||
<div class="announcement-container">
|
<div class="announcement-container">
|
||||||
<div class="announcement">
|
<div class="announcement">
|
||||||
<div class="general">
|
<div class="flex gap-4 flex-col sm:flex-row border-b-2 p-2 pt-0">
|
||||||
{#if announcements.severity === "info"}
|
{#if announcements.severity === "info"}
|
||||||
|
<div class="flex items-center gap-2">
|
||||||
<div class="i-fa6-solid:circle-info" />
|
<div class="i-fa6-solid:circle-info" />
|
||||||
|
<span>Info</span>
|
||||||
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
|
<div class="flex items-center gap-2">
|
||||||
<div class="i-fa6-solid:triangle-exclamation" />
|
<div class="i-fa6-solid:triangle-exclamation" />
|
||||||
|
<span>Attention</span>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<span>
|
<span class="flex items-center gap-2">
|
||||||
{announcements.author} -
|
<div class="i-fa6-solid:user" />
|
||||||
|
{announcements.author}
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span class="flex items-center gap-2">
|
||||||
|
<div class="i-fa6-solid:calendar" />
|
||||||
{dayjs
|
{dayjs
|
||||||
.unix(announcements.created)
|
.unix(announcements.created)
|
||||||
.format("DD/MM/YYYY HH:mm")}
|
.format("DD/MM/YYYY HH:mm")}
|
||||||
@ -105,7 +111,7 @@
|
|||||||
|
|
||||||
.announcement {
|
.announcement {
|
||||||
color: #252525 !important;
|
color: #252525 !important;
|
||||||
padding: 2rem 1rem;
|
padding: 1.5rem;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -116,16 +122,6 @@
|
|||||||
.announcement a {
|
.announcement a {
|
||||||
color: #252525;
|
color: #252525;
|
||||||
}
|
}
|
||||||
|
|
||||||
.announcement .general {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.no-js {
|
|
||||||
@apply flex justify-center text-center text-red;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
|
@ -13,14 +13,11 @@ description: The ways you can donate to us and more.
|
|||||||
|
|
||||||
## Reasons to donate to our project.
|
## Reasons to donate to our project.
|
||||||
|
|
||||||
If you donate, we will be more motivated to work on the server and host more stuff and maybe even get more hardware. Thanks!
|
If you donate, we will be more motivated to work on the server and host more stuff and maybe even get more hardware. As well as that, we may donate PayPal funds to project we heavily rely on. Thanks!
|
||||||
|
|
||||||
**UPDATE (25/10):** We will use PayPal funds to donate to other projects and fund our servers when in critical situation.
|
## Donation methods
|
||||||
**Midou** runs the PayPal Account on liberapay (not private), and **Mrlerien** runs the stripe account on liberapay (private).
|
|
||||||
|
|
||||||
## Donation links
|
### Credit card
|
||||||
|
|
||||||
### Credit Card
|
|
||||||
|
|
||||||
<LinkButton url="https://liberapay.com/ProjectSegfault/donate" icon="i-simple-icons:liberapay" title="Donate" bg="#F6C915" color="#151515" />
|
<LinkButton url="https://liberapay.com/ProjectSegfault/donate" icon="i-simple-icons:liberapay" title="Donate" bg="#F6C915" color="#151515" />
|
||||||
|
|
||||||
|
@ -4,11 +4,6 @@
|
|||||||
import type { PageData } from "../$types";
|
import type { PageData } from "../$types";
|
||||||
|
|
||||||
export let data: PageData;
|
export let data: PageData;
|
||||||
|
|
||||||
let groups = [
|
|
||||||
{name: "General", data: data.status.General},
|
|
||||||
{name: "Internal", data: data.status.Internal}
|
|
||||||
]
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
@ -20,7 +15,7 @@
|
|||||||
<div class="flex flex-col gap-4">
|
<div class="flex flex-col gap-4">
|
||||||
<CardOuter>
|
<CardOuter>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
{#each groups as group}
|
{#each data.status as group}
|
||||||
<h2>{group.name}</h2>
|
<h2>{group.name}</h2>
|
||||||
<div class="items">
|
<div class="items">
|
||||||
{#each group.data as item}
|
{#each group.data as item}
|
||||||
@ -32,13 +27,13 @@
|
|||||||
icon={item.icon}
|
icon={item.icon}
|
||||||
>
|
>
|
||||||
<LinksOuter>
|
<LinksOuter>
|
||||||
<Link url={item.website} class="web">
|
<Link url={item.link} class="web">
|
||||||
<div class="withText">
|
<div class="withText">
|
||||||
<div class="i-fa6-solid:globe" />
|
<div class="i-fa6-solid:globe" />
|
||||||
<span>Instance link</span>
|
<span>Instance link</span>
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
<Link url={item.projectWebsite} class="link">
|
<Link url={item.project} class="link">
|
||||||
<div class="withText">
|
<div class="withText">
|
||||||
<div class="i-fa6-solid:circle-info" />
|
<div class="i-fa6-solid:circle-info" />
|
||||||
<span>Project website</span>
|
<span>Project website</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user