cf46e30a7e
Rakip analizi (kocaelidijital.com, promedyanet.com, lf.com.tr) sonrası
satış blokerleri tespit edildi ve aşağıdaki bölümler eklendi:
1. ANASAYFADA SSS (8 hazır soru, admin'den düzenlenebilir)
- Fiyat, süre, ödeme, garanti, hosting, SEO, mevcut site yenileme,
sadece tasarım hizmeti gibi en sık sorulan sorular
- HomepageFaq component (sticky sol + accordion sağ)
- site_settings.homepage_faq[] (JSON {q,a})
2. RISK REVERSAL bölümü (Guarantee component)
- 'İlk taslak ücretsiz, memnun değilseniz devam etmiyoruz'
- 4 garanti maddesi checklist
- site_settings.guarantee_title/description/items
3. PROJE METRİKLERİ (vaka çalışması güçlendirme)
- projects.metrics[] (JSON {value,label})
- Detay sayfada büyük metric kartları
- Admin formda 'değer | etiket' satır formatı
4. HERO COPY GÜNCELLEMESİ (admin'den düzenlenebilir)
- 'Kocaeli'de 2-3 hafta içinde yayında olan, satan kurumsal web siteleri'
- 'İlk tasarım taslakı ücretsiz' vurgusu
- Trust band: 30 dk yanıt + ücretsiz taslak + 4.9 memnuniyet
5. /SITE-ANALIZI LEAD MAGNET SAYFASI
- URL + ad + email + telefon formu
- 6 analiz başlığı (CWV, mobil, SEO, güvenlik, içerik, rakip)
- contact_messages'a source=quick-site-audit ile yazılır
- 'subject' alanı ile inbox'ta ayırt edilebilir
6. EKİP BÖLÜMÜ (Hakkımızda sayfasında)
- Yeni team_members tablosu (name, role, bio, photo, linkedin)
- /admin/ekip CRUD sayfası
- TeamGrid component
7. SEKTÖR LANDING SAYFALARI (/sektor/[slug])
- Yeni industries tablosu (slug, title, content, features, faq, SEO)
- /admin/sektorler CRUD sayfası
- SEO + ad-targeted landing template
- Hero + trust + features + content + garanti + projeler + hizmetler + FAQ + JSON-LD
Admin /admin/site formuna yeni bölümler:
- 'Risk reversal / Garanti' (title + description + items)
- 'Anasayfa SSS' (---' bloklarla)
App sidebar'a 'Sektörler' ve 'Ekip' linkleri eklendi.
Footer'a 'Ücretsiz Site Analizi' linki eklendi.
36 route üretiliyor (önceki 31'den +5: /site-analizi, /sektor/[slug],
/admin/ekip + alt, /admin/sektorler + alt).
206 lines
5.2 KiB
TypeScript
206 lines
5.2 KiB
TypeScript
import type { AwRow } from "@/lib/appwrite-rest";
|
|
|
|
export type Row = AwRow;
|
|
|
|
export interface ServiceRow extends AwRow {
|
|
slug: string;
|
|
title: string;
|
|
description: string;
|
|
icon?: string | null;
|
|
order?: number | null;
|
|
featured?: boolean | null;
|
|
content?: string | null;
|
|
features?: string[] | null;
|
|
faq?: string[] | null; // each item is JSON: {"q":"...","a":"..."}
|
|
hero_image?: string | null;
|
|
}
|
|
|
|
export interface FaqItem {
|
|
q: string;
|
|
a: string;
|
|
}
|
|
|
|
export interface ProjectRow extends AwRow {
|
|
slug: string;
|
|
title: string;
|
|
description: string;
|
|
image_url?: string | null;
|
|
live_url?: string | null;
|
|
category?: string | null;
|
|
technologies?: string[] | null;
|
|
year?: number | null;
|
|
featured?: boolean | null;
|
|
gallery?: string[] | null;
|
|
content?: string | null;
|
|
client_name?: string | null;
|
|
industry?: string | null;
|
|
duration?: string | null;
|
|
service_slug?: string | null;
|
|
metrics?: string[] | null; // JSON {"value":"+150%","label":"Trafik artışı"}
|
|
}
|
|
|
|
export interface BlogPostRow extends AwRow {
|
|
slug: string;
|
|
title: string;
|
|
excerpt?: string | null;
|
|
content?: string | null;
|
|
cover_image?: string | null;
|
|
cover_file_id?: string | null;
|
|
author?: string | null;
|
|
status?: "draft" | "published" | null;
|
|
published_at?: string | null;
|
|
tags?: string[] | null;
|
|
seo_title?: string | null;
|
|
seo_description?: string | null;
|
|
seo_image?: string | null;
|
|
}
|
|
|
|
export interface TestimonialRow extends AwRow {
|
|
name: string;
|
|
role?: string | null;
|
|
company?: string | null;
|
|
message: string;
|
|
rating?: number | null;
|
|
image_url?: string | null;
|
|
order?: number | null;
|
|
featured?: boolean | null;
|
|
}
|
|
|
|
export interface SeoPageRow extends AwRow {
|
|
path: string;
|
|
title?: string | null;
|
|
description?: string | null;
|
|
og_image?: string | null;
|
|
canonical?: string | null;
|
|
noindex?: boolean | null;
|
|
}
|
|
|
|
export interface SeoSettingsRow extends AwRow {
|
|
site_name?: string | null;
|
|
site_description?: string | null;
|
|
default_og_image?: string | null;
|
|
twitter_handle?: string | null;
|
|
facebook_url?: string | null;
|
|
linkedin_url?: string | null;
|
|
instagram_url?: string | null;
|
|
google_site_verification?: string | null;
|
|
gtm_id?: string | null;
|
|
}
|
|
|
|
export interface StatItem {
|
|
value: string;
|
|
label: string;
|
|
}
|
|
|
|
export interface SiteSettingsRow extends AwRow {
|
|
hero_badge?: string | null;
|
|
hero_title?: string | null;
|
|
hero_subtitle?: string | null;
|
|
hero_cta_primary_label?: string | null;
|
|
hero_cta_primary_href?: string | null;
|
|
hero_cta_secondary_label?: string | null;
|
|
hero_cta_secondary_href?: string | null;
|
|
hero_stats?: string[] | null; // each item JSON: {"value":"...","label":"..."}
|
|
|
|
services_eyebrow?: string | null;
|
|
services_title?: string | null;
|
|
services_description?: string | null;
|
|
|
|
projects_eyebrow?: string | null;
|
|
projects_title?: string | null;
|
|
projects_description?: string | null;
|
|
|
|
testimonials_eyebrow?: string | null;
|
|
testimonials_title?: string | null;
|
|
testimonials_description?: string | null;
|
|
|
|
cta_title?: string | null;
|
|
cta_description?: string | null;
|
|
cta_button_label?: string | null;
|
|
cta_button_href?: string | null;
|
|
|
|
contact_phone?: string | null;
|
|
contact_phone_raw?: string | null;
|
|
contact_email?: string | null;
|
|
contact_address?: string | null;
|
|
contact_hours_weekday?: string | null;
|
|
contact_hours_weekend?: string | null;
|
|
|
|
social_linkedin?: string | null;
|
|
social_instagram?: string | null;
|
|
social_twitter?: string | null;
|
|
social_facebook?: string | null;
|
|
|
|
footer_tagline?: string | null;
|
|
|
|
whatsapp_message?: string | null;
|
|
client_logos?: string[] | null;
|
|
trust_items?: string[] | null; // JSON {"icon":"Star","value":"4.9","label":"..."}
|
|
why_us?: string[] | null; // JSON {"icon":"Zap","title":"...","description":"..."}
|
|
process_steps?: string[] | null; // JSON {"title":"...","description":"..."}
|
|
lead_form_title?: string | null;
|
|
lead_form_description?: string | null;
|
|
google_review_url?: string | null;
|
|
google_rating?: number | null;
|
|
google_review_count?: number | null;
|
|
|
|
homepage_faq?: string[] | null; // JSON {"q","a"}
|
|
guarantee_title?: string | null;
|
|
guarantee_description?: string | null;
|
|
guarantee_items?: string[] | null;
|
|
}
|
|
|
|
export interface TeamMemberRow extends AwRow {
|
|
name: string;
|
|
role?: string | null;
|
|
bio?: string | null;
|
|
photo_url?: string | null;
|
|
linkedin_url?: string | null;
|
|
order?: number | null;
|
|
}
|
|
|
|
export interface IndustryRow extends AwRow {
|
|
slug: string;
|
|
title: string;
|
|
subtitle?: string | null;
|
|
content?: string | null;
|
|
hero_image?: string | null;
|
|
features?: string[] | null;
|
|
faq?: string[] | null;
|
|
seo_title?: string | null;
|
|
seo_description?: string | null;
|
|
featured?: boolean | null;
|
|
order?: number | null;
|
|
}
|
|
|
|
export interface ProjectMetric {
|
|
value: string;
|
|
label: string;
|
|
}
|
|
|
|
export interface TrustItem {
|
|
icon: string;
|
|
value: string;
|
|
label: string;
|
|
}
|
|
|
|
export interface WhyUsItem {
|
|
icon: string;
|
|
title: string;
|
|
description: string;
|
|
}
|
|
|
|
export interface ProcessStep {
|
|
title: string;
|
|
description: string;
|
|
}
|
|
|
|
export interface ContactMessageRow extends AwRow {
|
|
name: string;
|
|
email: string;
|
|
phone?: string | null;
|
|
subject?: string | null;
|
|
message: string;
|
|
status?: "new" | "read" | "replied" | "archived" | null;
|
|
}
|