Add Landing Page Section and Update Product Schema: Introduced a new LandingPageSection class to manage the layout and fields for the product landing page. Updated the ProductForm to include this new section, enhancing the product management interface. Added migration for landing_page_data in the products table and implemented localization for new fields in English and Turkish language files. Created a new landing Blade view to render the landing page dynamically, improving user experience and modularity.

This commit is contained in:
Ümit Tunç
2026-01-02 20:58:18 +03:00
parent 89eb9f5c4e
commit 97092dd793
10 changed files with 720 additions and 13 deletions
+37
View File
@@ -25,6 +25,43 @@ return [
// Table
'title' => 'Title',
'created_at' => 'Created At',
// Landing Page
'landing_page_section' => 'Landing Page Template',
'hero_section' => 'Hero Section',
'hero_slogan' => 'Main Slogan',
'hero_sub_slogan' => 'Sub Slogan',
'app_store_link' => 'App Store Link',
'google_play_link' => 'Google Play Link',
'hero_featured_image' => 'Featured Image',
'hero_background_image' => 'Hero Background Image',
'hero_background_image_helper' => 'Select the background image for the hero section',
'select_background' => 'Select background...',
'app_features_section' => 'App Features',
'features' => 'Features',
'add_feature' => 'Add Feature',
'feature' => 'Feature',
'feature_icon' => 'Icon',
'feature_title' => 'Feature Title',
'feature_description' => 'Feature Description',
'how_it_works_section' => 'How It Works',
'how_it_works_image' => 'Image',
'download_form_label' => 'Download Form Label',
'download_form_label_placeholder' => 'Download the app',
'steps' => 'Steps',
'step' => 'Step',
'step_number' => 'Step Number',
'step_title' => 'Step Title',
'step_description' => 'Step Description',
'video_section' => 'Video',
'youtube_video_id' => 'YouTube Video ID',
'youtube_video_id_helper' => 'The ID from YouTube video URL (e.g.: 165101721)',
'faq_section' => 'Frequently Asked Questions',
'faqs' => 'FAQs',
'add_faq' => 'Add FAQ',
'faq' => 'FAQ',
'faq_question' => 'Question',
'faq_answer' => 'Answer',
];