Add Licenses help page, fixes #4238

This commit is contained in:
Daniel Supernault 2023-03-18 21:22:25 -06:00
parent 1df525cd46
commit 3c712a70d6
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,17 @@
@extends('site.help.partial.template', ['breadcrumb'=>'Licenses'])
@section('section')
<div class="title">
<h3 class="font-weight-bold">Licenses</h3>
</div>
<hr>
<p class="lead">
A Creative Commons license is one of several public copyright licenses that enable the free distribution of an otherwise copyrighted "work".
</p>
<p class="lead">
A CC license is used when an author wants to give other people the right to share, use, and build upon a work that the author has created.
</p>
<p>For more information, please visit <a href="https://creativecommons.org/licenses/" rel="nofollow">creativecommons.org</a></p>
@endsection

View file

@ -549,6 +549,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::view('data-policy', 'site.help.data-policy')->name('help.data-policy');
Route::view('labs-deprecation', 'site.help.labs-deprecation')->name('help.labs-deprecation');
Route::view('tagging-people', 'site.help.tagging-people')->name('help.tagging-people');
Route::view('licenses', 'site.help.licenses')->name('help.licenses');
});
Route::get('newsroom/{year}/{month}/{slug}', 'NewsroomController@show');
Route::get('newsroom/archive', 'NewsroomController@archive');