mega-commit: migrations, controllers, models, etc.
This commit is contained in:
parent
9732135e90
commit
2c6745e812
70 changed files with 2124 additions and 400 deletions
26
resources/views/main/layout.blade.php
Normal file
26
resources/views/main/layout.blade.php
Normal file
|
@ -0,0 +1,26 @@
|
|||
@extends('layout')
|
||||
|
||||
@push('head')
|
||||
<link rel="stylesheet" href="{{ asset('css/generic.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('css/main.css') }}">
|
||||
@endpush
|
||||
|
||||
@section('body')
|
||||
<header>
|
||||
<a href="{{ route('home') }}"><span>{{ config('app.name', 'CineFlex') }}</span></a>
|
||||
<div id="links">
|
||||
<a href="{{ route('home') }}">Home</a>
|
||||
<a href="{{ route('movies') }}">Movies</a>
|
||||
|
||||
@if (Auth::check())
|
||||
<a href="{{ route('dash') }}">Dashboard</a>
|
||||
<a href="{{ route('logout') }}">Logout</a>
|
||||
@else
|
||||
<a href="{{ route('login') }}">Login</a>
|
||||
@endif
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
@yield('content')
|
||||
</main>
|
||||
@endsection
|
Loading…
Add table
Add a link
Reference in a new issue