mirror of
https://github.com/brunofontes/shareit.git
synced 2024-11-23 20:10:52 +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
ce0ddad1e7
commit
f56d8f4b7a
@ -80,9 +80,11 @@
|
||||
<div class="alert alert-danger text-center" role="alert">{{ $flashMsg }}</div>
|
||||
@endif
|
||||
|
||||
<main class="py-4">
|
||||
<main class="py-4 mb-5">
|
||||
@yield('content')
|
||||
</main>
|
||||
|
||||
@include('layouts.footer')
|
||||
</div>
|
||||
</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
|
||||
<a href="/help">@lang('welcome.Help')</a>
|
||||
</div>
|
||||
<div>
|
||||
<br>
|
||||
<div class="mt-5 mb-5"><br></div>
|
||||
<div class="links">
|
||||
<a href="{{ url('/lang/pt-br') }}">Português</a>
|
||||
<a href="{{ url('/lang/en') }}">English</a>
|
||||
</div>
|
||||
<div class="mt-5 mb-5"><br></div>
|
||||
<div class="links footer">
|
||||
<a href="https://brunofontes.net">@lang('welcome.byAuthor')</a>
|
||||
<p>@lang('welcome.copyright')</p>
|
||||
|
Loading…
Reference in New Issue
Block a user