mirror of
https://github.com/brunofontes/shareit.git
synced 2024-11-24 04:14:57 +00:00
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.
This commit is contained in:
parent
6b20397e9d
commit
5be29fc3d8
@ -80,9 +80,11 @@
|
|||||||
<div class="alert alert-danger text-center" role="alert">{{ $flashMsg }}</div>
|
<div class="alert alert-danger text-center" role="alert">{{ $flashMsg }}</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<main class="py-4">
|
<main class="py-4 mb-5">
|
||||||
@yield('content')
|
@yield('content')
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
@include('layouts.footer')
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
19
resources/views/layouts/footer.blade.php
Normal file
19
resources/views/layouts/footer.blade.php
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
<div class="my-4"><br></div>
|
||||||
|
|
||||||
|
<!-- Footer -->
|
||||||
|
<footer class="fixed-bottom page-footer font-small mt-5">
|
||||||
|
<div class="row footer-copyright text-left bg-secondary text-white mt-5 py-3">
|
||||||
|
<!-- Copyright -->
|
||||||
|
<div class="col ml-4">
|
||||||
|
© 2018<?='2018' != date('Y')?'-' . date('Y'):'';?> Copyright <a href="https://brunofontes.net" class="link text-white-50" target="_blank">Bruno Fontes</a>
|
||||||
|
</div>
|
||||||
|
<div class="col mr-4 text-right">
|
||||||
|
<a href="{{ url('/lang/pt-br') }}" class="link text-white">Português</a>
|
||||||
|
<span class="d-none d-sm-inline"> | </span>
|
||||||
|
<span class="d-xs-block d-sm-none"> <br> </span>
|
||||||
|
<a href="{{ url('/lang/en') }}" class="link text-white">English</a>
|
||||||
|
</div>
|
||||||
|
<!-- Copyright -->
|
||||||
|
</div>
|
||||||
|
</footer>
|
@ -102,9 +102,12 @@
|
|||||||
@endauth
|
@endauth
|
||||||
<a href="/help">@lang('welcome.Help')</a>
|
<a href="/help">@lang('welcome.Help')</a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="mt-5 mb-5"><br></div>
|
||||||
<br>
|
<div class="links">
|
||||||
|
<a href="{{ url('/lang/pt-br') }}">Português</a>
|
||||||
|
<a href="{{ url('/lang/en') }}">English</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="mt-5 mb-5"><br></div>
|
||||||
<div class="links footer">
|
<div class="links footer">
|
||||||
<a href="https://brunofontes.net">@lang('welcome.byAuthor')</a>
|
<a href="https://brunofontes.net">@lang('welcome.byAuthor')</a>
|
||||||
<p>@lang('welcome.copyright')</p>
|
<p>@lang('welcome.copyright')</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user