+
+
+
+ {t("banner.winner")}
+
+
{getDisplayName(overallWinnerUser)}
@@ -387,26 +412,47 @@ export function ResultDashboard({
href={getGithubProfileUrl(overallWinnerUser.username)}
target="_blank"
rel="noopener noreferrer"
- className="inline-flex items-center text-muted-foreground transition-colors hover:text-foreground"
+ className="inline-flex shrink-0 items-center text-muted-foreground transition-colors hover:text-foreground"
aria-label={t("a11y.openProfile", {
name: getDisplayName(overallWinnerUser),
})}
>
-
+
+
+ @{overallWinnerUser.username}
+
+
+
+ {/* Compact Lead Pill on Mobile */}
+
+
+ {t("banner.leadby")}:
+ {winnerLeadValue}
+
{scoreVersion ? (
From f76bc881f8afe7050e46081e2bb3c8eaaafcae07 Mon Sep 17 00:00:00 2001
From: Osama Mabkhot <99215291+O2sa@users.noreply.github.com>
Date: Mon, 12 Oct 2026 01:28:20 +0300
Subject: [PATCH 3/4] feat(comparison): keep action buttons in single row on
small screens
---
.../components/result-dashboard.tsx | 36 +++++++++----------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/features/comparison/components/result-dashboard.tsx b/src/features/comparison/components/result-dashboard.tsx
index d07882d..85eaa3d 100644
--- a/src/features/comparison/components/result-dashboard.tsx
+++ b/src/features/comparison/components/result-dashboard.tsx
@@ -534,28 +534,28 @@ export function ResultDashboard({
) : null}
-
+
@@ -563,18 +563,18 @@ export function ResultDashboard({
variant="secondary"
size="sm"
onClick={handleCopy}
- className="flex items-center gap-2"
+ className="flex w-full items-center justify-center gap-1.5 px-2 text-xs sm:w-auto sm:px-3 sm:text-sm"
aria-label={t("results.copyAria")}
>
{copied ? (
<>
-
- {t("results.copied")}
+
+ {t("results.copied")}
>
) : (
<>
-
- {t("results.copy")}
+
+ {t("results.copy")}
>
)}
@@ -582,18 +582,18 @@ export function ResultDashboard({
variant="secondary"
size="sm"
onClick={handleCopyMarkdown}
- className="flex items-center gap-2"
+ className="flex w-full items-center justify-center gap-1.5 px-2 text-xs sm:w-auto sm:px-3 sm:text-sm"
aria-label={t("results.copyMarkdownAria")}
>
{markdownCopied ? (
<>
-
- {t("results.copied")}
+
+ {t("results.copied")}
>
) : (
<>
-
- {t("results.copyMarkdown")}
+
+ {t("results.copyMarkdown")}
>
)}
From 62724607aa67add392045fe574527859da7c4ece Mon Sep 17 00:00:00 2001
From: Osama Mabkhot <99215291+O2sa@users.noreply.github.com>
Date: Mon, 12 Oct 2026 01:28:46 +0300
Subject: [PATCH 4/4] feat(profile): layout action buttons as one on top and
two on bottom
---
.../components/user-profile-client.tsx | 88 ++++++++++---------
.../components/user-profile-skeleton.tsx | 9 +-
2 files changed, 52 insertions(+), 45 deletions(-)
diff --git a/src/features/developer/components/user-profile-client.tsx b/src/features/developer/components/user-profile-client.tsx
index 7760771..b10eeac 100644
--- a/src/features/developer/components/user-profile-client.tsx
+++ b/src/features/developer/components/user-profile-client.tsx
@@ -318,8 +318,9 @@ export function UserProfileClient({ user, location, countryParam }: Props) {
{/* Actions */}
-
-
+
+ {/* Primary Action (1) */}
+
-
diff --git a/src/features/developer/components/user-profile-skeleton.tsx b/src/features/developer/components/user-profile-skeleton.tsx
index bd3fbab..ee62300 100644
--- a/src/features/developer/components/user-profile-skeleton.tsx
+++ b/src/features/developer/components/user-profile-skeleton.tsx
@@ -16,9 +16,12 @@ export function UserProfileSkeleton() {