Add (initial): futurewalker code
This commit is contained in:
@@ -1,23 +1,30 @@
|
||||
@extends('front.layouts.app')
|
||||
@section('content')
|
||||
<main class="container">
|
||||
<main class="container-lg mt-3">
|
||||
|
||||
@include('front.partials.breadcrumbs')
|
||||
|
||||
<div class="row g-4">
|
||||
<div class="col-md-8">
|
||||
<h1 class="pb-2 fw-normal h2">
|
||||
@if (isset($category) && !is_null($category))
|
||||
{{ $category->name }} News from EchoScoop
|
||||
<h1 class="pb-2 h2 font-family-roboto-condensed">
|
||||
|
||||
@if($page_type == 'search')
|
||||
@if(isset($title))
|
||||
{{ $title }}
|
||||
@endif
|
||||
@else
|
||||
Latest News from EchoScoop
|
||||
@if (isset($category) && !is_null($category))
|
||||
{{ $category->name }} News from FutureWalker
|
||||
@else
|
||||
AI & Tech News from FutureWalker
|
||||
@endif
|
||||
@endif
|
||||
</h1>
|
||||
@if ($posts->count() > 0)
|
||||
@foreach ($posts as $post)
|
||||
@include('front.partials.post_detail', ['post' => $post])
|
||||
@endforeach
|
||||
@if ($posts instanceof \Illuminate\Pagination\Paginator)
|
||||
@if ($posts instanceof \Illuminate\Pagination\CursorPaginator)
|
||||
<div class="flex justify-center">
|
||||
{{ $posts->links('pagination::simple-bootstrap-5-rounded') }}
|
||||
</div>
|
||||
@@ -31,9 +38,9 @@
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="position-sticky" style="top: 2rem;">
|
||||
@include('front.partials.about')
|
||||
</div>
|
||||
<div class="position-sticky" style="top: 2rem;">
|
||||
@include('front.partials.sidebar')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user