jonnybarnes.uk/resources/views/front-page.blade.php
Jonny Barnes 5ef23376be Work so far in refactoring front-end
- Mainly getting rid of existing css/js
- No longer linking to stuff like a11y.css
- Creating a FrontPageController to better deal with the home page
2019-07-26 10:40:56 +01:00

30 lines
938 B
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)
<p>This is a note</p>
@break
@case($item instanceof \App\Models\Article)
<p>This is an article</p>
@break
@case($item instanceof \App\Models\Like)
<p>This is a like</p>
@break
@case($item instanceof \App\Models\Bookmark)
<p>This is a bookmark</p>
@break
@endswitch
@endforeach
</div>
@include('templates.bio')
@stop