From 2efb92a24ccd5d8d33db5823fdd241c5114e21f2 Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:12:24 +0100 Subject: [PATCH 01/76] fix(website): correct seo.ts --- lib/seo.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/seo.ts b/lib/seo.ts index a9f1467b..37939bff 100644 --- a/lib/seo.ts +++ b/lib/seo.ts @@ -125,9 +125,9 @@ export function generateOrganizationSchema() { url: siteUrl, logo: { '@type': 'ImageObject', - url: `${siteUrl}/logo.png`, - width: 512, - height: 512, + url: `${siteUrl}/apple-touch-icon.png`, + width: 152, + height: 152, }, image: `${siteUrl}/images/og-default.png`, description: @@ -184,7 +184,7 @@ export function generateOrganizationSchema() { '@type': 'ContactPoint', contactType: 'customer service', availableLanguage: ['English', 'Hebrew', ...(germanMarketingEnabled() ? ['German'] : [])], - url: `${siteUrl}/contact`, + url: `${siteUrl}/en/contact`, }, }; } From 2b22b99a4384126ebe93a51334c782b6b15d9f78 Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:12:48 +0100 Subject: [PATCH 02/76] fix(website): remove misleading illustration or invalid links --- components/sections/HeroIllustration.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/sections/HeroIllustration.tsx b/components/sections/HeroIllustration.tsx index 04e91ff6..289d13ad 100644 --- a/components/sections/HeroIllustration.tsx +++ b/components/sections/HeroIllustration.tsx @@ -320,20 +320,20 @@ export const HeroIllustration: React.FC = () => { y="150" className="fill-surface-500 dark:fill-surface-400 text-[10px] font-sans" > - Active Users + Storefront - 12,402 + Shopify - {/* Bottom Left Card: Revenue */} + {/* Bottom Left Card: Workflow */} { y="410" className="fill-surface-900 dark:fill-white text-[16px] font-bold font-sans" > - $842k + UX + SEO Date: Fri, 13 Nov 2026 05:12:50 +0100 Subject: [PATCH 03/76] fix(website): remove misleading illustration or invalid links --- components/sections/Hero.tsx | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/components/sections/Hero.tsx b/components/sections/Hero.tsx index 4622b431..36711eb8 100644 --- a/components/sections/Hero.tsx +++ b/components/sections/Hero.tsx @@ -2,7 +2,7 @@ import { motion } from '@/lib/motion'; import { Link } from '@/i18n/navigation'; -import { Button } from '@/components/ui/Button'; +import { buttonVariants } from '@/components/ui/Button'; import { BackgroundShapes } from '@/components/ui/BackgroundShapes'; import { heroContent } from '@/lib/animation-variants'; import { useTranslations } from 'next-intl'; @@ -84,9 +84,7 @@ export const Hero: React.FC = () => { variants={heroContent} custom={0.6} > - - - + trackBookCallClick('hero_cta')} className="w-full sm:w-auto"> - - + {/* Platform Trusted Bar */} From ee8c3c1e6cd0f1e6159eb1cc8a6707e60cc6456a Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:13:22 +0100 Subject: [PATCH 04/76] perf(blog): introduce explicit client-safe post summaries --- lib/blog-summary.ts | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 lib/blog-summary.ts diff --git a/lib/blog-summary.ts b/lib/blog-summary.ts new file mode 100644 index 00000000..c126f6f9 --- /dev/null +++ b/lib/blog-summary.ts @@ -0,0 +1,35 @@ +import type { BlogPost } from '@/lib/markdown'; + +/** Only the fields the blog index needs may cross the server/client boundary. */ +export type BlogPostSummary = Pick< + BlogPost, + 'slug' | 'title' | 'excerpt' | 'date' | 'category' | 'image' | 'imageAlt' | 'readingTime' +> & { + translation?: Pick, 'title' | 'excerpt' | 'category'>; + translations?: { + de?: Pick['de']>, 'title' | 'excerpt' | 'category'>; + }; +}; + +export function toBlogPostSummary(post: BlogPost): BlogPostSummary { + const { slug, title, excerpt, date, category, image, imageAlt, readingTime } = post; + return { + slug, title, excerpt, date, category, image, imageAlt, readingTime, + ...(post.translation && { + translation: { + title: post.translation.title, + excerpt: post.translation.excerpt, + category: post.translation.category, + }, + }), + ...(post.translations?.de && { + translations: { + de: { + title: post.translations.de.title, + excerpt: post.translations.de.excerpt, + category: post.translations.de.category, + }, + }, + }), + }; +} From 7dd6c846c7f85ad05bf272f05afa1fe576fd1ffe Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:13:25 +0100 Subject: [PATCH 05/76] perf(blog): keep full article HTML on the server and fix index sorting --- app/[locale]/(website)/blog/page.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/[locale]/(website)/blog/page.tsx b/app/[locale]/(website)/blog/page.tsx index 87be45a0..9b4d5007 100644 --- a/app/[locale]/(website)/blog/page.tsx +++ b/app/[locale]/(website)/blog/page.tsx @@ -1,6 +1,7 @@ import { getTranslations, setRequestLocale } from 'next-intl/server'; import { BlogTemplate } from '@/components/templates/BlogTemplate'; import { getAllPosts } from '@/lib/markdown'; +import { toBlogPostSummary } from '@/lib/blog-summary'; import { generateMetadata as genMeta, generateBreadcrumbSchema, @@ -44,6 +45,7 @@ export default async function BlogPage({ params }: { params: Promise<{ locale: s const { locale } = await params; setRequestLocale(locale as 'en' | 'he' | 'de'); const posts = await getAllPosts(); + const summaries = posts.map(toBlogPostSummary); const t = await getTranslations({ locale: locale as 'en' | 'he' | 'de' }); const categories = Array.from(new Set(posts.map(post => post.category))); @@ -81,7 +83,7 @@ export default async function BlogPage({ params }: { params: Promise<{ locale: s type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(collectionSchema) }} /> - + ); } From b5c8f83bf726bda323361fbe46b1f0cb80c93dbf Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:13:27 +0100 Subject: [PATCH 06/76] perf(blog): keep full article HTML on the server and fix index sorting --- components/templates/BlogTemplate.tsx | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/components/templates/BlogTemplate.tsx b/components/templates/BlogTemplate.tsx index b614b427..02ef0aff 100644 --- a/components/templates/BlogTemplate.tsx +++ b/components/templates/BlogTemplate.tsx @@ -5,24 +5,11 @@ import { PageHero } from '@/components/sections/PageHero'; import { BlogPageContent } from '@/components/sections/BlogPageContent'; import { Breadcrumb } from '@/components/ui/Breadcrumb'; import { useTranslations } from 'next-intl'; +import type { BlogPostSummary } from '@/lib/blog-summary'; -interface BlogPost { - slug: string; - title: string; - excerpt: string; - date: string; - category: string; - image?: string; - imageAlt?: string; - translation?: { - title: string; - excerpt: string; - category: string; - }; -} interface BlogTemplateProps { - posts: BlogPost[]; + posts: BlogPostSummary[]; categories: string[]; } From 9798d762794bfb903c3d10a12bdaa6ba26c59aae Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:13:29 +0100 Subject: [PATCH 07/76] perf(blog): keep full article HTML on the server and fix index sorting --- components/sections/BlogPageContent.tsx | 27 ++++--------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/components/sections/BlogPageContent.tsx b/components/sections/BlogPageContent.tsx index d0307d6f..d2a1be21 100644 --- a/components/sections/BlogPageContent.tsx +++ b/components/sections/BlogPageContent.tsx @@ -9,37 +9,22 @@ import { useLocale, useTranslations } from 'next-intl'; import { Link } from '@/i18n/navigation'; import { NewsletterSignupForm } from '@/components/forms/NewsletterSignupForm'; import { isRTLLocale, getDateLocaleString } from '@/lib/locale-config'; +import type { BlogPostSummary } from '@/lib/blog-summary'; -interface BlogPost { - slug: string; - title: string; - excerpt: string; - date: string; - category: string; - image?: string; - imageAlt?: string; - readingTime?: number; - translation?: { - title: string; - excerpt: string; - category: string; - }; - translations?: { de?: { title: string; excerpt: string; category: string } }; -} interface BlogPageContentProps { - posts: BlogPost[]; + posts: BlogPostSummary[]; categories: string[]; } -type SortOption = 'newest' | 'oldest' | 'popular'; +type SortOption = 'newest' | 'oldest'; export const BlogPageContent: React.FC = ({ posts, categories }) => { const t = useTranslations(); const locale = useLocale(); const isHe = isRTLLocale(locale); const isLocalized = isHe || locale === 'de'; - const localized = (post: BlogPost, field: 'title' | 'excerpt' | 'category'): string => { + const localized = (post: BlogPostSummary, field: 'title' | 'excerpt' | 'category'): string => { if (locale === 'de') return post.translations?.de?.[field] || post[field]; return isHe ? post.translation?.[field] || post[field] : post[field]; }; @@ -90,9 +75,6 @@ export const BlogPageContent: React.FC = ({ posts, categor return new Date(b.date).getTime() - new Date(a.date).getTime(); case 'oldest': return new Date(a.date).getTime() - new Date(b.date).getTime(); - case 'popular': - // For now, sort by newest as placeholder for popularity - return new Date(b.date).getTime() - new Date(a.date).getTime(); default: return 0; } @@ -268,7 +250,6 @@ export const BlogPageContent: React.FC = ({ posts, categor > - From 027557adc4bf8738efe53bcfba7b2883367534bf Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:13:53 +0100 Subject: [PATCH 08/76] test(blog): prevent full translated articles in client payload --- tests/lib/blog-summary.test.ts | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 tests/lib/blog-summary.test.ts diff --git a/tests/lib/blog-summary.test.ts b/tests/lib/blog-summary.test.ts new file mode 100644 index 00000000..45305dde --- /dev/null +++ b/tests/lib/blog-summary.test.ts @@ -0,0 +1,50 @@ +import { describe, expect, it } from 'vitest'; +import { toBlogPostSummary } from '@/lib/blog-summary'; +import type { BlogPost } from '@/lib/markdown'; + +describe('blog index payload', () => { + const fullPost: BlogPost = { + slug: 'sample', + title: 'Shopify operations', + excerpt: 'Practical guidance', + date: '2026-11-13', + category: 'Shopify', + image: '/images/blog/sample.webp', + imageAlt: 'Sample screenshot', + readingTime: 6, + content: '

Full article HTML must not be shipped to the index.

', + translation: { + title: 'תפעול חנויות', + excerpt: 'טיפים מקצועיים', + category: 'שופיפיי', + content: '

Full Hebrew article HTML

', + }, + translations: { + de: { + title: 'Shopify-Betrieb', + excerpt: 'Praxistipps', + category: 'Shopify', + content: '

Full German article HTML

', + }, + }, + }; + + it('retains listing metadata and all three locale summaries', () => { + const summary = toBlogPostSummary(fullPost); + expect(summary.slug).toBe('sample'); + expect(summary.readingTime).toBe(6); + expect(summary.translation?.title).toBe('תפעול חנויות'); + expect(summary.translations?.de?.title).toBe('Shopify-Betrieb'); + }); + + it('excludes full article HTML and other fields irrelevant to the index', () => { + const summary = toBlogPostSummary(fullPost); + const json = JSON.stringify(summary); + expect(summary).not.toHaveProperty('content'); + expect(summary.translation).not.toHaveProperty('content'); + expect(summary.translations?.de).not.toHaveProperty('content'); + expect(json).not.toContain('Full article HTML'); + expect(json).not.toContain('Full Hebrew article HTML'); + expect(json).not.toContain('Full German article HTML'); + }); +}); From a58b6f8db9e8d4a2590929e1e06f3797ff2b7cab Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:15:53 +0100 Subject: [PATCH 09/76] fix(content): distinguish preview screenshots from live in he --- messages/src/he/website.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messages/src/he/website.json b/messages/src/he/website.json index a19a5ae0..fb8af795 100644 --- a/messages/src/he/website.json +++ b/messages/src/he/website.json @@ -1348,7 +1348,7 @@ "clientQuote": "מה הלקוח אומר", "projectNotes": "הערות פרויקט", "visitSite": "לצפייה באתר", - "galleryHint": "צילומי מסך אמיתיים מתוך האתר החי שמשמשים כאן כעוגן הוויזואלי של הפרויקט.", + "galleryHint": "צילומי מסך נבחרים המתעדים את הפרויקט בזמן העבודה; חלקם עשויים להציג גרסת Preview ולא את האתר החי כיום.", "openImage": "הגדלת צילום המסך", "previousScreen": "הקודם", "nextScreen": "הבא", From 2ef9a75689a4c98a10a365b35c5bf6f4699bad85 Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:15:56 +0100 Subject: [PATCH 10/76] fix(content): distinguish preview screenshots from live in en --- messages/src/en/website.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messages/src/en/website.json b/messages/src/en/website.json index 522be2a1..3e82af47 100644 --- a/messages/src/en/website.json +++ b/messages/src/en/website.json @@ -1348,7 +1348,7 @@ "clientQuote": "Client Quote", "projectNotes": "Project Notes", "visitSite": "Visit Live Site", - "galleryHint": "Real homepage and product/content screens captured from the live site and used here as the visual source of truth.", + "galleryHint": "Selected project screenshots captured during development; some may show a preview rather than the currently published site.", "openImage": "Expand Screenshot", "previousScreen": "Previous", "nextScreen": "Next", From 1749b183cbc60b3d5fc2c83b00e6cf4c60679a17 Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:15:59 +0100 Subject: [PATCH 11/76] fix(content): distinguish preview screenshots from live in de --- messages/src/de/website.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messages/src/de/website.json b/messages/src/de/website.json index 05b66cb9..1e2f5085 100644 --- a/messages/src/de/website.json +++ b/messages/src/de/website.json @@ -1348,7 +1348,7 @@ "clientQuote": "Kundenangebot", "projectNotes": "Projektnotizen", "visitSite": "Besuchen Sie die Live-Site", - "galleryHint": "Echte Homepage- und Produkt-/Inhaltsbildschirme, die von der Live-Site erfasst und hier als visuelle Quelle der Wahrheit verwendet werden.", + "galleryHint": "Ausgewählte Projekt-Screenshots aus der Entwicklungsphase; einige zeigen möglicherweise eine Vorschau statt der derzeit veröffentlichten Website.", "openImage": "Erweitern Sie Screenshot", "previousScreen": "Zurück", "nextScreen": "Als nächstes", From 4ecb84728b5d96c38f05a3c1b00fcef763d17b06 Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:17:10 +0100 Subject: [PATCH 12/76] fix(a11y): label blog controls and instrument review CTA --- messages/src/he/website.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/messages/src/he/website.json b/messages/src/he/website.json index fb8af795..7a516db4 100644 --- a/messages/src/he/website.json +++ b/messages/src/he/website.json @@ -478,6 +478,8 @@ "content": { "featuredPosts": "מאמרים מובלטים", "searchPlaceholder": "חיפוש מאמרים...", + "searchLabel": "חיפוש מאמרים", + "sortLabel": "מיון מאמרים", "allCategories": "הכל", "articles": "מאמרים", "articles_singular": "מאמר", From fd1d623513d7b96ecfa395d4b83dda52522f8e5e Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:17:13 +0100 Subject: [PATCH 13/76] fix(a11y): label blog controls and instrument review CTA --- messages/src/en/website.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/messages/src/en/website.json b/messages/src/en/website.json index 3e82af47..a5937967 100644 --- a/messages/src/en/website.json +++ b/messages/src/en/website.json @@ -478,6 +478,8 @@ "content": { "featuredPosts": "Featured Posts", "searchPlaceholder": "Search articles...", + "searchLabel": "Search articles", + "sortLabel": "Sort articles", "allCategories": "All", "articles": "articles", "articles_singular": "article", From 3e883a7690f232375e2b939e22b35de6b151046c Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:17:16 +0100 Subject: [PATCH 14/76] fix(a11y): label blog controls and instrument review CTA --- messages/src/de/website.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/messages/src/de/website.json b/messages/src/de/website.json index 1e2f5085..a89610db 100644 --- a/messages/src/de/website.json +++ b/messages/src/de/website.json @@ -478,6 +478,8 @@ "content": { "featuredPosts": "Empfohlene Beiträge", "searchPlaceholder": "Artikel durchsuchen...", + "searchLabel": "Artikel suchen", + "sortLabel": "Artikel sortieren", "allCategories": "Alle", "articles": "Artikel", "articles_singular": "Artikel", From d9b68c34b3716245bc4631111751bd02ebca2382 Mon Sep 17 00:00:00 2001 From: Yotam Faraggi Date: Fri, 13 Nov 2026 05:17:19 +0100 Subject: [PATCH 15/76] fix(a11y): label blog controls and instrument review CTA --- components/sections/BlogPageContent.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/sections/BlogPageContent.tsx b/components/sections/BlogPageContent.tsx index d2a1be21..4cb7dadb 100644 --- a/components/sections/BlogPageContent.tsx +++ b/components/sections/BlogPageContent.tsx @@ -199,6 +199,7 @@ export const BlogPageContent: React.FC = ({ posts, categor setSearchQuery(e.target.value)} @@ -244,6 +245,7 @@ export const BlogPageContent: React.FC = ({ posts, categor : t('blog.content.articles')}