Browse Source

Add Licenses help page, fixes #4238

Daniel Supernault 2 years ago
parent
commit
3c712a70d6
2 changed files with 18 additions and 0 deletions
  1. 17 0
      resources/views/site/help/licenses.blade.php
  2. 1 0
      routes/web.php

+ 17 - 0
resources/views/site/help/licenses.blade.php

@@ -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

+ 1 - 0
routes/web.php

@@ -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');