refactor: improve footer links and attribution

This commit improves the footer copyright statement as well as its attribution. An image for GPL's logo as well as GitHub's mark were added, including configuration options for them.
This commit is contained in:
Miguel Nogueira 2022-04-08 17:09:29 +01:00
parent 42a802968c
commit 3670fc575b
5 changed files with 7 additions and 10 deletions

View File

@ -12,6 +12,7 @@ API_PREFIX="api"
GUIDELINES_URL="#" GUIDELINES_URL="#"
PRIVACY_URL="#" PRIVACY_URL="#"
TERMS_URL="#" TERMS_URL="#"
SOURCE_REPO="#"
# The auth banner is a relative path # The auth banner is a relative path

View File

@ -97,7 +97,7 @@ return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Legal documents | Legal documents & source code
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Every website needs a collection of legal documents in order to remain compliant with | Every website needs a collection of legal documents in order to remain compliant with
@ -118,6 +118,7 @@ return [
'terms_url' => env('TERMS_URL', '#'), 'terms_url' => env('TERMS_URL', '#'),
'privacy_url' => env('PRIVACY_URL', '#'), 'privacy_url' => env('PRIVACY_URL', '#'),
'guidelines_url' => env('GUIDELINES_URL', '#'), 'guidelines_url' => env('GUIDELINES_URL', '#'),
'source_repo' => env('SOURCE_REPO', 'https://code.webvokestudio.pt/miguel456/rbrecruiter'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -3,20 +3,15 @@
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<a href="https://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank"><img src="{{ asset('img/gplv3-with-text-84x42.png') }}" alt="gnu gpl v3 logo"></a>
<li class="d-inline-block"> &nbsp;
<a href="{{ config('app.source_repo') }}" target="_blank"><img src="{{ asset('img/GitHub-Mark-32px.png') }}" alt="github wordmark repo link"></a>
<a class="mr-3" href="https://github.com/GamesClubOficial/rbrecruiter-gc"><i class="fas fa-code-branch"></i> {{ __('Gitea') }}</a>
<a class="mr-3" href="https://github.com/GamesClubOficial/rbrecruiter-gc/issues"><i class="fas fa-bug"></i> {{ __('Issue Tracker') }}</a>
</li>
</div> </div>
<div class="col-4 d-inline-block"> <div class="col-4 d-inline-block">
<p>&copy; Miguel N. {{ \Carbon\Carbon::now()->year }}&mdash; <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">{{ __('GNU General Public License') }}</a></p> <p>{!! __('Copyright &copy; :currentYear :authorName &mdash; <a href="licenseTextURL">:licenseFullName</a>', ['authorName' => 'Miguel Nogueira', 'currentYear' => now()->year, 'licenseTextURL' => 'https://www.gnu.org/licenses/gpl-3.0.en.html', 'licenseFullName' => 'GNU GPL v3']) !!}</p>
</div> </div>