insert into public.article_categories (name, slug, locale)
values
  ('تقنية', 'tech-ar', 'ar'),
  ('Technology', 'tech-en', 'en')
on conflict (slug) do nothing;

insert into public.ai_tool_categories (name, slug)
values
  ('Writing', 'writing'),
  ('Automation', 'automation'),
  ('Design', 'design')
on conflict (slug) do nothing;

insert into public.articles (title, slug, excerpt, content, status, locale, author_name, published_at)
values
  (
    'كيف تبني منصة حديثة قابلة للتوسع',
    'modern-platform-architecture-ar',
    'نظرة عملية على البنية الحديثة للمواقع ثنائية اللغة ولوحات التحكم.',
    'هذا المقال يشرح كيف نبني منصة حديثة تعتمد على بنية واضحة وتجربة مستخدم سريعة.\n\nيشمل ذلك App Router وSupabase وتهيئة SEO وPWA.',
    'published',
    'ar',
    'Admin',
    now()
  ),
  (
    'How to build a scalable modern platform',
    'modern-platform-architecture-en',
    'A practical look at architecture for bilingual websites and admin dashboards.',
    'This article explains how to build a modern platform with clear architecture and fast UX.\n\nIt includes App Router, Supabase, SEO, and PWA setup.',
    'published',
    'en',
    'Admin',
    now()
  )
on conflict (slug) do nothing;

insert into public.ai_tools (name, slug, description, website_url, status, featured)
values
  ('PromptForge', 'promptforge', 'Prompt optimization workspace for content teams.', 'https://example.com/tools/promptforge', 'published', true),
  ('VisionFlow', 'visionflow', 'Visual generation workflow with review steps.', 'https://example.com/tools/visionflow', 'published', true),
  ('AgentBoard', 'agentboard', 'Operations dashboard for AI-assisted teams.', 'https://example.com/tools/agentboard', 'published', false)
on conflict (slug) do nothing;
