Add About Section to HomePageSettings and update HomePageController to include brand data. Modify HomeSettings to store new about section fields and update the homepage view to display these settings.
This commit is contained in:
@@ -18,6 +18,32 @@ class HomeSettings extends Settings
|
||||
|
||||
public string $hero_link_button_text;
|
||||
|
||||
public string $about_subtitle;
|
||||
|
||||
public string $about_header;
|
||||
|
||||
public string $about_paragraph;
|
||||
|
||||
public int $about_projects_number;
|
||||
|
||||
public string $about_projects_text;
|
||||
|
||||
public int $about_members_number;
|
||||
|
||||
public string $about_members_text;
|
||||
|
||||
public int $about_reviews_number;
|
||||
|
||||
public string $about_reviews_text;
|
||||
|
||||
public string $about_button_text;
|
||||
|
||||
public string $about_button_url;
|
||||
|
||||
public string $about_image_one;
|
||||
|
||||
public string $about_image_two;
|
||||
|
||||
public static function group(): string
|
||||
{
|
||||
return 'cms_homepage';
|
||||
|
||||
Reference in New Issue
Block a user