mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
Added sources list, updated about section
Tweaked the about page to include some langauge talking about where the data is coming from and how it's being used and linking to the respective sources
This commit is contained in:
@ -5,6 +5,7 @@ namespace App\Http\Controllers;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use App\Models\Location;
|
||||
use App\Models\Source;
|
||||
|
||||
class FrontIndexController extends Controller
|
||||
{
|
||||
@ -51,8 +52,10 @@ class FrontIndexController extends Controller
|
||||
|
||||
public function about()
|
||||
{
|
||||
$sources = Source::where("active", true)->get();
|
||||
return view('front.about', [
|
||||
'title' => "ABOUT"
|
||||
'title' => "ABOUT",
|
||||
'sources' => $sources
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user