diff --git a/src/admin/insights/AdminAppInsightsClient.tsx b/src/admin/insights/AdminAppInsightsClient.tsx index b38994c3..32fce23c 100644 --- a/src/admin/insights/AdminAppInsightsClient.tsx +++ b/src/admin/insights/AdminAppInsightsClient.tsx @@ -10,7 +10,6 @@ import { FaTag } from 'react-icons/fa'; import { FaRegCalendar } from 'react-icons/fa6'; import { HiOutlinePhotograph, - HiOutlineRefresh, HiSparkles, } from 'react-icons/hi'; import { MdLightbulbOutline } from 'react-icons/md'; @@ -27,6 +26,8 @@ import { } from '@/app-core/config'; import { AdminAppInsight } from '.'; import EnvVar from '@/components/EnvVar'; +import { IoSyncCircle } from 'react-icons/io5'; +import clsx from 'clsx/lite'; const DEBUG_COMMIT_SHA = '4cd29ed'; const DEBUG_COMMIT_MESSAGE = 'Long commit message for debugging purposes'; @@ -68,6 +69,37 @@ export default function AdminAppInsightsClient({
{(codeMeta?.isBaseRepo || codeMeta?.isForkedFromBase || debug) && <> + {(codeMeta?.behindBy || debug) && + } + content={<> + This fork is + {' '} + + {codeMeta?.behindBy ?? 9} commits + + {' '} + behind + } + additionalContent={<> + + Sync your fork + + {' '} + to receive the latest fixes and features + } + />} } content={
} /> - {(codeMeta?.behindBy || debug) && - } - content={`This fork is ${codeMeta?.behindBy ?? 9} commits behind`} - additionalContent={<> - Sync your fork to receive new features and fixes - } - />}
} @@ -132,7 +153,7 @@ export default function AdminAppInsightsClient({ />} content="AI enabled without rate limiting" // eslint-disable-next-line max-len - additionalContent="Create Vercel KV store and link it to this project in order to enable rate limiting." + additionalContent="Create Vercel KV store and link o this project in order to enable rate limiting." />} {(noAi || debug) && } diff --git a/src/components/EnvVar.tsx b/src/components/EnvVar.tsx index 535d6301..5e45c348 100644 --- a/src/components/EnvVar.tsx +++ b/src/components/EnvVar.tsx @@ -20,8 +20,8 @@ export default function EnvVar({ {variable}{value && ` = ${value}`} diff --git a/src/components/ScoreCardRow.tsx b/src/components/ScoreCardRow.tsx index addc539b..0e8a2a4f 100644 --- a/src/components/ScoreCardRow.tsx +++ b/src/components/ScoreCardRow.tsx @@ -1,6 +1,6 @@ -import { clsx } from 'clsx'; +import { clsx } from 'clsx/lite'; import { ReactNode, useState } from 'react'; -import { FaMinus, FaPlus } from 'react-icons/fa6'; +import { LuChevronsDownUp, LuChevronsUpDown } from 'react-icons/lu'; export default function ScoreCardRow({ icon, @@ -39,11 +39,15 @@ export default function ScoreCardRow({ {additionalContent && }
); diff --git a/tailwind.css b/tailwind.css index e35d3666..a4d64d75 100644 --- a/tailwind.css +++ b/tailwind.css @@ -304,8 +304,7 @@ } a, .link { @apply - hover:text-gray-600 - hover:dark:text-gray-400 + hover:text-medium } }