Changed homepage elements
This commit is contained in:
parent
cfd345f739
commit
8672900cff
2 changed files with 4 additions and 11 deletions
|
|
@ -2,9 +2,6 @@
|
|||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Support\Facades\File;
|
||||
use Parsedown;
|
||||
|
||||
class HomeController extends Controller
|
||||
{
|
||||
/**
|
||||
|
|
@ -14,8 +11,6 @@ class HomeController extends Controller
|
|||
*/
|
||||
public function home()
|
||||
{
|
||||
$Parsedown = new Parsedown();
|
||||
$changelog = $Parsedown->text(File::get(\app_path('../CHANGELOG.md')));
|
||||
return view('home', ['changelog' => $changelog]);
|
||||
return view('home');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,15 +5,13 @@
|
|||
<div class="row">
|
||||
<div class="col">
|
||||
<h1>Bienvenue sur le support LDC WEB.</h1>
|
||||
<p>Pour consulter vos tickets, merci de vous connecter : <a href="{{ route('login') }}">Connexion</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mt-4">
|
||||
<h3>Changements</h3>
|
||||
</div>
|
||||
<div class="row mt-3">
|
||||
<div class="col">
|
||||
{!! $changelog !!}
|
||||
<button class="btn btn-primary">
|
||||
Créer un ticket
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue