From f26da7567abd8bff162a6f4399050005763a278b Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 21 Mar 2021 08:27:24 +0100 Subject: [PATCH] cleanup view --- resources/views/layouts/default.blade.php | 4 ++-- resources/views/main.blade.php | 11 ++++++----- resources/views/result.blade.php | 6 +++--- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index faa1445..4cfc5a7 100644 --- a/resources/views/layouts/default.blade.php +++ b/resources/views/layouts/default.blade.php @@ -12,8 +12,8 @@ - -
+ +
@yield('content')
diff --git a/resources/views/main.blade.php b/resources/views/main.blade.php index 823391f..fa70de8 100644 --- a/resources/views/main.blade.php +++ b/resources/views/main.blade.php @@ -2,14 +2,15 @@ @section('content')

Är ordet:

+

{{ $word }}

-
-
- $uuid, 'guess' => 'sex'] ) }}" class="btn btn-block btn-lg btn-info">Sex-ställning +
+ - @endsection diff --git a/resources/views/result.blade.php b/resources/views/result.blade.php index d77d3a9..76525ed 100644 --- a/resources/views/result.blade.php +++ b/resources/views/result.blade.php @@ -1,10 +1,10 @@ @extends('layouts.default') @section('content') -

+

Är ordet {{ $word }} en {{ $guess == 'sex' ? 'sex-ställning' : 'yoga-övning' }}?

-

{{ $correct ? 'Ja!' : 'Nej!' }}

- $next ]) }}" class="mt-5 btn btn-lg btn-info">Nästa ord +

{{ $correct ? 'Ja!' : 'Nej!' }}

+ $next ]) }}" class="btn btn-lg btn-info">Nästa ord @endsection