1
0
Fork 0

Initial Commit

This commit is contained in:
Henrik Hautakoski 2020-10-03 16:07:18 +02:00
commit 9b22323711
36 changed files with 7164 additions and 0 deletions

0
resources/views/.gitkeep Normal file
View file

View file

@ -0,0 +1,6 @@
@extends('layouts.default')
@section('content')
<h1>404</h2>
<a href="/"> tillbaka</a>
@endsection

View file

@ -0,0 +1,18 @@
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="{{ asset('/assets/bootstrap.min.css') }}">
<title></title>
</head>
<body>
<div class="container mt-5 p-5 text-center">
@yield('content')
</div>
</body>
</html>

View file

@ -0,0 +1,15 @@
@extends('layouts.default')
@section('content')
<p>Är ordet:</p>
<h1 class="mb-5">{{ $word }}</h1>
<div class="row align-items-center">
<div class="col-3 ml-auto">
<a href="{{ route("word", ['uuid' => $uuid, 'guess' => 'sex'] ) }}" class="btn btn-block btn-lg btn-info">Sex-ställning</a>
</div>
<div class="col-3 mr-auto">
<a href="{{ route("word", ['uuid' => $uuid, 'guess' => 'yoga'] ) }}" class="btn btn-block btn-lg btn-info">Yoga-övning</a>
</div>
</div>
@endsection

View file

@ -0,0 +1,10 @@
@extends('layouts.default')
@section('content')
<p class="mb-5">
Är ordet <strong>{{ $word }}</strong> en <strong>{{ $guess == 'sex' ? 'sex-ställning' : 'yoga-övning' }}</strong>?
</p>
<h2 class="{{ $correct ? 'text-success' : 'text-danger' }}">{{ $correct ? 'Ja!' : 'Nej!' }}</h2>
<a href="{{ route("word", ['uuid' => $next ]) }}" class="mt-5 btn btn-lg btn-info">Nästa ord</a>
@endsection