Cree las rutas para la creacion de projectos

This commit is contained in:
Daniel Cortés
2019-07-03 01:28:51 -04:00
parent b15c2dc658
commit 53b709c175
22 changed files with 491 additions and 17 deletions

View File

@@ -0,0 +1,22 @@
@extends('base')
@php
$parse = new Parsedown();
@endphp
@section('content')
@foreach($projects as $project)
<section>
<h1>{{ $project->title }}</h1>
{!! $parse->text($project->md) !!}
<div class="image-container">
@foreach($project->photos as $photo)
<img src="{{ Storage::url($photo->filename) }}"/>
@endforeach
</div>
</section>
@endforeach
<hr/>
@endsection