Cree las rutas para la creacion de projectos
This commit is contained in:
22
resources/views/projects/index.blade.php
Normal file
22
resources/views/projects/index.blade.php
Normal 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
|
||||
Reference in New Issue
Block a user