1
0
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:
Ro
2023-09-05 13:30:57 -07:00
parent 565f099c90
commit 650e67a799
3 changed files with 25 additions and 3 deletions

View File

@ -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
]);
}