added lists
							parent
							
								
									e86f7f0ee5
								
							
						
					
					
						commit
						47c402b159
					
				| 
						 | 
				
			
			@ -45,25 +45,63 @@
 | 
			
		|||
                    <div class="col-lg-8 col-md-6 col-sm-12">
 | 
			
		||||
                        <!-- Events Listing -->
 | 
			
		||||
                        <!-- Latest News -->
 | 
			
		||||
                        <div class="listing post-listing">
 | 
			
		||||
                            <header class="listing-header">
 | 
			
		||||
                                <h2 class="h3" style="color: #C71B1B">Neuigkeiten</h2>
 | 
			
		||||
                            </header>
 | 
			
		||||
                            <section class="listing-cont">
 | 
			
		||||
                                <ul>
 | 
			
		||||
                                </ul>
 | 
			
		||||
                            </section>
 | 
			
		||||
                        </div>
 | 
			
		||||
                        @php($contents = filterByContentType("Aktuelles"))
 | 
			
		||||
                        @if($contents->isNotEmpty())
 | 
			
		||||
                            <div class="listing post-listing">
 | 
			
		||||
                                <header class="listing-header">
 | 
			
		||||
                                    <h2 class="h3" style="color: #C71B1B">Neuigkeiten</h2>
 | 
			
		||||
                                </header>
 | 
			
		||||
                                <section class="listing-cont">
 | 
			
		||||
                                    <br>
 | 
			
		||||
                                    <div class="row mb-5">
 | 
			
		||||
                                        @foreach($contents as $content)
 | 
			
		||||
                                            <div class="col-12 col-md-6">
 | 
			
		||||
                                                <div class="card shadow-md mb-4 rounded-top" >
 | 
			
		||||
                                                    <img src="https://picsum.photos/300/150" class="card-img-top">
 | 
			
		||||
                                                    <div class="card-body">
 | 
			
		||||
                                                        <h2 class="h3">{{$content->title}}</h2>
 | 
			
		||||
                                                        <span class="text-muted mb-3">{{$content->created_at}}</span>
 | 
			
		||||
                                                        <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus architecto autem beatae, delectus dignissimos dolore dolorum, eius explicabo illo illum ipsam laborum libero mollitia neque quis repellendus, suscipit veritatis voluptatem!</p>
 | 
			
		||||
                                                        <div class="text-end">
 | 
			
		||||
                                                            <a href="{{$content->path}}" class="btn btn-primary">Mehr lesen</a>
 | 
			
		||||
                                                        </div>
 | 
			
		||||
                                                    </div>
 | 
			
		||||
                                                </div>
 | 
			
		||||
                                            </div>
 | 
			
		||||
                                        @endforeach
 | 
			
		||||
                                    </div>
 | 
			
		||||
                                </section>
 | 
			
		||||
                            </div>
 | 
			
		||||
                        @endif
 | 
			
		||||
 | 
			
		||||
                        <div class="listing events-listing">
 | 
			
		||||
                            <header class="listing-header">
 | 
			
		||||
                                <h2 class="h3" style="color: #C71B1B">Wettbewerbe</h2>
 | 
			
		||||
                            </header>
 | 
			
		||||
                            <section class="listing-cont">
 | 
			
		||||
                                <ul>
 | 
			
		||||
                                </ul>
 | 
			
		||||
                            </section>
 | 
			
		||||
                        </div>
 | 
			
		||||
                        @php($contents = filterByContentType("Wettbewerb"))
 | 
			
		||||
                        @if($contents->isNotEmpty())
 | 
			
		||||
                            <div class="listing events-listing">
 | 
			
		||||
                                <header class="listing-header">
 | 
			
		||||
                                    <h2 class="h3" style="color: #C71B1B">Wettbewerbe</h2>
 | 
			
		||||
                                </header>
 | 
			
		||||
                                <section class="listing-cont">
 | 
			
		||||
                                    <br>
 | 
			
		||||
                                    <div class="row mb-5">
 | 
			
		||||
                                        @foreach($contents as $content)
 | 
			
		||||
                                            <div class="col-12 col-md-6">
 | 
			
		||||
                                                <div class="card shadow-md mb-4 rounded-top" >
 | 
			
		||||
                                                    <img src="https://picsum.photos/300/150" class="card-img-top">
 | 
			
		||||
                                                    <div class="card-body">
 | 
			
		||||
                                                        <h2 class="h3">{{$content->title}}</h2>
 | 
			
		||||
                                                        <span class="text-muted mb-3">{{$content->created_at}}</span>
 | 
			
		||||
                                                        <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus architecto autem beatae, delectus dignissimos dolore dolorum, eius explicabo illo illum ipsam laborum libero mollitia neque quis repellendus, suscipit veritatis voluptatem!</p>
 | 
			
		||||
                                                        <div class="text-end">
 | 
			
		||||
                                                            <a href="{{$content->path}}" class="btn btn-primary">Mehr lesen</a>
 | 
			
		||||
                                                        </div>
 | 
			
		||||
                                                    </div>
 | 
			
		||||
                                                </div>
 | 
			
		||||
                                            </div>
 | 
			
		||||
                                        @endforeach
 | 
			
		||||
                                    </div>
 | 
			
		||||
                                </section>
 | 
			
		||||
                            </div>
 | 
			
		||||
                        @endif
 | 
			
		||||
                    </div>
 | 
			
		||||
                    <!-- Start Sidebar -->
 | 
			
		||||
                    <div class="col-lg-4 col-md-6 col-sm-12">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,7 +17,6 @@
 | 
			
		|||
            </div>
 | 
			
		||||
            <div class="row mb-5">
 | 
			
		||||
                @foreach($contents as $content)
 | 
			
		||||
 | 
			
		||||
                    <div class="col-12 col-md-4">
 | 
			
		||||
                        <div class="card shadow-md mb-4 rounded-top" >
 | 
			
		||||
                            <img src="https://picsum.photos/300/150" class="card-img-top">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,11 +4,5 @@
 | 
			
		|||
    "value": "",
 | 
			
		||||
    "type": "date",
 | 
			
		||||
    "required": true
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  {
 | 
			
		||||
    "name": "Filter Fields",
 | 
			
		||||
    "type": "array",
 | 
			
		||||
    "required": true
 | 
			
		||||
  }
 | 
			
		||||
]
 | 
			
		||||
		Loading…
	
		Reference in New Issue