From 9a2c2719c28d2f445e98dd23e6b32793e66ce4a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Mon, 8 Jan 2024 15:31:18 +0100 Subject: [PATCH] . --- content/contents/job.blade.php | 40 ++-- content/index.blade.php | 76 ++++++- content/master.blade.php | 11 +- content/pages/kontakt.blade.php | 2 - content/pages/ueber-uns.blade.php | 74 +++---- variables.json | 334 +++--------------------------- 6 files changed, 159 insertions(+), 378 deletions(-) diff --git a/content/contents/job.blade.php b/content/contents/job.blade.php index 5199e27..ada765a 100644 --- a/content/contents/job.blade.php +++ b/content/contents/job.blade.php @@ -12,7 +12,7 @@ @@ -24,30 +24,30 @@
+

{{$content->title}}

+ -
-

{{$content->title}}

-
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aut deleniti dolorem eius esse eum ex explicabo id impedit inventore modi necessitatibus odit perferendis quibusdam quis ratione reprehenderit rerum, voluptates. Nihil. -
-
- Veröffentlicht: {{date('d.m.Y', strtotime($content->created_at))}} + Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias architecto assumenda dolor enim excepturi, fuga fugit iste labore, laborum magnam nemo neque odit optio porro quae quis reiciendis totam voluptates.
+ +

-
-
-
-
- {!! isset($content->neuigkeit) ? $content->neuigkeit : 'keine Angaben' !!} -
+ + + +
+ +
+ +
+
+

Jetzt bewerben

+
-
-

Jetzt bewerben

-
@@ -83,8 +83,12 @@
+
+ +
+
@@ -104,7 +108,7 @@ @foreach($otherContents->take(3) as $otherContent) -
+ @foreach($news->take(3) as $content) -
+
-
+
@@ -236,7 +304,7 @@
-
+
@@ -257,7 +325,7 @@
-
+
diff --git a/content/master.blade.php b/content/master.blade.php index e5d359d..6d3b089 100644 --- a/content/master.blade.php +++ b/content/master.blade.php @@ -8,6 +8,12 @@ @include('template.'.config('settings.template').'.content.includes.css') @yield('head') + + + + + + @if($_contact_bar) @@ -34,7 +40,7 @@ - @if($_about_text) + @if($_about_image)
@@ -71,55 +73,35 @@
-
+ @if($type->get("Ansprechpartner")->status) + @php($ansprechpartner = filterByContentType("Ansprechpartner")) + @if($ansprechpartner->isNotEmpty()) + + + @foreach($ansprechpartner as $content) + +
+ +

{{$content->title}}

+
Geschäftsführer
+ + + {{$_telefonnummer}} + +
+ + @endforeach + + + + + @endif + @endif + -
- -

Lorem Ipsum

-
Geschäftsführer
- - - {{$_telefonnummer}} - -
-
- -

Lorem Ipsum

-
Geschäftsführer
- - - {{$_telefonnummer}} - -
-
- -

Lorem Ipsum

-
Geschäftsführer
- - - {{$_telefonnummer}} - -
-
- -

Lorem Ipsum

-
Geschäftsführer
- - - {{$_telefonnummer}} - -
diff --git a/variables.json b/variables.json index 09c670f..15a76b1 100644 --- a/variables.json +++ b/variables.json @@ -1,320 +1,40 @@ [ - { - "icon": "/font-awesome/light/building.svg", - "group_name": "Allgemein", - "description": "Allgemeine Einstellungen", - "variables": [ - { - "name": "Telefonnummer", - "placeholder": "096545529550", - "type": "string", - "value": "0123 456789", - "required": true - }, - { - "name": "Legal Name", - "value": "Musterfirma GmbH", - "placeholder": "Musterfirma GmbH", - "type": "string", - "required": true - }, - { - "name": "Legal Address", - "value": "Musterstr 33", - "placeholder": "Musterstr 33", - "type": "string", - "required": true - }, - { - "name": "Legal City", - "value": "Musterhausen", - "placeholder": "Musterhausen", - "type": "string", - "required": true - }, - { - "name": "Legal ZIP Code", - "value": "12345", - "placeholder": "12345", - "type": "string", - "required": true - }, - { - "name": "ceo", - "value": "Max Mustermann", - "placeholder": "Max Mustermann", - "type": "string", - "required": true - } - ] - }, { "icon": "/font-awesome/light/bag-shopping.svg", "group_name": "Warenkorb", "description": "Here you can configure the shopping cart.", "variables": [ { - "name": "Warenkorb aktiv", + "name": "zeige team", "type": "boolean", "description": "Soll die Funktion Warenkorb aktiviert werden?" + }, + { + "name": "about image", + "type": "boolean", + "description": "Soll die Funktion Warenkorb aktiviert werden?" + }, + { + "name": "about image1", + "type": "image", + "description": "Soll die Funktion Warenkorb aktiviert werden?" + }, + { + "name": "about image2", + "type": "image", + "description": "Soll die Funktion Warenkorb aktiviert werden?" + }, + { + "name": "about image3", + "type": "image", + "description": "Soll die Funktion Warenkorb aktiviert werden?" + }, + { + "name": "about image4", + "type": "image", + "description": "Soll die Funktion Warenkorb aktiviert werden?" } ] - }, - { - "icon": "/font-awesome/light/users.svg", - "group_name": "Über uns", - "description": "Here you can configure the shopping cart.", - "variables": [ - { - "name": "Zeige Team", - "type": "boolean", - "description": "Soll das Team gezeigt werden?" - } - ] - }, - { - "icon": "/font-awesome/light/map-pin.svg", - "group_name": "Kontankt", - "description": "Einstellungen für die Karte", - "variables": [ - { - "name": "Type", - "value": "Place", - "type": "string", - "required": true - }, - { - "name": "Location Field", - "value": "Address", - "type": "string", - "required": true - }, - { - "name": "Filter Fields", - "type": "array", - "required": true - } - ] - }, - { - "icon": "/font-awesome/light/palette.svg", - "group_name": "Layout & Design", - "description": "Here you can configure some Design and Layout settings.", - "variables": [ - { - "name": "Primary CI Color", - "type": "color", - "value": "#1a5fb4", - "required": true - }, - { - "name": "Secondary CI Color", - "type": "color", - "value": "#1c71d8", - "required": true - }, - { - "name": "Primary Background Color", - "type": "color", - "value": "#ffffff", - "required": true - }, - { - "name": "Secondary Background Color", - "type": "color", - "value": "#f6f5f4", - "required": true - }, - { - "name": "Primary Link Color", - "type": "color", - "value": "#1a5fb4", - "required": true - }, - { - "name": "Secondary Link Color", - "type": "color", - "value": "#1862a8", - "required": true - }, - { - "name": "Footer Color", - "type": "color", - "value": "#f6f5f4", - "required": true - }, - { - "name": "Footer Link Color", - "type": "color", - "value": "#ffffff", - "required": true - }, - { - "name": "Footer Secondary Link Color", - "type": "color", - "value": "#deddda", - "required": true - }, - { - "name": "Menue Background Color", - "type": "color", - "value": "#f6f5f4", - "required": true - }, - { - "name": "Footer Background Color", - "type": "color", - "value": "#1a5fb4", - "required": true - }, - { - "name": "Title Color", - "type": "color", - "value": "#1a5fb4", - "description": "Farbe für Überschriften", - "required": true - }, - { - "name": "Contact Bar", - "type": "boolean", - "description": "Eine Infobar am oberen Rand der Homepage, welche Standort und Telefonnummer anzeigt.", - "required": true - }, - - { - "id": "Background Pattern", - "name": "Hintergrund Pattern", - "type": "string", - "value": "", - "required": false - }, - { - "name": "Schriftart", - "type": "select", - "value": "15px/25px 'Noto Sans', Arial, sans-serif", - "options": [ - "15px/25px 'Noto Sans', Arial, sans-serif", - "Playfair Display", - "Dosis", - "Times New Roman", - "Helvetica", - "Montserrat", - "Verdana", - "Trebuchet MS" - ], - "required": true - } - ] - }, - { - "icon": "/font-awesome/light/palette.svg", - "group_name": "Hauptmenü", - "description": "Here you can configure some Design and Layout settings.", - "variables": [ - { - "id": "menue_button", - "name": "Schaltfäche Menü", - "type": "boolean", - "required": true - }, - { - "id": "menue_button_link", - "name": "Schatfläche Link", - "type": "string", - "required": true - }, - { - "id": "menue_button_text", - "name": "Schatfläche Text", - "type": "string", - "required": true - }, - { - "id": "menue_button_external", - "name": "Ist der Link external?", - "type": "boolean", - "required": true - } - ] - }, - - { - "icon": "/font-awesome/light/memo.svg", - "group_name": "Über uns", - "description": "Texte und Bildder der Seite Über uns", - "variables": [ - { - "id": "about_introduction", - "name": "Introduco Sobre nos", - "value": "Muito obrigado pelo seu interesse, por favor, preencha o formulário preliminar e entraremos em contato o mais rápido possível", - "type": "string" - }, - - { - "id": "about_image", - "name": "Imagem Sobre nos Principal", - "type": "image" - }, - { - "id": "about_image1", - "name": "Imagem Sobre nos 1", - "type": "image" - }, - - { - "id": "about_image2", - "name": "Imagem Sobre nos 2", - "type": "image" - }, - { - "id": "about_image3", - "name": "Imagem Sobre nos 3", - "type": "image" - }, - { - "id": "about_text", - "name": "Texto Sobre nos", - "value": "Muito obrigado pelo seu interesse, por favor, preencha o formulário preliminar e entraremos em contato o mais rápido possível", - "type": "string" - } - ] - }, - - { - "icon": "/font-awesome/light/map-pin.svg", - "group_name": "Statische Seiten", - "description": "Vielen Dank für Ihre Unterstützung!", - "variables": [ - { - "name": "Checkout Page Text", - "value": "Vielen Dank für Ihr Interesse, füllen Sie bitte die Vorabangrage aus und wir werden uns schnellstmöglichst bei Ihnen melden", - "type": "string" - } - ] - }, - { - "icon": "/font-awesome/light/map-pin.svg", - "group_name": "Kontakt", - "description": "Kontakt Seite", - "variables": [ - { - "id": "show_contactform", - "name": "Zeige Kontaktformular", - "value": "true", - "type": "boolean" - } - ] - }, - { - "icon": "/font-awesome/light/map-pin.svg", - "group_name": "Lumino Branding", - "description": "Vielen Dank für Ihre Unterstützung!", - "variables": [ - { - "name": "Lumino Branding", - "value": "true", - "type": "boolean" - } - ] } + ] \ No newline at end of file