neuschwanstein-theme/content/index.blade.php

47 lines
1.6 KiB
PHP

@extends('template.'.config('settings.template').'.content.master')
@section('content')
<img src="https://ik.imagekit.io/areya/tr:ar-4-1,h-800,fo-center/20220827_161606_p4WD5frjy.jpg?updatedAt=1663175274584" class="img-fluid">
<section class="my-4">
<div class="container">
<div class="row">
<div class="col-12">
<h1>Homepage Name</h1>
<p class="fs-5">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid cum doloremque illo in iure quidem sed? Asperiores consectetur culpa dolorem, enim iure nisi, pariatur placeat quas quisquam, recusandae tempore tenetur.</p>
</div>
</div>
</div>
</section>
<section class="my-4">
<div class="container">
<div class="row">
<div class="col-12">
<h2>Neuigkeiten</h2>
</div>
@foreach($contents as $content)
<div class="col-4">
<div class="card mb-2 mt-2">
<img src="{{$content->image}}" class="card-img-top" alt="{{$content->title}}">
<div class="card-body">
<h5 class="card-title">{{$content->title}}</h5>
<h6 class="card-title text-muted">{{$content->user->name}}</h6>
<p class="card-text">{{$content->description}}</p>
<a href="{{$content->path}}" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
@endforeach
</div>
</div>
</section>
@stop