cleanup view
This commit is contained in:
parent
865a90c8d0
commit
f26da7567a
3 changed files with 11 additions and 10 deletions
|
|
@ -12,8 +12,8 @@
|
||||||
|
|
||||||
<title></title>
|
<title></title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="bg-light">
|
||||||
<div class="container mt-5 p-5 text-center">
|
<div class="container mt-5 text-center">
|
||||||
@yield('content')
|
@yield('content')
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,15 @@
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<p>Är ordet:</p>
|
<p>Är ordet:</p>
|
||||||
|
|
||||||
<h1 class="mb-5">{{ $word }}</h1>
|
<h1 class="mb-5">{{ $word }}</h1>
|
||||||
|
|
||||||
<div class="row align-items-center">
|
<div class="d-flex justify-content-center">
|
||||||
<div class="col-3 ml-auto">
|
<div class="mr-2">
|
||||||
<a href="{{ route("word", ['uuid' => $uuid, 'guess' => 'sex'] ) }}" class="btn btn-block btn-lg btn-info">Sex-ställning</a>
|
<a class="btn btn-block btn-lg btn-info" href="{{ route("word", ['uuid' => $uuid, 'guess' => 'sex'] ) }}">Sex-ställning</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-3 mr-auto">
|
<div class="ml-2">
|
||||||
<a href="{{ route("word", ['uuid' => $uuid, 'guess' => 'yoga'] ) }}" class="btn btn-block btn-lg btn-info">Yoga-övning</a>
|
<a class="btn btn-block btn-lg btn-info" href="{{ route("word", ['uuid' => $uuid, 'guess' => 'yoga'] ) }}">Yoga-övning</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
@extends('layouts.default')
|
@extends('layouts.default')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<p class="mb-5">
|
<p>
|
||||||
Är ordet <strong>{{ $word }}</strong> en <strong>{{ $guess == 'sex' ? 'sex-ställning' : 'yoga-övning' }}</strong>?
|
Är ordet <strong>{{ $word }}</strong> en <strong>{{ $guess == 'sex' ? 'sex-ställning' : 'yoga-övning' }}</strong>?
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2 class="{{ $correct ? 'text-success' : 'text-danger' }}">{{ $correct ? 'Ja!' : 'Nej!' }}</h2>
|
<h1 class="mb-5 {{ $correct ? 'text-success' : 'text-danger' }}"><strong>{{ $correct ? 'Ja!' : 'Nej!' }}</strong></h2>
|
||||||
<a href="{{ route("word", ['uuid' => $next ]) }}" class="mt-5 btn btn-lg btn-info">Nästa ord</a>
|
<a href="{{ route("word", ['uuid' => $next ]) }}" class="btn btn-lg btn-info">Nästa ord</a>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
||||||
Reference in a new issue