Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/assets/brand/waterfall-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/data/SoftwareDownload.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import PaperIconUrl from "@/assets/brand/paper.svg?url";
import VelocityIconUrl from "@/assets/brand/velocity.svg?url";
import FoliaIconUrl from "@/assets/brand/folia.svg?url";
import WaterfallIconUrl from "@/assets/brand/waterfall.svg?url";
import WaterfallIconUrl from "@/assets/brand/waterfall-white.svg?url";
import type { Snippet } from "svelte";
import { type ProjectBuildsOrError } from "@/utils/download";

Expand Down Expand Up @@ -84,14 +84,14 @@
{#if Description}
{@render Description()}
{:else if typeof description === "string"}
{@html description}

Check warning on line 87 in src/components/data/SoftwareDownload.svelte

View workflow job for this annotation

GitHub Actions / lint

`{@html}` can lead to XSS attack

Check warning on line 87 in src/components/data/SoftwareDownload.svelte

View workflow job for this annotation

GitHub Actions / lint

`{@html}` can lead to XSS attack
{/if}
{:else if experimentalWarning}
{experimentalWarning}
{:else if Description}
{@render Description()}
{:else if typeof description === "string"}
{@html description}

Check warning on line 94 in src/components/data/SoftwareDownload.svelte

View workflow job for this annotation

GitHub Actions / lint

`{@html}` can lead to XSS attack

Check warning on line 94 in src/components/data/SoftwareDownload.svelte

View workflow job for this annotation

GitHub Actions / lint

`{@html}` can lead to XSS attack
{/if}
</p>

Expand Down
2 changes: 1 addition & 1 deletion src/components/data/SoftwarePreview.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const { id, name, icon, description, type, eol } = Astro.props;
<article class="btn btn-outline btn-gray group h-full flex-col items-start justify-start rounded-md p-4 text-left">
<div class="flex flex-row items-center gap-4">
<div class="h-12 w-12 rounded-lg bg-gray-800 p-3">
<Icon name={icon} class:list={["h-full w-full", eol && "group-hover:stroke-red-400 group-hover:text-red-400"]} />
<Icon name={icon} class:list={["h-full w-full text-white", eol && "group-hover:stroke-red-400 group-hover:text-red-400"]} />
</div>
<h3 class:list={["flex flex-1 items-center gap-4 text-lg font-medium", eol && "group-hover:text-red-400"]}>
{name}
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/SoftwareHeader.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const { id, name, icon, github, eol } = Astro.props;
<div class="flex-1">
<div class="mb-6 flex flex-row items-center gap-4">
<div class="h-12 w-12 rounded-lg bg-gray-800 p-3">
{icon && <Icon name={icon} class="h-full w-full" />}
{icon && <Icon name={icon} class="h-full w-full text-white" />}
</div>
<h1 class="flex items-center gap-4 text-xl font-medium">
{name}
Expand Down
Loading