jonnybarnes.uk/resources/views/front-page.blade.php
Jonny Barnes b2b6693aec Ooof, got the dependencies all up to date as well
Lots of tests needed fixing, but it seemed to be a whitespace parsing
error in the view files 🤔
2019-10-27 16:15:14 +00:00

30 lines
1 KiB
PHP

@extends('master')
@section('title')Front Page « @stop
@section('content')
<div class="h-feed">
<!-- the following span stops microformat parses going haywire
generating a name property for the h-feed -->
<span class="p-name"></span>
@foreach ($items as $item)
@switch($item)
@case($item instanceof \App\Models\Note)
@include('templates.note', ['note' => $item])
@break
@case($item instanceof \App\Models\Article)
@include('templates.article', ['article' => $item])
@break
@case($item instanceof \App\Models\Like)
@include('templates.like', ['like' => $item])
@break
@case($item instanceof \App\Models\Bookmark)
@include('templates.bookmark', ['bookmark' => $item])
@break
@endswitch
@endforeach
</div>
@include('templates.bio')
@stop