Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
2efb92a
fix(website): correct seo.ts
yotamon Nov 13, 2026
2b22b99
fix(website): remove misleading illustration or invalid links
yotamon Nov 13, 2026
6b259aa
fix(website): remove misleading illustration or invalid links
yotamon Nov 13, 2026
ee8c3c1
perf(blog): introduce explicit client-safe post summaries
yotamon Nov 13, 2026
7dd6c84
perf(blog): keep full article HTML on the server and fix index sorting
yotamon Nov 13, 2026
b5c8f83
perf(blog): keep full article HTML on the server and fix index sorting
yotamon Nov 13, 2026
9798d76
perf(blog): keep full article HTML on the server and fix index sorting
yotamon Nov 13, 2026
027557a
test(blog): prevent full translated articles in client payload
yotamon Nov 13, 2026
a58b6f8
fix(content): distinguish preview screenshots from live in he
yotamon Nov 13, 2026
2ef9a75
fix(content): distinguish preview screenshots from live in en
yotamon Nov 13, 2026
1749b18
fix(content): distinguish preview screenshots from live in de
yotamon Nov 13, 2026
4ecb847
fix(a11y): label blog controls and instrument review CTA
yotamon Nov 13, 2026
fd1d623
fix(a11y): label blog controls and instrument review CTA
yotamon Nov 13, 2026
3e883a7
fix(a11y): label blog controls and instrument review CTA
yotamon Nov 13, 2026
d9b68c3
fix(a11y): label blog controls and instrument review CTA
yotamon Nov 13, 2026
248be79
fix(a11y): label blog controls and instrument review CTA
yotamon Nov 13, 2026
6e1d800
fix(seo): add real 1200x630 CartShift social sharing image
yotamon Nov 13, 2026
3174712
fix(website): keep conversion CTA visible without JS and align organi…
yotamon Nov 13, 2026
9eaafa2
fix(website): keep conversion CTA visible without JS and align organi…
yotamon Nov 13, 2026
b1e4bb6
fix(a11y): render linked button appearance without nested button in B…
yotamon Nov 13, 2026
75d9399
fix(a11y): render linked button appearance without nested button in I…
yotamon Nov 13, 2026
a657c0a
fix(a11y): render linked button appearance without nested button in W…
yotamon Nov 13, 2026
ac7ad20
fix(a11y): render linked button appearance without nested button in C…
yotamon Nov 13, 2026
87fa39f
fix(a11y): render linked button appearance without nested button in S…
yotamon Nov 13, 2026
5ab7d56
fix(a11y): render linked button appearance without nested button in C…
yotamon Nov 13, 2026
2560136
fix(a11y): render linked button appearance without nested button in H…
yotamon Nov 13, 2026
a54828b
fix(a11y): render linked button appearance without nested button in S…
yotamon Nov 13, 2026
97d39ae
fix(a11y): render linked button appearance without nested button in A…
yotamon Nov 13, 2026
91a6d59
fix(a11y): render linked button appearance without nested button in P…
yotamon Nov 13, 2026
ffdb88b
fix(a11y): use non-interactive spans for button-styled links
yotamon Nov 13, 2026
a77e1cc
fix(a11y): use non-interactive spans for button-styled links
yotamon Nov 13, 2026
603074b
fix(a11y): use non-interactive spans for button-styled links
yotamon Nov 13, 2026
11fec0b
fix(a11y): use non-interactive spans for button-styled links
yotamon Nov 13, 2026
0ad2749
test(a11y): prevent nested interactive buttons in marketing links
yotamon Nov 13, 2026
bddcc55
test(de): retry transient heading parity mismatch after hydration
yotamon Nov 13, 2026
9171164
fix(a11y): prevent nested interactive CTA in homepage banner
yotamon Nov 13, 2026
2f159d8
fix(a11y): make remaining linked marketing button visuals noninteractive
yotamon Nov 13, 2026
36b98d8
fix(a11y): make remaining linked marketing button visuals noninteractive
yotamon Nov 13, 2026
c3176ec
fix(a11y): make remaining linked marketing button visuals noninteractive
yotamon Nov 13, 2026
d907567
fix(a11y): make remaining linked marketing button visuals noninteractive
yotamon Nov 13, 2026
78e1295
fix(a11y): make remaining linked marketing button visuals noninteractive
yotamon Nov 13, 2026
a88f2a7
test(de): isolate locale browser tabs and report exact heading parity…
yotamon Nov 13, 2026
f129a65
fix(content): distinguish Honeypot preview work from launched Shopify…
yotamon Nov 13, 2026
e0aad7f
feat(cro): focus home on Shopify help, evidence and expert review rat…
yotamon Nov 13, 2026
ad866b9
fix(trust): hold preview-stage outcome testimonials until source veri…
yotamon Nov 13, 2026
eb5d582
fix(trust): hold preview-stage outcome testimonials until source veri…
yotamon Nov 13, 2026
cfb9e8f
feat(cro): show clearly hypothetical three-finding sample before revi…
yotamon Nov 13, 2026
a4b81bf
feat(cro): add clearly illustrative expert review sample for he
yotamon Nov 13, 2026
563fe4b
feat(cro): add clearly illustrative expert review sample for en
yotamon Nov 13, 2026
e01bef7
feat(cro): add clearly illustrative expert review sample for de
yotamon Nov 13, 2026
e506273
perf(home): avoid serializing full article HTML in featured blog teaser
yotamon Nov 13, 2026
e1795ce
refactor(home): reuse server-safe BlogPostSummary in teaser
yotamon Nov 13, 2026
cae3e66
feat(analytics): include homepage review CTA in consent-gated first-p…
yotamon Nov 13, 2026
741ece7
test(i18n): reflect intentional conversion-focused home sections acro…
yotamon Nov 13, 2026
325311e
test(cro): Chromium smoke for mobile homepage review CTA and illustra…
yotamon Nov 13, 2026
f6d0343
fix(trust): restrict testimonial editorial hold to the unlaunched Hon…
yotamon Nov 13, 2026
98f8a7f
test(marketing): guard review examples, editorial claims and focused …
yotamon Nov 13, 2026
e51b28f
fix(pricing): replace unsupported package rates and deposit split wit…
yotamon Nov 13, 2026
f22e45b
fix(pricing): replace unsupported package rates and deposit split wit…
yotamon Nov 13, 2026
913e9a9
fix(pricing): replace unsupported package rates and deposit split wit…
yotamon Nov 13, 2026
8644c71
test(pricing): reject unapproved rate cards and arbitrary payment spl…
yotamon Nov 13, 2026
9707acb
fix(layout): keep single verified case testimonial readable instead o…
yotamon Nov 13, 2026
2dc80f1
fix(ux): keep review request form clear of fixed header on anchor nav…
yotamon Nov 13, 2026
3208f12
fix(a11y): move focus to success feedback and expose form busy state
yotamon Nov 13, 2026
63f0380
test(browser): retry transient empty client-rendered content before f…
yotamon Nov 13, 2026
c4d351f
fix(leads): notify authorized agency editors using both supported acc…
yotamon Nov 13, 2026
8e3e2af
test(leads): verify deduplicated agency owner/admin notifications acr…
yotamon Nov 13, 2026
b1251d9
docs(release): evidence-backed website remediation and production app…
yotamon Nov 13, 2026
3ad6fff
docs(editorial): preserve original unverified client quotes outside p…
yotamon Nov 13, 2026
9ca36e4
fix(trust): keep held client testimonials out of public en locale pay…
yotamon Nov 13, 2026
1b3b5ef
fix(trust): keep held client testimonials out of public he locale pay…
yotamon Nov 13, 2026
99d03e2
fix(trust): keep held client testimonials out of public de locale pay…
yotamon Nov 13, 2026
675e8d2
fix(trust): remove unverified Honeypot outcome quote from public case…
yotamon Nov 13, 2026
7dbddc9
test(trust): ensure archived quotes are preserved but absent from pub…
yotamon Nov 13, 2026
045a0cd
docs(release): record trust-claim payload leak and archived quote pre…
yotamon Nov 13, 2026
87313e0
test(content): assert original client quotes preserved in archive wit…
yotamon Nov 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/[locale]/(website)/blog/page.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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)));

Expand Down Expand Up @@ -81,7 +83,7 @@ export default async function BlogPage({ params }: { params: Promise<{ locale: s
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(collectionSchema) }}
/>
<BlogTemplate posts={posts} categories={categories} />
<BlogTemplate posts={summaries} categories={categories} />
</>
);
}
35 changes: 34 additions & 1 deletion app/[locale]/(website)/free-store-review/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default async function FreeStoreReviewPage({
<span key={text} className="inline-flex items-center gap-2"><CheckCircle2 className="h-4 w-4 text-primary-600"/>{text}</span>)}
</div>
</div>
<div id="request-review" className="rounded-3xl border border-surface-200 bg-white p-5 shadow-2xl shadow-primary-900/10 dark:border-white/10 dark:bg-surface-900 sm:p-8">
<div id="request-review" className="scroll-mt-28 rounded-3xl border border-surface-200 bg-white p-5 shadow-2xl shadow-primary-900/10 dark:border-white/10 dark:bg-surface-900 sm:p-8">
<h2 className="text-2xl font-bold">{t('formTitle')}</h2>
<p className="mb-6 mt-2 text-sm leading-relaxed text-surface-500">{t('formDescription')}</p>
<StoreReviewRequestForm
Expand Down Expand Up @@ -92,6 +92,39 @@ export default async function FreeStoreReviewPage({
</div>
</div>
</section>
{/* Clearly illustrative deliverable sample, never presented as a real client audit. */}
<section aria-labelledby="review-example-title" className="px-4 py-16 sm:px-6 lg:py-20">
<div className="mx-auto max-w-6xl">
<div className="max-w-3xl">
<p className="text-sm font-semibold text-primary-600 dark:text-primary-400">{t('sample.eyebrow')}</p>
<h2 id="review-example-title" className="mt-3 text-3xl font-bold tracking-tight sm:text-4xl">{t('sample.title')}</h2>
<p className="mt-4 text-base leading-relaxed text-surface-600 dark:text-surface-300">{t('sample.description')}</p>
</div>
<div className="mt-8 grid gap-4 lg:grid-cols-3">
{(['product', 'mobile', 'seo'] as const).map((key, index) =>
<article key={key} className="flex flex-col rounded-2xl border border-surface-200 bg-white p-6 dark:border-white/10 dark:bg-surface-900">
<div className="mb-5 flex items-center justify-between gap-3">
<span className="text-sm font-semibold text-primary-600 dark:text-primary-400">
{t(`sample.findings.${key}.area`)}
</span>
<span aria-hidden="true" className="text-xs font-bold tabular-nums text-surface-400">0{index + 1}</span>
</div>
<h3 className="text-lg font-bold">{t(`sample.findings.${key}.title`)}</h3>
<p className="mt-3 flex-1 text-sm leading-relaxed text-surface-600 dark:text-surface-300">
{t(`sample.findings.${key}.observation`)}
</p>
<p className="mt-4 border-t border-surface-200 pt-4 text-sm leading-relaxed text-surface-800 dark:border-white/10 dark:text-surface-100">
<strong>{t('sample.actionLabel')} </strong>{t(`sample.findings.${key}.action`)}
</p>
</article>
)}
</div>
<p className="mt-4 text-xs leading-relaxed text-surface-500">{t('sample.disclaimer')}</p>
<a href="#request-review" className="mt-6 inline-flex min-h-11 items-center gap-2 rounded-xl bg-primary-600 px-5 py-3 font-semibold text-white transition-colors hover:bg-primary-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-500">
{t('ctaShort')} <ArrowRight aria-hidden="true" className="h-4 w-4 rtl:rotate-180" />
</a>
</div>
</section>
<section className="mx-auto grid max-w-6xl gap-12 px-4 py-20 sm:px-6 lg:grid-cols-2 lg:items-center">
<div><h2 className="text-3xl font-bold">{t('deliverTitle')}</h2><p className="mt-4 leading-relaxed text-surface-600 dark:text-surface-300">{t('deliverDescription')}</p>
<Link href="/work" className="mt-6 inline-flex items-center gap-2 font-semibold text-primary-600 hover:underline">{t('workLink')} <ArrowRight size={16} className="rtl:rotate-180"/></Link>
Expand Down
11 changes: 3 additions & 8 deletions app/[locale]/(website)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import { Hero } from '@/components/sections/Hero';
import { HomepageIntro } from '@/components/sections/HomepageIntro';
import { ServicesOverview } from '@/components/sections/ServicesOverview';
import { WhyChoose } from '@/components/sections/WhyChoose';
import { CaseStudiesTeaser } from '@/components/sections/CaseStudiesTeaser';
import { Testimonials } from '@/components/sections/Testimonials';
import { Process } from '@/components/sections/Process';
import { BlogTeaser } from '@/components/sections/BlogTeaser';
import { PortalTeaser } from '@/components/sections/PortalTeaser';
import { StoreAnalyzerTeaser } from '@/components/sections/StoreAnalyzerTeaser';
import { CTABanner } from '@/components/sections/CTABanner';
import { getAllPosts } from '@/lib/markdown';
import { toBlogPostSummary } from '@/lib/blog-summary';
import { getAllCaseStudies } from '@/lib/case-studies';
import {
generateMetadata as genMeta,
Expand Down Expand Up @@ -73,7 +71,7 @@ export default async function Home({ params }: { params: Promise<{ locale: strin
const websiteSchema = generateWebSiteSchema(locale as 'en' | 'he' | 'de');
const professionalServiceSchema = generateProfessionalServiceSchema();
const posts = await getAllPosts();
const latestPosts = posts.slice(0, 4);
const latestPosts = posts.slice(0, 4).map(toBlogPostSummary);
// Curate documented work with reviewable deliverables; do not imply measured uplift.
const selectedCaseSlugs = new Set([
'i-love-my-honeypot-eco-ecommerce',
Expand All @@ -97,14 +95,11 @@ export default async function Home({ params }: { params: Promise<{ locale: strin
dangerouslySetInnerHTML={{ __html: JSON.stringify(professionalServiceSchema) }}
/>
<Hero />
<HomepageIntro />
<ServicesOverview />
<CaseStudiesTeaser caseStudies={selectedCaseStudies} locale={locale as 'en' | 'he' | 'de'} />
<Process />
<WhyChoose />
<CaseStudiesTeaser caseStudies={selectedCaseStudies} locale={locale as 'en' | 'he' | 'de'} />
<Testimonials />
<StoreAnalyzerTeaser />
<PortalTeaser />
<BlogTeaser posts={latestPosts} />
<CTABanner />
</>
Expand Down
18 changes: 15 additions & 3 deletions app/api/store-review-requests/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,22 @@ export async function POST(request: NextRequest) {
// The request is already durable. Secondary systems must never produce a false submission failure.
if (created) {
try {
const agencyUsers = await db.collection('portal_users').where('isAgency', '==', true).limit(20).get();
if (!agencyUsers.empty) {
// Portal authorization accepts either legacy isAgency or accountType=AGENCY.
// Query both representations to avoid silently missing legitimate editors.
const [byFlag, byType] = await Promise.all([
db.collection('portal_users').where('isAgency', '==', true).limit(30).get(),
db.collection('portal_users').where('accountType', '==', 'AGENCY').limit(30).get(),
]);
const staff = new Map([...byFlag.docs, ...byType.docs].map(user => [user.id, user]));
const recipients = [...staff.values()].filter(user => {
const data = user.data();
return data?.status !== 'suspended' && ['owner', 'admin'].includes(data?.agencyRole);
});
if (recipients.length === 0) {
console.warn('[store-review] No active agency owners/admins to notify', { requestId });
} else {
const notifications = db.batch();
agencyUsers.docs.forEach(user => {
recipients.forEach(user => {
notifications.set(db.collection('portal_notifications').doc('store-review-' + requestId + '-' + user.id), {
userId: user.id, type: 'human_review_requested',
title: 'New expert store review request',
Expand Down
2 changes: 1 addition & 1 deletion components/blog/ContextualAnalyzerCta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function ContextualAnalyzerCta({
trackFunnelEvent('expert_review_cta_clicked', { intent, article_slug: articleSlug })
}
>
<Button variant="secondary" size="lg" className="w-full md:w-auto">
<Button as="span" variant="secondary" size="lg" className="w-full md:w-auto">
{review('submit')} <ArrowRight className="ms-2 h-4 w-4 rtl:rotate-180" />
</Button>
</Link>
Expand Down
9 changes: 7 additions & 2 deletions components/forms/StoreReviewRequestForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ function InnerForm({ initialFocus, initialNotes }: { initialFocus?: StoreReviewF
const [requestId, setRequestId] = useState<string | null>(null);
const idRef = useRef<string | null>(null);
const viewTrackedRef = useRef(false);
const successHeadingRef = useRef<HTMLHeadingElement>(null);

useEffect(() => {
if (requestId) successHeadingRef.current?.focus();
}, [requestId]);
useEffect(() => {
const recordView = () => {
if (viewTrackedRef.current || !isAnalyticsConsentGranted()) return;
Expand Down Expand Up @@ -84,13 +89,13 @@ function InnerForm({ initialFocus, initialNotes }: { initialFocus?: StoreReviewF
if (requestId) {
return <div role="status" className="space-y-4 rounded-2xl border border-emerald-500/25 bg-emerald-500/5 p-6">
<CheckCircle2 size={36} className="text-emerald-600" aria-hidden="true" />
<h2 className="text-2xl font-bold text-surface-900 dark:text-white">{t('successTitle')}</h2>
<h2 ref={successHeadingRef} tabIndex={-1} className="text-2xl font-bold text-surface-900 dark:text-white">{t('successTitle')}</h2>
<p className="leading-relaxed text-surface-600 dark:text-surface-300">{t('successText')}</p>
<p className="break-all text-xs text-surface-500">{t('successReference')}: <b dir="ltr">{requestId}</b></p>
</div>;
}

return <form onSubmit={submit} className="space-y-4">
return <form onSubmit={submit} aria-busy={pending} className="space-y-4">
<div className="grid gap-4 sm:grid-cols-2">
<label className="block space-y-2 text-sm font-medium text-surface-800 dark:text-surface-200">
<span>{t('name')}</span>
Expand Down
2 changes: 1 addition & 1 deletion components/sections/AboutPageContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export const AboutPageContent: React.FC = () => {
{copy.ctaDescription}
</p>
<Link href="/contact">
<Button size="lg" className="h-16 px-10 text-xl font-bold group shadow-2xl shadow-primary-500/20 hover:shadow-primary-500/40 transition-shadow">
<Button as="span" size="lg" className="h-16 px-10 text-xl font-bold group shadow-2xl shadow-primary-500/20 hover:shadow-primary-500/40 transition-shadow">
<span className="flex items-center gap-3">
{copy.ctaButton}
<ArrowRight className="w-6 h-6 transition-transform group-hover:translate-x-1 rtl:rotate-180 rtl:group-hover:-translate-x-1" strokeWidth={2.5} />
Expand Down
29 changes: 6 additions & 23 deletions components/sections/BlogPageContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,37 +9,22 @@
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<BlogPageContentProps> = ({ 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];
};
Expand Down Expand Up @@ -90,16 +75,13 @@
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;
}
});

return sorted;
}, [posts, selectedCategory, searchQuery, sortBy, isHe]);

Check warning on line 84 in components/sections/BlogPageContent.tsx

View workflow job for this annotation

GitHub Actions / quality

React Hook useMemo has a missing dependency: 'localized'. Either include it or remove the dependency array

// Pagination
const totalPages = Math.ceil(filteredAndSortedPosts.length / postsPerPage);
Expand Down Expand Up @@ -217,6 +199,7 @@
<Search className="absolute start-4 top-1/2 -translate-y-1/2 w-5 h-5 text-surface-400" />
<input
type="text"
aria-label={t('blog.content.searchLabel')}
placeholder={t('blog.content.searchPlaceholder')}
value={searchQuery}
onChange={e => setSearchQuery(e.target.value)}
Expand Down Expand Up @@ -262,13 +245,13 @@
: t('blog.content.articles')}
</span>
<select
aria-label={t('blog.content.sortLabel')}
value={sortBy}
onChange={e => setSortBy(e.target.value as SortOption)}
className="px-4 py-2 rounded-lg glass-effect border border-surface-200 dark:border-white/5 text-sm font-medium text-surface-700 dark:text-surface-200 focus:outline-none focus:ring-2 focus:ring-accent-500"
>
<option value="newest">{t('blog.content.sort.newest')}</option>
<option value="oldest">{t('blog.content.sort.oldest')}</option>
<option value="popular">{t('blog.content.sort.popular')}</option>
</select>
</div>
</motion.div>
Expand Down
6 changes: 3 additions & 3 deletions components/sections/BlogPostContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -727,12 +727,12 @@ export const BlogPostContent: React.FC<BlogPostContentProps> = ({
</div>
<div className="flex flex-col gap-3 sm:flex-row">
<Link href="/solutions/shopify">
<Button size="lg" className="w-full sm:w-auto">
<Button as="span" size="lg" className="w-full sm:w-auto">
{helpCta.primary}
</Button>
</Link>
<Link href="/free-store-review">
<Button variant="outline" size="lg" className="w-full sm:w-auto">
<Button as="span" variant="outline" size="lg" className="w-full sm:w-auto">
{helpCta.secondary}
</Button>
</Link>
Expand Down Expand Up @@ -1032,7 +1032,7 @@ export const BlogPostContent: React.FC<BlogPostContentProps> = ({
})
}
>
<Button
<Button as="span"
size="lg"
variant="secondary"
className="text-base md:text-lg px-8 md:px-12 py-4 md:py-5 font-bold shadow-glow-primary group"
Expand Down
22 changes: 3 additions & 19 deletions components/sections/BlogTeaser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,10 @@ import { Link } from '@/i18n/navigation';
import { getDateLocaleString } from '@/lib/locale-config';
import { Button } from '@/components/ui/Button';
import { ArrowRight, Clock, Calendar } from 'lucide-react';

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 } };
}
import type { BlogPostSummary } from '@/lib/blog-summary';

interface BlogTeaserProps {
posts?: BlogPost[];
posts?: BlogPostSummary[];
}

export const BlogTeaser: React.FC<BlogTeaserProps> = ({ posts }) => {
Expand Down Expand Up @@ -199,7 +183,7 @@ export const BlogTeaser: React.FC<BlogTeaserProps> = ({ posts }) => {
className="mt-20 text-center"
>
<Link href="/blog">
<Button
<Button as="span"
variant="outline"
size="lg"
className="h-16 px-10 rounded-2xl font-black border-surface-300 dark:border-white/10 text-surface-900 dark:text-white hover:bg-white dark:hover:bg-white/10 group"
Expand Down
1 change: 1 addition & 0 deletions components/sections/CTABanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export const CTABanner: React.FC = () => {
}
>
<Button
as="span"
size="lg"
className="h-20 px-12 md:px-16 text-2xl font-black group shadow-glow-primary bg-primary-600 hover:bg-primary-700 transition-all hover:scale-[1.02]"
>
Expand Down
10 changes: 5 additions & 5 deletions components/sections/CaseStudyDetailContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export const CaseStudyDetailContent: React.FC<CaseStudyDetailContentProps> = ({

<div className="mt-8 flex flex-wrap gap-3">
<Link href="/contact">
<Button
<Button as="span"
size="lg"
rightIcon={<ArrowRight className="h-4 w-4 rtl:rotate-180" />}
className="group"
Expand All @@ -223,7 +223,7 @@ export const CaseStudyDetailContent: React.FC<CaseStudyDetailContentProps> = ({
</Button>
</Link>
<Link href="/work">
<Button variant="glass" size="lg">
<Button as="span" variant="glass" size="lg">
{workT.detail.viewMore}
</Button>
</Link>
Expand Down Expand Up @@ -522,7 +522,7 @@ export const CaseStudyDetailContent: React.FC<CaseStudyDetailContentProps> = ({
</section>
)}

{caseStudy.testimonial && (
{caseStudy.testimonial && caseStudy.slug !== 'i-love-my-honeypot-eco-ecommerce' && (
<section className="bg-white py-16 dark:bg-surface-950 md:py-24">
<div className="mx-auto max-w-6xl px-4 sm:px-6 lg:px-8">
<motion.div
Expand Down Expand Up @@ -610,7 +610,7 @@ export const CaseStudyDetailContent: React.FC<CaseStudyDetailContentProps> = ({

<div className="flex flex-wrap gap-3 lg:justify-end">
<Link href="/contact">
<Button
<Button as="span"
variant="secondary"
size="lg"
rightIcon={<ArrowUpRight className="h-4 w-4" />}
Expand All @@ -620,7 +620,7 @@ export const CaseStudyDetailContent: React.FC<CaseStudyDetailContentProps> = ({
</Button>
</Link>
<Link href="/work">
<Button
<Button as="span"
variant="outline"
size="lg"
className="border-white/40 text-white hover:bg-white/10"
Expand Down
Loading
Loading