From 701be4e00babcebc779753c22d3827d00b3aded0 Mon Sep 17 00:00:00 2001 From: Rounak Joshi Date: Sat, 4 Oct 2025 10:11:20 +0530 Subject: [PATCH 1/3] Refactor DownloadCounter component styles and update HomePageClient layout - Adjusted styles in DownloadCounter for improved responsiveness, including font sizes and padding. --- src/app/[locale]/HomePageClient.tsx | 2 +- src/components/DownloadCounter/index.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/[locale]/HomePageClient.tsx b/src/app/[locale]/HomePageClient.tsx index 1cfe81dc..ad0e5d9b 100644 --- a/src/app/[locale]/HomePageClient.tsx +++ b/src/app/[locale]/HomePageClient.tsx @@ -19,10 +19,10 @@ export default function HomePageClient({ return (
+ - diff --git a/src/components/DownloadCounter/index.tsx b/src/components/DownloadCounter/index.tsx index f9292b24..1b1bb2ad 100644 --- a/src/components/DownloadCounter/index.tsx +++ b/src/components/DownloadCounter/index.tsx @@ -54,17 +54,17 @@ const DownloadCounter = ({ total }: DownloadCounterProps) => { }, [animate, endValue, startValue, duration]) return ( -
+
-

+

{t('title')}

-

+

{count.toLocaleString()}

- +

{t('total-download-docker-pulls-ever')} From a4428c24b27ad1dc9ea413a7b58dcfbf41686a85 Mon Sep 17 00:00:00 2001 From: Rounak Joshi Date: Sat, 4 Oct 2025 10:47:10 +0530 Subject: [PATCH 2/3] Download Counter moved below carousel. --- src/app/[locale]/HomePageClient.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/[locale]/HomePageClient.tsx b/src/app/[locale]/HomePageClient.tsx index ad0e5d9b..2092959c 100644 --- a/src/app/[locale]/HomePageClient.tsx +++ b/src/app/[locale]/HomePageClient.tsx @@ -19,8 +19,8 @@ export default function HomePageClient({ return (

- + From ffa724d638ed7e82a73fa2f7041aa4baa4322083 Mon Sep 17 00:00:00 2001 From: Rounak Joshi Date: Sat, 4 Oct 2025 17:03:50 +0530 Subject: [PATCH 3/3] Snapshots Updated --- .../__snapshots__/page.test.tsx.snap | 88 +++++++++---------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/src/app/[locale]/__tests__/__snapshots__/page.test.tsx.snap b/src/app/[locale]/__tests__/__snapshots__/page.test.tsx.snap index b83470a0..c641ce5a 100644 --- a/src/app/[locale]/__tests__/__snapshots__/page.test.tsx.snap +++ b/src/app/[locale]/__tests__/__snapshots__/page.test.tsx.snap @@ -239,6 +239,50 @@ exports[`Index page > renders correctly 1`] = `
+
+
+

+ Text +

+

+ 0 +

+
+ + + + + +

+ Text +

+
+
+
@@ -572,50 +616,6 @@ exports[`Index page > renders correctly 1`] = `
-
-
-

- Text -

-

- 0 -

-
- - - - - -

- Text -

-
-
-