commit 25e21e91655f16b9d9df8c7d13848457e4f84fda Author: Benjamin Völkl Date: Sat Jan 1 15:51:36 2022 +0100 . diff --git a/config.json b/config.json new file mode 100644 index 0000000..c2dccc9 --- /dev/null +++ b/config.json @@ -0,0 +1,12 @@ +{ + "name": "Minimal Template", + "description": "A minimal Template for the Lumino CMS", + "image": "https://ik.imagekit.io/areya/tr:ar-5-3,w-800/krys-amon-mrdlxnP7hSg-unsplash_lHJMkV3q6.jpg", + "version": "2.1", + "author": { + "name": "Areya Webservices", + "link": "https://www.areya.de/" + }, + "lumino-version": {"min": "2.4", "max": "2.4"} + +} \ No newline at end of file diff --git a/content/includes/css.blade.php b/content/includes/css.blade.php new file mode 100644 index 0000000..e69de29 diff --git a/content/includes/footer.blade.php b/content/includes/footer.blade.php new file mode 100644 index 0000000..3f33346 --- /dev/null +++ b/content/includes/footer.blade.php @@ -0,0 +1,23 @@ + diff --git a/content/includes/integrations.blade.php b/content/includes/integrations.blade.php new file mode 100644 index 0000000..9449fbd --- /dev/null +++ b/content/includes/integrations.blade.php @@ -0,0 +1,84 @@ +@if(App::environment('production')) + @if (!empty(config('settings.facebook'))) + + + @endif + + + @if (!empty(config('settings.hotjar'))) + + @endif + + + + @if (!empty(config('settings.analytics'))) + + + @endif + @if (!empty(config('settings.intercom')) && !empty(config('settings.intercom_key'))) + @if(Auth::check()) + @php ($hash_hmac = hash_hmac('sha256', Auth::user()->id, config('settings.intercom_key'))) + + @elseif(isset($invitedUser) && $invitedUser->invite != null) + @php ($hash_hmac = hash_hmac('sha256', $invitedUser->id, config('settings.intercom_key'))) + + @else + + @endif + + @endif +@endif \ No newline at end of file diff --git a/content/includes/meta.blade.php b/content/includes/meta.blade.php new file mode 100644 index 0000000..7e3d815 --- /dev/null +++ b/content/includes/meta.blade.php @@ -0,0 +1,131 @@ + + + + + + + + + + + + +@if (\Route::currentRouteName() == 'content' and isset($list)) + {{removeHtmlTags(showListTitle($list, $filters))}} + + + + + + + + @if ($list->image) + + @else + + @endif + + + + + +@elseif (\Route::currentRouteName() == 'author.get' and isset($author)) + Offene Jobangebote bei {{ $author->name }} + + + + + + + +@elseif (Route::currentRouteName() == 'content' and isset($content)) + {{ $content->title }} + + @isset($content->data_fields['stellenbeschreibung']) + + + @endisset + + + + + + + @if ($content->image) + + @else + + @endif + @if(App::environment('production')) + data_fields['beschaftigungsart'])){ + if ($content->data_fields['beschaftigungsart'] == 'Praktikum') { + $employmentType = "INTERN"; + } + if ($content->data_fields['beschaftigungsart'] == 'Vollzeit') { + $employmentType = "FULL_TIME"; + } + if ($content->data_fields['beschaftigungsart'] == 'Teilzeit') { + $employmentType = "PART_TIME"; + } + if ($content->data_fields['beschaftigungsart'] == 'Ausbildung') { + $employmentType = "INTERN"; + } + } + function escapeJsonString($value) + { + $escapers = array("\\", "/", "\"", "\n", "\r", "\t", "\x08", "\x0c"); + $replacements = array("\\\\", "\\/", "\\\"", "\\n", "\\r", "\\t", "\\f", "\\b"); + $result = str_replace($escapers, $replacements, $value); + return $result; + } + ?> + @isset ($content->data_fields['arbeitsort']['postalCode']) + + @endisset + @endif +@else + @yield('meta_title', '') + + + + + + + + +@endif + +@if (!empty(config('settings.favicon_image'))) + + + +@endif \ No newline at end of file diff --git a/content/includes/scripts.blade.php b/content/includes/scripts.blade.php new file mode 100644 index 0000000..e69de29 diff --git a/content/index.blade.php b/content/index.blade.php new file mode 100644 index 0000000..7256be9 --- /dev/null +++ b/content/index.blade.php @@ -0,0 +1,136 @@ + + + + + + + + +
+
+ + + \ No newline at end of file diff --git a/content/master.blade.php b/content/master.blade.php new file mode 100644 index 0000000..45249c3 --- /dev/null +++ b/content/master.blade.php @@ -0,0 +1,16 @@ + + + + @include('template.'.config('settings.template').'.content.includes.meta') + @include('template.'.config('settings.template').'.content.includes.css') + @include('template.'.config('settings.template').'.content.includes.integrations') + @yield('head') + + + @yield('content') + @include('template.'.config('settings.template').'.content.includes.footer') + @include('template.'.config('settings.template').'.content.includes.scripts') + @yield('scripts') + @yield('end_scripts') + + \ No newline at end of file diff --git a/content/pages/impressum.blade.php b/content/pages/impressum.blade.php new file mode 100644 index 0000000..3faf1e5 --- /dev/null +++ b/content/pages/impressum.blade.php @@ -0,0 +1 @@ +Impressum diff --git a/files/car.glb b/files/car.glb new file mode 100644 index 0000000..2c246df Binary files /dev/null and b/files/car.glb differ diff --git a/files/photo_studio_01_1k.hdr b/files/photo_studio_01_1k.hdr new file mode 100644 index 0000000..043cc54 Binary files /dev/null and b/files/photo_studio_01_1k.hdr differ diff --git a/files/room5.glb b/files/room5.glb new file mode 100644 index 0000000..94c0556 Binary files /dev/null and b/files/room5.glb differ