<?php

namespace App\Helpers;

class HomePageStaticSettings
{
    public static function default_settings(){
        return [
            'site_title',
            'site_logo',
            'white_logo'
        ];
    }
    public function home_01(){
        $list = [
            'home_page_01_about_us_subtitle',
            'home_page_01_about_us_title',
            'home_page_01_about_us_description',
            'home_page_01_about_us_lists',
            'home_page_01_about_us_right_image',
            'home_page_01_about_us_total_donation',
            'home_page_01_about_us_donation_text',
            'homepage_01_feature_section_icon',
            'homepage_01_feature_section_title',
            'homepage_01_feature_section_description',
            'homepage_01_feature_section_url',
            'home_page_01_donation_category_subtitle',
            'home_page_01_donation_category_title',
            'home_page_01_featured_cause_area_subtitle',
            'home_page_01_featured_cause_area_title',
            'home_page_01_featured_cause_area_button_text',
            'home_page_01_cta_area_background_image',
            'home_page_01_cta_area_signature_image',
            'home_page_01_cta_area_title',
            'home_page_01_cta_area_video_url',
            'home_page_01_latest_cause_subtitle',
            'home_page_01_latest_cause_title',
            'home_page_01_latest_cause_readmore',
            'home_page_01_latest_cause_button_text',
            'home_page_01_team_member_section_subtitle',
            'home_page_01_team_member_section_title',
            'home_01_testimonial_bg',
            'home_page_01_testimonial_section_title',
            'home_page_01_latest_event_subtitle',
            'home_page_01_latest_event_title',
            'home_page_01_latest_event_button_text',
            'home_page_01_latest_news_subtitle',
            'home_page_01_latest_news_title',
            'home_page_01_topbar_info_list_icon_icon',
            'home_page_01_topbar_info_list_text'
        ];
        return array_merge(self::default_settings(),$list);
    }

    public function home_02(){
        $list = [
            'site_title',
            'home_page_01_about_us_subtitle',
            'home_page_01_topbar_info_list_text',
            'home_page_01_topbar_info_list_text',
            'home_page_navbar_button_status',
            'homepage_01_feature_section_icon',
            'homepage_01_feature_section_title',
            'homepage_01_feature_section_description',
            'homepage_01_feature_section_url',
            'home_page_02_about_us_left_image',
            'home_page_01_about_us_subtitle',
            'home_page_01_about_us_title',
            'home_page_01_about_us_description',
            'home_page_01_about_us_lists',
            'home_page_02_about_us_icon',
            'home_page_01_about_us_total_donation',
            'home_page_02_about_us_donation_text',
            'home_page_02_about_us_short_description',
            'home_page_02_about_us_right_bottom_image',
            'home_page_01_donation_category_subtitle',
            'home_page_01_donation_category_title',
            'home_page_01_featured_cause_area_subtitle',
            'home_page_01_featured_cause_area_title',
            'home_page_01_featured_cause_area_button_text',
            'home_page_01_latest_cause_subtitle',
            'home_page_01_latest_cause_title',
            'home_page_01_latest_cause_readmore',
            'home_page_01_latest_cause_button_text',
            'home_page_01_cta_area_background_image',
            'home_page_01_cta_area_title',
            'home_page_01_cta_area_video_url',
            'home_page_01_latest_cause_subtitle',
            'home_page_01_latest_cause_title',
            'home_page_01_latest_cause_readmore',
            'home_page_01_latest_cause_button_text',
            'home_page_01_team_member_section_subtitle',
            'home_page_01_team_member_section_title',
            'home_page_02_what_we_do_left_image',
            'home_page_02_what_we_do_area_subtitle',
            'home_page_02_what_we_do_area_title',
            'homepage_02_what_we_do_section_icon',
            'homepage_02_what_we_do_section_title',
            'homepage_02_what_we_do_section_description',
            'homepage_02_what_we_do_section_url',
            'home_page_01_testimonial_section_subtitle',
            'home_page_01_testimonial_section_title',
            'home_page_02_coutnerup_background_image',
            'home_page_01_latest_event_subtitle',
            'home_page_01_latest_event_title',
            'home_page_01_latest_event_button_text',
            'home_page_01_latest_news_subtitle',
            'home_page_01_latest_news_title'
        ];
        return array_merge(self::default_settings(),$list);
    }

    public function home_03(){
        $list = [
            'home_page_01_topbar_info_list_icon_icon',
            'home_page_01_topbar_info_list_text',
            'homepage_01_feature_section_icon',
            'homepage_01_feature_section_title',
            'homepage_01_feature_section_description',
            'homepage_01_feature_section_url',
            'home_page_02_what_we_do_area_subtitle',
            'home_page_02_what_we_do_area_title',
            'homepage_02_what_we_do_section_icon',
            'homepage_02_what_we_do_section_title',
            'homepage_02_what_we_do_section_description',
            'homepage_02_what_we_do_section_url',
            'home_page_03_about_us_right_image',
            'home_page_01_about_us_subtitle',
            'home_page_01_about_us_title',
            'home_page_01_about_us_description',
            'home_page_01_about_us_lists',
            'home_page_01_about_us_total_donation',
            'home_page_01_about_us_donation_text',
            'home_page_01_donation_category_subtitle',
            'home_page_01_donation_category_title',
            'home_page_01_featured_cause_area_subtitle',
            'home_page_01_featured_cause_area_title',
            'home_page_01_featured_cause_area_button_text',
            'home_page_01_cta_area_background_image',
            'home_page_01_cta_area_title',
            'home_page_01_cta_area_video_url',
            'home_page_01_latest_cause_subtitle',
            'home_page_01_latest_cause_title',
            'home_page_01_latest_cause_readmore',
            'home_page_01_latest_cause_button_text',
            'home_page_01_testimonial_section_subtitle',
            'home_page_01_testimonial_section_title',
            'home_page_01_team_member_section_subtitle',
            'home_page_01_team_member_section_title',
            'home_page_02_coutnerup_background_image',
            'home_page_01_latest_event_subtitle',
            'home_page_01_latest_event_title',
            'home_page_01_latest_event_button_text',
            'home_page_01_latest_news_subtitle',
            'home_page_01_latest_news_title'
        ];
        return array_merge(self::default_settings(),$list);
    }

    public function home_04(){
        $list = [
            'home_page_04_header_area_title',
            'home_page_04_header_area_subtitle',
            'home_page_04_donate_button_text',
            'home_page_04_donate_button_text_url',
            'home_page_04_right_side_heading',
            'home_page_04_right_side_donate_button_text',
            'home_page_04_header_area_line_image',
            'home_page_04_header_area_bg_image',
            'home_page_04_feature_area_title',
            'home_page_04_feature_area_subtitle',
            'home_page_04_feature_area_donation_button_text',
            'home_page_04_success_story_area_title',
            'home_page_04_success_story_area_subtitle',
            'home_page_04_success_story_area_button_text',
            'home_page_04_success_story_area_item_show',
            'home_page_04_about_us_area_title',
            'home_page_04_about_us_area_subtitle',
            'home_page_04_about_us_area_description',
            'home_page_04_about_us_area_button_text',
            'home_page_04_about_us_area_button_url',
            'home_page_04_events_area_title',
            'home_page_04_events_area_subtitle',
            'home_page_04_events_area_item_show',
            'home_page_04_recent_causes_area_title',
            'home_page_04_recent_causes_area_subtitle',
            'home_page_04_recent_causes_area_button_text',
            'home_page_04_recent_causes_area_see_all_button_text',
            'home_page_04_recent_causes_area_item_show',
            'home_page_04_recent_blog_area_title',
            'home_page_04_recent_blog_area_subtitle',
            'home_page_04_recent_blog_area_item_show',


        ];
        return array_merge(self::default_settings(),$list);
    }

    public function home_05(){
        $list = [
            'home_page_05_rise_area_heading_title',
            'home_page_05_rise_area_button_text',
            'home_page_05_feature_area_title',
            'home_page_05_feature_area_subtitle',
            'home_page_05_feature_area_donation_button_text',
            'home_page_05_category_area_title',
            'home_page_05_category_area_subtitle',
            'home_page_05_success_story_area_title',
            'home_page_05_success_story_area_subtitle',
            'home_page_05_success_story_area_button_text',
            'home_page_05_success_story_area_item_show',
            'home_page_05_recent_causes_area_title',
            'home_page_05_recent_causes_area_subtitle',
            'home_page_05_recent_causes_area_see_all_button_text',
            'home_page_05_events_area_title',
            'home_page_05_events_area_subtitle',
            'home_page_05_events_area_item_show',
            'home_page_05_events_area_left_image',
            'home_page_05_recent_blog_area_title',
            'home_page_05_recent_blog_area_subtitle',
            'home_page_05_recent_blog_area_item_show',
        ];
        return array_merge(self::default_settings(),$list);
    }

    public function home_06(){
        $list = [
            'home_page_06_rise_area_heading_title',
            'home_page_06_rise_area_button_text',
            'home_page_06_feature_area_title',
            'home_page_06_feature_area_donation_button_text',
            'home_page_06_category_area_title',
            'home_page_06_recent_causes_area_title',
            'home_page_06_recent_causes_area_button_text',
            'home_page_06_success_story_area_button_text',
            'home_page_06_success_story_area_item_show',
            'home_page_06_about_us_area_title',
            'home_page_06_about_us_area_description',
            'home_page_06_about_us_area_button_text',
            'home_page_06_about_us_area_button_url',
            'home_page_06_events_area_title',
        ];
        return array_merge(self::default_settings(),$list);
    }


    public static function get_home_field($homepage_id){
        $new_self = new self();
        $home_var = 'home_'.$homepage_id;
        return $new_self->$home_var();    }
}




