Initial Commit; base feats
This commit is contained in:
commit
9732135e90
137 changed files with 13856 additions and 0 deletions
28
resources/views/layout.blade.php
Normal file
28
resources/views/layout.blade.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ isset($title) ? $title : 'Page' }} - CineFlex</title>
|
||||
<link rel="stylesheet" href="{{ asset('css/style.css') }}">
|
||||
@yield('head')
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<span>CineFlex</span>
|
||||
<div id="links">
|
||||
<a href="{{ route('home') }}">Home</a>
|
||||
<a href="{{ route('movies') }}">Movies</a>
|
||||
|
||||
@if (Auth::check())
|
||||
<a href="{{ route('dashboard') }}">Dashboard</a>
|
||||
<a href="{{ route('logout') }}">Logout</a>
|
||||
@else
|
||||
<a href="{{ route('login') }}">Login</a>
|
||||
@endif
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
@yield('content')
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue