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
This commit is contained in:
parent
30f9b0f557
commit
5ef23376be
135 changed files with 7461 additions and 100 deletions
30
resources/views/front-page.blade.php
Normal file
30
resources/views/front-page.blade.php
Normal file
|
@ -0,0 +1,30 @@
|
|||
@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
|
Loading…
Add table
Add a link
Reference in a new issue