aktuelles

master
Benjamin Völkl 2020-09-29 12:25:41 +02:00
parent fa596ea835
commit e473880fd2
3 changed files with 5 additions and 1005 deletions

View File

@ -1,194 +1,14 @@
@extends('template.'.\Setting::get('template', 'default').'.content.master')

@section('content')
<style>
.jumbotron-ln {
background: #ccc;
background-position: left top;
background-repeat: no-repeat;
background-size: cover;
height: 250px;
background-color: #6c23d7;
}

.jumbotron-ln h1{
color: white;
}

body {
overflow-x: hidden;
}

.brand , .brand a{
font-size: 37px;
color: white;
font-weight: 300;
}

.brand a:hover {
color: white;
text-decoration: none;
}

.intro{
font-size: 20px;
margin-bottom: 70px;
}

.top-border-radius{
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}

article .card-body{
padding-right: 0.5rem;
padding-left: 0.5rem ;
}

#article-section .container {
padding-left: 7px;
padding-right: 7px;
}

#article-section .container .col-lg-12{
padding-left: 0px;
padding-right: 0px;
}


@media only screen and (min-width: 575px) {

article .card-body{
padding-right: 1.5rem;
padding-left: 1.5rem ;
}
#article-section .container{
padding-left: 15px;
padding-right: 15px;

}

#article-section .container .col-lg-12{
padding-left: 15px;
padding-right: 15px;
}
}
</style>

@if (\Setting::get('image') and !isset($categoryModel) or (isset($categoryModel) and !$categoryModel->image))
<style>
.jumbotron-ln {
background-image: url({{ asset('uploads/' . \Setting::get('image')) }});
}
</style>
@endif


@if (isset($categoryModel) and $categoryModel->image)
<style>
.jumbotron-ln {
background-image: url({{ asset('uploads/categories/' . $categoryModel->image) }});
}


</style>
@endif

<div class="jumbotron-ln">
<div class="container brand">
<br>

<a href="{{url('/')}}" >{{ \Setting::get('name')}}</a>
<br>
<span style="font-size: 50%;">{{ \Setting::get('tagline')}}</span>

</div>

</div>




@if(\Session::get('premium_code'))
<div class="bg-ci text-center bg-premium-code" style="font-size: 12px;display:none; cursor: pointer;" title="View your Code and expiration"><i class="fal fa-gem"></i> {{ __('public.premium-active') }}</div>
@include('template.'.\Setting::get('template', 'default').'.content.includes.premium-banner')
@endif

@if (!\Session::get('premium_code'))

@if (env('PAYMENT', false))
<div class="text-center" id="enter-code" data-toggle="modal" data-target="#exampleModalCode" title="Here you can buy a premium pass or use an existing one to log-in"><i class="fal fa-gem"></i> {{ __('public.buy-login') }}</div>
@endif

<div class="modal fade" id="exampleModalCode" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document" style="max-width: 800px;">
<form method="post" action="" class="enter-premium-code">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">{{ __('public.buy-login') }}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>

<div class="modal-body" style="padding-left: 0px; padding-right: 0px;">

@include('template.'.\Setting::get('template', 'default').'.content.includes.premium-pass')

<style>
.modal section{
padding-bottom: 0px;
}
</style>

<div class="container">
<div class="row">

<div class="col-8 offset-2 col-md-6 offset-md-3">


<h5 style="text-align: center">{{ __('public.login-existing') }}</h5>
<br>
<div class="form-group">
<label for="premium_code">{{ __('public.enter-active-code') }}</label>
<input type="text" minlength="6" maxlength="6" class="form-control" id="premium_code" required="required" aria-describedby="emailHelp" placeholder="XXXXXX">
</div>

<div id="content_premium"></div>
<button type="submit" class="btn btn-primary btn-enter-premium float-right" style="margin-bottom: 20px;"><i class="fal fa-sign-in"></i> {{ __('public.login-plan') }} </button>

</div>

</div>

</div>


</div>


</div>
</form>
</div>
</div>
@endif

@if (env('APP_ACCESS', 'public') == 'code')
<div class="container">
<br>

<a href="{{ route('logout') }}" class="float-right" onclick="event.preventDefault(); document.getElementById('logout-form').submit();"><i class="fal fa-sign-out"></i> {{ __('public.logout') }} Logout</a>
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
{{ csrf_field() }}
</form>
<br>
<br>


</div>


@endif

@if (\Route::currentRouteName() != 'author.get')
<div class="row" style="margin-top:50px;">
@ -797,73 +617,9 @@
</div>
</section>

<section>
<div class="container">
<div class="row">
<div class="col-lg-12">
<hr>
<br>
<br>
<br>
<h3>{{ __('public.read-more') }}</h3>
<br>
</div>

@foreach ($categories->take(4)->shuffle()->all() as $category)
<div class="col-sm-6 {{ (isset($categoryModel) and $category->id == $categoryModel->id) ? 'd-none' : '' }}" >
<a href="{{ url('/' . $category->slug) }}" onclick="location.href = '{{ url('/' . $category->slug) }}';" >
<div class="card info-card shadow-lg" style="margin-bottom: 30px;">
<div class="card-body">
<div class="row">
<div class="col-8">
<h5 class="card-title">

<i class="

@if($category->icon == 'bitcoin')
fab
@else
fal
@endif

fa-{{$category->icon}}" style="font-size: 1.3rem">


</i> {{ $category->name }}
</h5>

</div>
<div class="col-4 text-right">

<h5><i class="fal fa-arrow-circle-right fa-3x" style="font-size: 30px;"></i></h5>
</div>
</div>
</div>
</div>

</a>

</div>
@endforeach



</div>
</div>
</section>

@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')


View File

@ -1,238 +1,18 @@
@extends('template.'.\Setting::get('template', 'default').'.content.master')

@section('content')
<style>
.jumbotron-ln {
background: #ccc;
background-position: left top;
background-repeat: no-repeat;
background-size: cover;
height: 250px;
background-color: #6c23d7;
}

.jumbotron-ln h1{
color: white;
}

body {
overflow-x: hidden;
}

.brand , .brand a{
font-size: 37px;
color: white;
font-weight: 300;
}

.brand a:hover {
color: white;
text-decoration: none;
}

.intro{
font-size: 20px;
margin-bottom: 70px;
}

.top-border-radius{
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}

article .card-body{
padding-right: 0.5rem;
padding-left: 0.5rem ;
}

#article-section .container {
padding-left: 7px;
padding-right: 7px;
}

#article-section .container .col-lg-12{
padding-left: 0px;
padding-right: 0px;
}


@media only screen and (min-width: 575px) {

article .card-body{
padding-right: 1.5rem;
padding-left: 1.5rem ;
}
#article-section .container{
padding-left: 15px;
padding-right: 15px;

}

#article-section .container .col-lg-12{
padding-left: 15px;
padding-right: 15px;
}
}
</style>

@if (\Setting::get('image') and !isset($categoryModel) or (isset($categoryModel) and !$categoryModel->image))
<style>
.jumbotron-ln {
background-image: url({{ asset('uploads/' . \Setting::get('image')) }});
}
</style>
@endif


@if (isset($categoryModel) and $categoryModel->image)
<style>
.jumbotron-ln {
background-image: url({{ asset('uploads/categories/' . $categoryModel->image) }});
}


</style>
@endif

<div class="jumbotron-ln">
<div class="container brand">
<br>

<a href="{{url('/')}}" >{{ \Setting::get('name')}}</a>
<br>
<span style="font-size: 50%;">{{ \Setting::get('tagline')}}</span>

</div>

</div>




@if(\Session::get('premium_code'))
<div class="bg-ci text-center bg-premium-code" style="font-size: 12px;display:none; cursor: pointer;" title="View your Code and expiration"><i class="fal fa-gem"></i> {{ __('public.premium-active') }}</div>
@include('template.'.\Setting::get('template', 'default').'.content.includes.premium-banner')
@endif

@if (!\Session::get('premium_code'))

@if (env('PAYMENT', false))
<div class="text-center" id="enter-code" data-toggle="modal" data-target="#exampleModalCode" title="Here you can buy a premium pass or use an existing one to log-in"><i class="fal fa-gem"></i> {{ __('public.buy-login') }}</div>
@endif

<div class="modal fade" id="exampleModalCode" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document" style="max-width: 800px;">
<form method="post" action="" class="enter-premium-code">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">{{ __('public.buy-login') }}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>

<div class="modal-body" style="padding-left: 0px; padding-right: 0px;">

@include('template.'.\Setting::get('template', 'default').'.content.includes.premium-pass')

<style>
.modal section{
padding-bottom: 0px;
}
</style>

<div class="container">
<div class="row">

<div class="col-8 offset-2 col-md-6 offset-md-3">


<h5 style="text-align: center">{{ __('public.login-existing') }}</h5>
<br>
<div class="form-group">
<label for="premium_code">{{ __('public.enter-active-code') }}</label>
<input type="text" minlength="6" maxlength="6" class="form-control" id="premium_code" required="required" aria-describedby="emailHelp" placeholder="XXXXXX">
</div>

<div id="content_premium"></div>
<button type="submit" class="btn btn-primary btn-enter-premium float-right" style="margin-bottom: 20px;"><i class="fal fa-sign-in"></i> {{ __('public.login-plan') }} </button>

</div>

</div>

</div>


</div>


</div>
</form>
</div>
</div>
@endif

@if (env('APP_ACCESS', 'public') == 'code')
<div class="container">
<br>

<a href="{{ route('logout') }}" class="float-right" onclick="event.preventDefault(); document.getElementById('logout-form').submit();"><i class="fal fa-sign-out"></i> {{ __('public.logout') }} Logout</a>
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
{{ csrf_field() }}
</form>
<br>
<br>


</div>


@endif

@if (\Route::currentRouteName() != 'author.get')
<div class="row" style="margin-top:50px;">
<div class="mx-auto" style="overflow: scroll">
<div class="btn-group btn-group-toggle mx-auto" data-toggle="buttons">
<label class="btn btn-lg {{ (!isset($categoryModel) and \Request::route()->getName() != 'nachrichten.get' and \Request::route()->getName() != 'author.get') ? 'active btn-primary' : 'btn-outline-primary' }}" onclick="location.href = '{{ url('/') }}';">
<input type="radio" name="options" id="option1" autocomplete="off" checked=""> <i class="fal fa-bookmark" aria-hidden="true"></i> Home
</label>

@foreach ($categories as $category)
<label class="btn btn-lg {{ (isset($categoryModel) and $category->id == $categoryModel->id) ? 'active btn-primary' : 'btn-outline-primary' }}" onclick="location.href = '{{ url('/' . $category->slug) }}';">
<input type="radio" name="options" id="option3" autocomplete="off">

@if($category->icon == 'bitcoin')
<i class="fab fa-{{$category->icon}}"></i>
@else
<i class="fal fa-{{$category->icon}}"></i>
@endif


{{ $category->name }}
</label>
@endforeach
</div>
</div>
</div>

<div class="container">
<div class="col-12">
@if (isset($categoryModel))
<br><br>
<h1>

@if($categoryModel->icon == 'bitcoin')
<i class="fab fa-{{$categoryModel->icon}}"></i>
@else
<i class="fal fa-{{$categoryModel->icon}}"></i>
@endif

{{ $categoryModel->name }}</h1>
@else
<br><br>
<h1>{{ \Setting::get('name')}}</h1>
@endif
<h1>Aktuelles</h1>

<p class="intro">
@if (isset($categoryModel))
@ -246,7 +26,6 @@
</p>
</div>
</div>
@endif

<div class="container">
<div class="row">
@ -797,76 +576,7 @@
</div>
</section>

<section>
<div class="container">
<div class="row">
<div class="col-lg-12">
<hr>
<br>
<br>
<br>
<h3>{{ __('public.read-more') }}</h3>
<br>
</div>

@foreach ($categories->take(4)->shuffle()->all() as $category)
<div class="col-sm-6 {{ (isset($categoryModel) and $category->id == $categoryModel->id) ? 'd-none' : '' }}" >
<a href="{{ url('/' . $category->slug) }}" onclick="location.href = '{{ url('/' . $category->slug) }}';" >
<div class="card info-card shadow-lg" style="margin-bottom: 30px;">
<div class="card-body">
<div class="row">
<div class="col-8">
<h5 class="card-title">

<i class="

@if($category->icon == 'bitcoin')
fab
@else
fal
@endif

fa-{{$category->icon}}" style="font-size: 1.3rem">


</i> {{ $category->name }}
</h5>

</div>
<div class="col-4 text-right">

<h5><i class="fal fa-arrow-circle-right fa-3x" style="font-size: 30px;"></i></h5>
</div>
</div>
</div>
</div>

</a>

</div>
@endforeach



</div>
</div>
</section>




@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')


View File

@ -1,358 +1,14 @@
@extends('template.'.\Setting::get('template', 'default').'.content.master')

@section('content')
<style>
.jumbotron-ln {
background: #ccc;
background-position: left top;
background-repeat: no-repeat;
background-size: cover;
height: 250px;
background-color: #6c23d7;
}

.jumbotron-ln h1{
color: white;
}

body {
overflow-x: hidden;
}

.brand , .brand a{
font-size: 37px;
color: white;
font-weight: 300;
}

.brand a:hover {
color: white;
text-decoration: none;
}

.intro{
font-size: 20px;
margin-bottom: 70px;
}

.top-border-radius{
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}

article .card-body{
padding-right: 0.5rem;
padding-left: 0.5rem ;
}

#article-section .container {
padding-left: 7px;
padding-right: 7px;
}

#article-section .container .col-lg-12{
padding-left: 0px;
padding-right: 0px;
}


@media only screen and (min-width: 575px) {

article .card-body{
padding-right: 1.5rem;
padding-left: 1.5rem ;
}
#article-section .container{
padding-left: 15px;
padding-right: 15px;

}

#article-section .container .col-lg-12{
padding-left: 15px;
padding-right: 15px;
}
}
</style>

@if (\Setting::get('image') and !isset($categoryModel) or (isset($categoryModel) and !$categoryModel->image))
<style>
.jumbotron-ln {
background-image: url({{ asset('uploads/' . \Setting::get('image')) }});
}
</style>
@endif


@if (isset($categoryModel) and $categoryModel->image)
<style>
.jumbotron-ln {
background-image: url({{ asset('uploads/categories/' . $categoryModel->image) }});
}


</style>
@endif

<div class="jumbotron-ln">
<div class="container brand">
<br>

<a href="{{url('/')}}" >{{ \Setting::get('name')}}</a>
<br>
<span style="font-size: 50%;">{{ \Setting::get('tagline')}}</span>

</div>

</div>




@if(\Session::get('premium_code'))
<div class="bg-ci text-center bg-premium-code" style="font-size: 12px;display:none; cursor: pointer;" title="View your Code and expiration"><i class="fal fa-gem"></i> {{ __('public.premium-active') }}</div>
@include('template.'.\Setting::get('template', 'default').'.content.includes.premium-banner')
@endif

@if (!\Session::get('premium_code'))

@if (env('PAYMENT', false))
<div class="text-center" id="enter-code" data-toggle="modal" data-target="#exampleModalCode" title="Here you can buy a premium pass or use an existing one to log-in"><i class="fal fa-gem"></i> {{ __('public.buy-login') }}</div>
@endif

<div class="modal fade" id="exampleModalCode" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document" style="max-width: 800px;">
<form method="post" action="" class="enter-premium-code">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">{{ __('public.buy-login') }}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>

<div class="modal-body" style="padding-left: 0px; padding-right: 0px;">

@include('template.'.\Setting::get('template', 'default').'.content.includes.premium-pass')

<style>
.modal section{
padding-bottom: 0px;
}
</style>

<div class="container">
<div class="row">

<div class="col-8 offset-2 col-md-6 offset-md-3">


<h5 style="text-align: center">{{ __('public.login-existing') }}</h5>
<br>
<div class="form-group">
<label for="premium_code">{{ __('public.enter-active-code') }}</label>
<input type="text" minlength="6" maxlength="6" class="form-control" id="premium_code" required="required" aria-describedby="emailHelp" placeholder="XXXXXX">
</div>

<div id="content_premium"></div>
<button type="submit" class="btn btn-primary btn-enter-premium float-right" style="margin-bottom: 20px;"><i class="fal fa-sign-in"></i> {{ __('public.login-plan') }} </button>

</div>

</div>

</div>


</div>


</div>
</form>
</div>
</div>
@endif

@if (env('APP_ACCESS', 'public') == 'code')
<div class="container">
<br>

<a href="{{ route('logout') }}" class="float-right" onclick="event.preventDefault(); document.getElementById('logout-form').submit();"><i class="fal fa-sign-out"></i> {{ __('public.logout') }} Logout</a>
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
{{ csrf_field() }}
</form>
<br>
<br>


</div>


@endif

@if (\Route::currentRouteName() != 'author.get')
<div class="row" style="margin-top:50px;">
<div class="mx-auto" style="overflow: scroll">
<div class="btn-group btn-group-toggle mx-auto" data-toggle="buttons">
<label class="btn btn-lg {{ (!isset($categoryModel) and \Request::route()->getName() != 'nachrichten.get' and \Request::route()->getName() != 'author.get') ? 'active btn-primary' : 'btn-outline-primary' }}" onclick="location.href = '{{ url('/') }}';">
<input type="radio" name="options" id="option1" autocomplete="off" checked=""> <i class="fal fa-bookmark" aria-hidden="true"></i> Home
</label>

@foreach ($categories as $category)
<label class="btn btn-lg {{ (isset($categoryModel) and $category->id == $categoryModel->id) ? 'active btn-primary' : 'btn-outline-primary' }}" onclick="location.href = '{{ url('/' . $category->slug) }}';">
<input type="radio" name="options" id="option3" autocomplete="off">

@if($category->icon == 'bitcoin')
<i class="fab fa-{{$category->icon}}"></i>
@else
<i class="fal fa-{{$category->icon}}"></i>
@endif


{{ $category->name }}
</label>
@endforeach
</div>
</div>
</div>

<div class="container">
<div class="col-12">
@if (isset($categoryModel))
<br><br>
<h1>

@if($categoryModel->icon == 'bitcoin')
<i class="fab fa-{{$categoryModel->icon}}"></i>
@else
<i class="fal fa-{{$categoryModel->icon}}"></i>
@endif

{{ $categoryModel->name }}</h1>
@else
<br><br>
<h1>{{ \Setting::get('name')}}</h1>
@endif

<p class="intro">
@if (isset($categoryModel))
{{ $categoryModel->description }}
@else
{{ \Setting::get('description')}}
@endif
<br>


</p>
</div>
</div>
@endif

<div class="container">
<div class="row">
@if (\Route::currentRouteName() == 'author.get')
<div class="col-sm-12 col-md-2 text-center">
<br>
<br>
<img src="{{ $author->gravatar() }}?s=120&d=identicon&r=PG" width="120" class="rounded-circle img-fluid border" title="{{ $author->name }}">
</div>
<div class="col-sm-12 col-md-10">
<br><br>
<h1>{{ $author->name }}</h1>


<p class="intro">
{{ $author->description }}
</p>



<div class="row">
<div class="col-md-7 col-sm-12">
@if (isset($author->social_networks['email']))
<a href="mailto:{{ $author->social_networks['email'] }}"><i class="fal fa-envelope"></i></a>
|
@endif

@if (isset($author->social_networks['site']))
<a href="{{ $author->social_networks['site'] }}">{{ $author->social_networks['site'] }}</a>
@endif
<br>
<br>
</div>

<div class="col-md-5 col-sm-12 text-center">
<?php
$social = [
'telegram',
'behance',
'snapchat',
'stack-overflow',
'vimeo',
'github',
'reddit',
'instagram',
'linkedin',
'pinterest',
'twitter',
'facebook',
'youtube'
];
?>

@foreach ($social as $value)
@if (isset($author->social_networks[$value]))
<a href="{{ $author->social_networks[$value] }}"><i class="fab fa-{{ $value }}"></i></a>
@endif
@endforeach

<br>
<br>
</div>

</div>
</div>
@endif

@if (\Route::currentRouteName() == 'welcome')
<div class="col-12">
<br>
<br>
<h2 class="h4" class="text-center">{{ __('public.popular-authors') }}</h2>
</div>

@foreach ($authors as $author)
<div class="col-4 col-md-2 text-center">
<br>
<a href="{{ route('author.get', [$author->slug]) }}" title="{{ $author->name }}">
<img src="{{ $author->gravatar() }}?s=120&d=identicon&r=PG" width="120" class="rounded-circle img-fluid border">
</a>
</div>
@endforeach

<!--<div class="col-lg-12" style="text-align: center">
<br>
<br>
<a href=""> See all authors <i class="fal fa-arrow-right"></i></a>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>-->

<div class="col-lg-12">
<br>
<br>
<br>
</div>

@endif
</div>
</div>



@ -364,59 +20,6 @@



@if (env('APP_WRITE', false))
<br>
<br>
<br>
<a href="" class="float-right" data-toggle="modal" data-target="#exampleModal"><i class="fal fa-plus"></i> {{ __('public.propose-content') }} Neuen Inhalt einreichen</a>
<br>
<br>


@endif



@include('template.'.\Setting::get('template', 'default').'.content.includes.create-content')



<br>
@if (session()->has('success'))
<div class="row justify-content-center">
<div class="col-lg-8">
@if(is_array(session()->get('success')))
<div class="alert alert-success alert-dismissible fade show" role="alert">
<h4 class="alert-heading">Nachricht wurde erfolgreich eingereicht!</h4>
Ihre Nachricht wurde erfolgreich an uns übermittelt und wir nach Prüfung hier veröffentlicht.
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
@else
{{ session()->get('success') }}
@endif
</div>
</div>
@endif

@if (session()->has('error'))
<div class="row justify-content-center">
<div class="col-lg-8">
@if(is_array(session()->get('error')))
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<h4 class="alert-heading">Es ist ein Fehler aufgetreten!</h4>
Beim übermitteln Ihrer Nachricht ist ein Fehler aufgetreten. Der Admin wurde informiert.
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
@else
{{ session()->get('error') }}
@endif
</div>
</div>
@endif

<div class="article-feed">
<article class="newsentry" style="width: 100%;" data-slug="{{ $nach->category->slug }}/{{ $nach->slug }}">
@ -791,76 +394,7 @@
</div>
</section>

<section>
<div class="container">
<div class="row">
<div class="col-lg-12">
<hr>
<br>
<br>
<br>
<h3>{{ __('public.read-more') }}</h3>
<br>
</div>

@foreach ($categories->take(4)->shuffle()->all() as $category)
<div class="col-sm-6 {{ (isset($categoryModel) and $category->id == $categoryModel->id) ? 'd-none' : '' }}" >
<a href="{{ url('/' . $category->slug) }}" onclick="location.href = '{{ url('/' . $category->slug) }}';" >
<div class="card info-card shadow-lg" style="margin-bottom: 30px;">
<div class="card-body">
<div class="row">
<div class="col-8">
<h5 class="card-title">

<i class="

@if($category->icon == 'bitcoin')
fab
@else
fal
@endif

fa-{{$category->icon}}" style="font-size: 1.3rem">


</i> {{ $category->name }}
</h5>

</div>
<div class="col-4 text-right">

<h5><i class="fal fa-arrow-circle-right fa-3x" style="font-size: 30px;"></i></h5>
</div>
</div>
</div>
</div>

</a>

</div>
@endforeach



</div>
</div>
</section>




@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')