From f3a0ce0d8f66251a5f70e50b07663c3309573f53 Mon Sep 17 00:00:00 2001 From: steam_bell_92 Date: Sun, 20 Sep 2026 11:42:31 +0530 Subject: [PATCH] removed one of docker command and corrected Read coloe text on blog page --- Dockerfile | 4 ++-- src/pages/blogs/blogs-new.css | 26 +------------------------- 2 files changed, 3 insertions(+), 27 deletions(-) diff --git a/Dockerfile b/Dockerfile index 44660868..790efcfd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,8 @@ RUN apk add --no-cache \ python3 \ libc6-compat -# Update npm to the latest version -RUN npm install -g npm@latest +# Use npm 10, which is compatible with Node 20 +RUN npm install -g npm@10 RUN npm install --legacy-peer-deps diff --git a/src/pages/blogs/blogs-new.css b/src/pages/blogs/blogs-new.css index 4adaf99c..8fce632d 100644 --- a/src/pages/blogs/blogs-new.css +++ b/src/pages/blogs/blogs-new.css @@ -1014,31 +1014,6 @@ color: #c084fc; } -/* Cycle accent colors across cards — matching reference */ -.articles-grid .article-card:nth-child(6n+1) .card-read-link { - color: #6366f1; -} - -.articles-grid .article-card:nth-child(6n+2) .card-read-link { - color: #10b981; -} - -.articles-grid .article-card:nth-child(6n+3) .card-read-link { - color: #ec4899; -} - -.articles-grid .article-card:nth-child(6n+4) .card-read-link { - color: #f59e0b; -} - -.articles-grid .article-card:nth-child(6n+5) .card-read-link { - color: #3b82f6; -} - -.articles-grid .article-card:nth-child(6n+6) .card-read-link { - color: #8b5cf6; -} - /* Hide old card elements that are no longer in JSX */ .card-category { display: none !important; @@ -1312,6 +1287,7 @@ font-size: 13px; } } + /* ── Reading time ── */ .card-reading-time { display: inline-flex;