Add minimalist editable CMS content section
This commit is contained in:
+34
@@ -34,6 +34,40 @@ function save_recipes(array $recipes): bool {
|
||||
function default_site_settings(): array {
|
||||
$today = date('Y-m-d');
|
||||
return [
|
||||
'cms' => [
|
||||
'en' => [
|
||||
'landing_eyebrow' => 'Seasonal · Unfussy · Ridiculously tasty',
|
||||
'landing_line_1' => 'Cook better',
|
||||
'landing_line_2' => 'weeknights.',
|
||||
'landing_line_3' => 'Brighter weekends.',
|
||||
'landing_cta' => 'Explore recipes',
|
||||
'coming_soon_badge' => 'Coming soon',
|
||||
'coming_soon_suffix' => 'in progress',
|
||||
'footer_designed_by' => 'Website designed by Felix Brockers',
|
||||
'footer_contact_label' => 'Contact me',
|
||||
'home_title' => 'FlixCooks | Modern food blog for busy home cooks',
|
||||
'home_description' => 'Fresh, fast recipes with clear steps, smart prep notes, and big flavor. Built for Hetzner web hosting in plain PHP.',
|
||||
'coming_feature_1' => 'Nutrition info & recipe suggestions tailored to your goals',
|
||||
'coming_feature_2' => 'Send your grocery list straight to your phone',
|
||||
'coming_feature_3' => 'Step-by-step recipe assistant with videos',
|
||||
],
|
||||
'de' => [
|
||||
'landing_eyebrow' => 'Saisonal · Unkompliziert · Richtig lecker',
|
||||
'landing_line_1' => 'Besser kochen',
|
||||
'landing_line_2' => 'unter der Woche.',
|
||||
'landing_line_3' => 'Glänzen am Wochenende.',
|
||||
'landing_cta' => 'Rezepte entdecken',
|
||||
'coming_soon_badge' => 'Bald verfügbar',
|
||||
'coming_soon_suffix' => 'in Arbeit',
|
||||
'footer_designed_by' => 'Website designed by Felix Brockers',
|
||||
'footer_contact_label' => 'Kontakt',
|
||||
'home_title' => 'FlixCooks | Moderner Foodblog für schnelle Alltagsküche',
|
||||
'home_description' => 'Frische, schnelle Rezepte mit klaren Schritten und großem Geschmack. Gebaut für Hetzner Webhosting in einfachem PHP.',
|
||||
'coming_feature_1' => 'Nährwerte & Rezepte Vorschlag individuell angepasst auf Ernährungsziel',
|
||||
'coming_feature_2' => 'Einkaufsliste ans Handy senden',
|
||||
'coming_feature_3' => 'Step-by-Step Rezepte Assistent mit Videos',
|
||||
],
|
||||
],
|
||||
'imprint' => [
|
||||
'de' => [
|
||||
'owner_name' => 'FlixCooks (bitte anpassen)',
|
||||
|
||||
Reference in New Issue
Block a user