mega-commit: migrations, controllers, models, etc.
This commit is contained in:
parent
9732135e90
commit
2c6745e812
70 changed files with 2124 additions and 400 deletions
32
resources/views/main/home.blade.php
Normal file
32
resources/views/main/home.blade.php
Normal file
|
@ -0,0 +1,32 @@
|
|||
@extends('main.layout')
|
||||
|
||||
@push('head')
|
||||
<link rel="stylesheet" href="{{ asset('css/extra.css') }}">
|
||||
<script defer src="{{ asset('js/jumbotron.js') }}"></script>
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
{{-- data-images is a , seperated list with all images--}}
|
||||
<section id="jumbotron" class="jumbotron" data-delay="5000" data-images="img/bar.jpg,img/cinema.jpg,img/lobby.jpg">
|
||||
<div class="container">
|
||||
<h1 class="display-4">{{ config('app.name', 'CineFlex') }}</h1>
|
||||
<p class="lead">Welcome to CineFlex, the best cinema management system in the world!</p>
|
||||
<p>Here you can see what movies are playing at your local cinema and buy tickets for them.</p>
|
||||
<a class="button" href="{{ route('cinemas') }}" role="button">Cinemas</a>
|
||||
</div>
|
||||
<img class="jumbotron-image" src="" data-order="1">
|
||||
<img class="jumbotron-image" src="" data-order="2">
|
||||
|
||||
</section>
|
||||
|
||||
<h2>Cinemas</h2>
|
||||
<ul>
|
||||
@foreach($cinemas as $cinema)
|
||||
<li>
|
||||
<a href="{{ route('cinema', ['id'=>$cinema->cinema_id]) }}">
|
||||
{{ $cinema->cinema_name }} - {{ $cinema->address->address_city }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endsection
|
Loading…
Add table
Add a link
Reference in a new issue