diff --git a/content/author.blade.php b/content/author.blade.php index 2ddace8..1d5604f 100644 --- a/content/author.blade.php +++ b/content/author.blade.php @@ -1,194 +1,11 @@ @extends('template.'.\Setting::get('template', 'default').'.content.master') @section('content') - - - @if (\Setting::get('image') and !isset($categoryModel) or (isset($categoryModel) and !$categoryModel->image)) - - @endif - - - @if (isset($categoryModel) and $categoryModel->image) - - @endif - -
-
-
- - {{ \Setting::get('name')}} -
- {{ \Setting::get('tagline')}} - -
- -
- @if(\Session::get('premium_code')) - - @include('template.'.\Setting::get('template', 'default').'.content.includes.premium-banner') - @endif - @if (!\Session::get('premium_code')) - - @if (env('PAYMENT', false)) -
{{ __('public.buy-login') }}
- @endif - - - @endif - - @if (env('APP_ACCESS', 'public') == 'code') -
-
- - {{ __('public.logout') }} Logout - -
-
- - -
- - - @endif @if (\Route::currentRouteName() != 'author.get')
@@ -797,695 +614,7 @@
-
-
-
-
-
-
-
-
-

{{ __('public.read-more') }}

-
-
- - @foreach ($categories->take(4)->shuffle()->all() as $category) - - @endforeach -
-
-
- - @include('template.'.\Setting::get('template', 'default').'.content.includes.type-iptt') - @include('template.'.\Setting::get('template', 'default').'.content.includes.new-comment') - @include('template.'.\Setting::get('template', 'default').'.content.includes.premium-pass-qr') - - @if(!\Session::get('premium_code')) - @if (env('PAYMENT', false)) - @include('template.'.\Setting::get('template', 'default').'.content.includes.premium-pass') - @endif - @else - @include('template.'.\Setting::get('template', 'default').'.content.includes.premium-referral') - - @endif -@stop - @section('scripts') - - - - - - - - - - - - - - @if (env('APP_WRITE', false)) - - - @endif - - @if (\Session::has('success_plan')) - - @endif - - - - - @stop diff --git a/content/footer.blade.php b/content/footer.blade.php deleted file mode 100644 index e69de29..0000000 diff --git a/content/includes/css.blade.php b/content/includes/css.blade.php new file mode 100644 index 0000000..f0c1716 --- /dev/null +++ b/content/includes/css.blade.php @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/content/includes/footer.blade.php b/content/includes/footer.blade.php new file mode 100644 index 0000000..ba1355f --- /dev/null +++ b/content/includes/footer.blade.php @@ -0,0 +1,80 @@ + \ No newline at end of file diff --git a/content/includes/header.blade.php b/content/includes/header.blade.php new file mode 100644 index 0000000..d978c86 --- /dev/null +++ b/content/includes/header.blade.php @@ -0,0 +1,88 @@ +
+
+
+
+ +
+
+ + +
+
+ +
+ +
+
+ + +
\ No newline at end of file diff --git a/content/includes/integrations.blade.php b/content/includes/integrations.blade.php new file mode 100644 index 0000000..16e9942 --- /dev/null +++ b/content/includes/integrations.blade.php @@ -0,0 +1,37 @@ +@if(App::environment('production')) + + + @if (!empty(\Setting::get('facebook', ''))) + + + + + + @endif + + @if (!empty(\Setting::get('analytics', ''))) + + + + @endif + +@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..eea2d7a --- /dev/null +++ b/content/includes/scripts.blade.php @@ -0,0 +1,23 @@ + + + + + + + + + + diff --git a/content/index.blade.php b/content/index.blade.php index 2419f19..43ff5df 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -21,25 +21,54 @@
- +
+

Biohof Finkenhammer - Aktuelle Angebote und Informationen

- - - - -

Biohof Finkenhammer - Aktuelle Angebote und Informationen

- - - -
-
- Achtung! +
+
+
+

Aktuelles


- Ab sofort wieder Markt in Weiden. Gilt ab Samstag 25.04.2020 +
+ + @foreach($nachrichten as $nach) +
+
+ @if ($nach->image) + + @endif +
+

+ {{$nach->title}} +

+ + @if ($nach->user and $nach->user->public_author == 1) + + + {{ $nach->user->name }} - + @endif + {{date('d.m.Y H:i', strtotime($nach->created_at))}} + + + + + {!!Str::limit( $nach->nachrichten ,600)!!} + +
+
+
+ + @endforeach + + +
+ + +
-
+
@stop diff --git a/content/master.blade.php b/content/master.blade.php index 8d3f3cc..d8adce5 100644 --- a/content/master.blade.php +++ b/content/master.blade.php @@ -1,148 +1,28 @@ - - + + + + + {{ \Setting::get('name')}} + - - @if (!empty(\Setting::get('favicon_image', ''))) @endif - finkenhammer.de | Biowaren Finkenhammer - - - - - - - - - - - - - - - + @include('template.'.\Setting::get('template', 'default').'.content.includes.css') + @include('template.'.\Setting::get('template', 'default').'.content.includes.integrations') +@include('template.'.\Setting::get('template', 'default').'.content.includes.header') -
-
-
-
- -
-
- - -
-
- -
- - - - -
- @yield('content') @@ -150,92 +30,10 @@ - +@include('template.'.\Setting::get('template', 'default').'.content.includes.footer') +@include('template.'.\Setting::get('template', 'default').'.content.includes.scripts') - - - - - - \ No newline at end of file +