From f56d8f4b7ae13295c84145917d9464d9d059e231 Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Sat, 29 Sep 2018 01:49:02 -0300 Subject: [PATCH] Added: buttons to change language Now the welcome.blade has two new links to change language. Other pages has a footer with the language switcher too. --- resources/views/layouts/app.blade.php | 4 +++- resources/views/layouts/footer.blade.php | 19 +++++++++++++++++++ resources/views/welcome.blade.php | 7 +++++-- 3 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 resources/views/layouts/footer.blade.php diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 29ad403..24752f6 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -80,9 +80,11 @@ @endif -
+
@yield('content')
+ + @include('layouts.footer') diff --git a/resources/views/layouts/footer.blade.php b/resources/views/layouts/footer.blade.php new file mode 100644 index 0000000..e218f59 --- /dev/null +++ b/resources/views/layouts/footer.blade.php @@ -0,0 +1,19 @@ + +

+ + + \ No newline at end of file diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index 4d15156..e6d0d21 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -102,9 +102,12 @@ @endauth @lang('welcome.Help') -
-
+

+ +