From 0cf9a8a48d9f2aff5c0790d146f06c6740fe825c Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Tue, 13 Aug 2024 12:19:04 +0200 Subject: [PATCH] Change to Border --- src/pages/index.astro | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 1b0314e..fb7b2d7 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -39,24 +39,24 @@ const prefixColorMap: { }; } = { PREFIX_ADMIN: { - from: "from-red-600", - to: "to-red-800", + from: "border-red-600", + to: "border-red-800", }, PREFIX_DEVELOPER: { - from: "from-sky-600", - to: "to-sky-800", + from: "border-sky-600", + to: "border-sky-800", }, PREFIX_MODERATOR: { - from: "from-amber-600", - to: "to-amber-800", + from: "border-amber-600", + to: "border-amber-800", }, PREFIX_SUPPORTER: { - from: "from-blue-700", - to: "to-blue-900", + from: "border-blue-700", + to: "border-blue-900", }, PREFIX_BUILDER: { - from: "from-green-500", - to: "to-green-700", + from: "border-green-500", + to: "border-green-700", }, }; --- @@ -183,7 +183,7 @@ const prefixColorMap: { {players.map((v, index) => (
{index == 0 ?

{t("home.prefix." + prefix.replace("PREFIX_", "").toLowerCase())}

: null} - +
{v.name}