From d24c3bd2395590476221ff837ce1039f44b6a9df Mon Sep 17 00:00:00 2001 From: Vishwansh Kumar Date: Sat, 8 Nov 2025 23:40:51 +0530 Subject: [PATCH 1/5] Consistent-use-of-Image-component --- components/AmbassadorsList.tsx | 5 +++- pages/404.page.tsx | 6 +++- pages/index.page.tsx | 40 ++++++++++++++++++++------ pages/overview/pro-help/index.page.tsx | 11 ++++--- 4 files changed, 48 insertions(+), 14 deletions(-) diff --git a/components/AmbassadorsList.tsx b/components/AmbassadorsList.tsx index f27d78328..886f44388 100644 --- a/components/AmbassadorsList.tsx +++ b/components/AmbassadorsList.tsx @@ -6,6 +6,7 @@ import { CardTitle, CardDescription, } from '@/components/ui/card'; +import Image from 'next/image'; interface AmbassadorsLink { title: string; @@ -30,7 +31,9 @@ const AmbassadorList = ({ ambassadorList }: AmbassadorsListProps) => { > - {link.title} { const { resolvedTheme } = useTheme(); @@ -16,7 +17,10 @@ const Logo = () => { return ( - Logo diff --git a/pages/index.page.tsx b/pages/index.page.tsx index bd2479255..06f701a02 100644 --- a/pages/index.page.tsx +++ b/pages/index.page.tsx @@ -839,14 +839,22 @@ const Home = (props: any) => { )} - + octue - The Realtime Unified API
@@ -858,7 +866,9 @@ for Accounting integrations - The local Database for JavaScript Applications - best website design agencies - Instagram Story Viewer - supadata logo - dottxt logo + dottxt logo - dottxt logo {/* Image */}
- {`${contractor.name}'s
- {/* Reach Out Button */}
{contractor.email && ( @@ -214,7 +216,9 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { {/* Image and Name */}
- {`${contractor.name}'s
- {/* End of Header */}
From 8aba4a85211314b6840506d8de553b9f2aab9ae2 Mon Sep 17 00:00:00 2001 From: Vishwansh Kumar Date: Sun, 23 Nov 2025 01:48:45 +0530 Subject: [PATCH 2/5] Replaced-all-inline-css-image-with-Image-Component --- components/Layout.tsx | 19 ++++++++++++----- pages/blog/index.page.tsx | 35 ++++++++++++++++++++------------ pages/blog/posts/[slug].page.tsx | 28 +++++++++++++++++-------- pages/community/index.page.tsx | 17 ++++++++++------ pages/index.page.tsx | 17 ++++++++++------ 5 files changed, 78 insertions(+), 38 deletions(-) diff --git a/components/Layout.tsx b/components/Layout.tsx index 1df07dcc7..f5d517a90 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -256,12 +256,21 @@ const MainNavigation = () => {
) : (
useStore.setState({ overlayNavigation: null })} - /> + > + Close menu +
)}
diff --git a/pages/blog/index.page.tsx b/pages/blog/index.page.tsx index b46ce6a13..a693b214b 100644 --- a/pages/blog/index.page.tsx +++ b/pages/blog/index.page.tsx @@ -218,12 +218,16 @@ export default function StaticMarkdownPage({ {recentBlog[0].frontmatter.title}
-
+
+ {recentBlog[0].frontmatter.authors[0].name} +
+

{recentBlog[0].frontmatter.authors[0].name} @@ -357,17 +361,22 @@ export default function StaticMarkdownPage({ {(frontmatter.authors || []).map( (author: Author, index: number) => (

2 ? 'h-8 w-8' : 'h-11 w-11' }`} - style={{ - backgroundImage: `url(${author.photo})`, - zIndex: 10 - index, - }} - /> + key={index} + style={{ zIndex: 10 - index }} + > + {author.name} +
), )}
diff --git a/pages/blog/posts/[slug].page.tsx b/pages/blog/posts/[slug].page.tsx index 4f4ce4d9a..968053f6d 100644 --- a/pages/blog/posts/[slug].page.tsx +++ b/pages/blog/posts/[slug].page.tsx @@ -78,10 +78,15 @@ export default function StaticMarkdownPage({ key={index} className='flex flex-row items-center mb-3 w-full' > -
+
+ {author.name} +
{author.name} @@ -111,10 +116,17 @@ export default function StaticMarkdownPage({
-
+
+ {frontmatter.title} +
+
diff --git a/pages/community/index.page.tsx b/pages/community/index.page.tsx index d68d6deb8..7785bb369 100644 --- a/pages/community/index.page.tsx +++ b/pages/community/index.page.tsx @@ -335,12 +335,17 @@ export default function communityPages(props: any) { return (
+ className='relative h-[44px] w-[44px] rounded-full overflow-hidden -ml-3 border-2 border-white bg-slate-200' + style={{ zIndex: 10 - index }} + > + {author.name} +
); }, )} diff --git a/pages/index.page.tsx b/pages/index.page.tsx index b67128a80..e493dc1e6 100644 --- a/pages/index.page.tsx +++ b/pages/index.page.tsx @@ -463,12 +463,17 @@ const Home = (props: any) => { return (
+ className='relative h-[44px] w-[44px] rounded-full -ml-3 overflow-hidden border-2 border-white bg-slate-200' + style={{ zIndex: 10 - index }} + > + {author.name} +
); }, )} From 72a8ed6f2b1d5787093788206953ac1d5a0da079 Mon Sep 17 00:00:00 2001 From: Vishwansh Kumar Date: Sun, 23 Nov 2025 02:20:17 +0530 Subject: [PATCH 3/5] cypress-fix-image-components --- cypress/components/Layout.cy.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/components/Layout.cy.tsx b/cypress/components/Layout.cy.tsx index c1314d820..fc1a0eac0 100644 --- a/cypress/components/Layout.cy.tsx +++ b/cypress/components/Layout.cy.tsx @@ -255,7 +255,7 @@ describe('Layout Component', () => { cy.get('header').find('.block.lg\\:hidden').click(); // Click close button - cy.get('header').find('.h-6.w-6.lg\\:hidden').click(); + cy.get('header').find('.relative.h-8.w-8.lg\\:hidden').click(); // Check if mobile nav is hidden - it should not exist in DOM when hidden cy.get('.flex.flex-col.lg\\:hidden').should('not.exist'); From 37d132d762576f6b39f0675d994ef59a582cd33a Mon Sep 17 00:00:00 2001 From: Vishwansh Kumar Date: Mon, 24 Nov 2025 20:40:11 +0530 Subject: [PATCH 4/5] fix --- pages/index.page.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pages/index.page.tsx b/pages/index.page.tsx index fab15e873..84b46f108 100644 --- a/pages/index.page.tsx +++ b/pages/index.page.tsx @@ -864,8 +864,6 @@ const Home = (props: any) => { src={logos.rxdb} className='w-44 transition-transform duration-300 hover:scale-105' alt='The local Database for JavaScript Applications' - className='w-44 transition-transform duration-300 hover:scale-105' - alt='The local Database for JavaScript Applications' />
{ src={logos.wda} className='w-44 transition-transform duration-300 hover:scale-105' alt='best website design agencies' - className='w-44 transition-transform duration-300 hover:scale-105' - alt='best website design agencies' /> Date: Wed, 26 Nov 2025 18:31:23 +0530 Subject: [PATCH 5/5] merge-conflict-resolve --- pages/index.page.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/index.page.tsx b/pages/index.page.tsx index 27852e561..a314a74a1 100644 --- a/pages/index.page.tsx +++ b/pages/index.page.tsx @@ -926,8 +926,10 @@ const Home = (props: any) => { /> - n-iX logo