From c6ba506b1783a0c95f310302d041b6c7474492b2 Mon Sep 17 00:00:00 2001 From: Josh Collinsworth Date: Fri, 1 Mar 2024 16:20:44 -0600 Subject: [PATCH] Misc post-launch touchups (#117) - Fixes both GitHub Security options being highlighted, regardless of which is active, on account settings page - Slows down particles on homepage - Tweaks type and logo size on homepage - Fixes rounded score display displaying as an oval on Safari --- frontend/components/AnimatedLogo.tsx | 2 +- frontend/components/QuotaCard.tsx | 2 +- frontend/islands/HomepageHero.tsx | 4 ++-- frontend/routes/@[scope]/~/settings.tsx | 12 ++++++------ .../routes/package/(_components)/PackageHeader.tsx | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/components/AnimatedLogo.tsx b/frontend/components/AnimatedLogo.tsx index c0205b33..b77e0522 100644 --- a/frontend/components/AnimatedLogo.tsx +++ b/frontend/components/AnimatedLogo.tsx @@ -14,7 +14,7 @@ export function AnimatedLogo() { aria-hidden="true" > diff --git a/frontend/components/QuotaCard.tsx b/frontend/components/QuotaCard.tsx index 673e4cb6..38ffa193 100644 --- a/frontend/components/QuotaCard.tsx +++ b/frontend/components/QuotaCard.tsx @@ -10,7 +10,7 @@ export function QuotaCard( }, ) { return ( -
+

{props.title}

{props.description}

diff --git a/frontend/islands/HomepageHero.tsx b/frontend/islands/HomepageHero.tsx index 97611039..a4045981 100644 --- a/frontend/islands/HomepageHero.tsx +++ b/frontend/islands/HomepageHero.tsx @@ -60,7 +60,7 @@ const config = { }, move: { enable: true, - speed: 0.6, + speed: 0.45, direction: "top", random: false, straight: false, @@ -158,7 +158,7 @@ export function HomepageHero( JSR
The open-source package registry{" "} diff --git a/frontend/routes/@[scope]/~/settings.tsx b/frontend/routes/@[scope]/~/settings.tsx index 8c9434cb..bf21aaaa 100644 --- a/frontend/routes/@[scope]/~/settings.tsx +++ b/frontend/routes/@[scope]/~/settings.tsx @@ -49,7 +49,7 @@ Reason: `; return (
-

Quotas

+

Quotas

Scopes have certain quotas to help prevent abuse. We are happy to @@ -95,7 +95,7 @@ Reason: `; function GitHubActionsSecurity({ scope }: { scope: FullScope }) { return (

-

GitHub Actions security

+

GitHub Actions security

GitHub Actions can be used to publish packages to JSR without having to set up authentication tokens. Publishing is permitted only if the @@ -157,8 +157,8 @@ interface CardButtonProps { function CardButton(props: CardButtonProps) { return (

{props.description}

diff --git a/frontend/routes/package/(_components)/PackageHeader.tsx b/frontend/routes/package/(_components)/PackageHeader.tsx index d385524d..ac733e2c 100644 --- a/frontend/routes/package/(_components)/PackageHeader.tsx +++ b/frontend/routes/package/(_components)/PackageHeader.tsx @@ -56,12 +56,12 @@ export function PackageHeader( > Score
- + {pkg.score}%