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
No known key found for this signature in database
GPG key ID: 29B551CDBD4D3B50
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\Http\Request;
use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\DB;
use App\Models\Location; use App\Models\Location;
use App\Models\Source;
class FrontIndexController extends Controller class FrontIndexController extends Controller
{ {
@ -51,8 +52,10 @@ class FrontIndexController extends Controller
public function about() public function about()
{ {
$sources = Source::where("active", true)->get();
return view('front.about', [ return view('front.about', [
'title' => "ABOUT" 'title' => "ABOUT",
'sources' => $sources
]); ]);
} }

View file

@ -4,7 +4,7 @@
@parent @parent
<section> <section>
<article> <article>
<h2>What is The Bad Space?</h2> <h2 id="what">What is The Bad Space?</h2>
<p>The Bad Space project was born from a need to effectively identify instances that house bad actors and are poorly moderated, which puts marginalized communities at risk. <p>The Bad Space project was born from a need to effectively identify instances that house bad actors and are poorly moderated, which puts marginalized communities at risk.
</p> </p>
<p> <p>
@ -20,6 +20,25 @@
Technical support provided by Technical support provided by
<a href="https://roiskinda.cool/profile.html">Ro</a>. <a href="https://roiskinda.cool/profile.html">Ro</a>.
</p> </p>
<h2 id="how">How does it work?</h2>
<p>The Bad Space is a collaboration of instances committed to actively moderating against racism, sexism, heterosexism, transphobia, ableism, casteism, or religion.</p>
<p>These instances have permitted The Bad Space to read their respective blocklists to create a composite directory of sites tagged for the behavior above that can be searched and, through a public API, can be integrated into external services.</p>
<p><strong>Current Sources:</strong></p>
Maston:<br />
@foreach($sources as $source)
@if($source->format == 'json')
<a href="https://{{$source->url}}">{{$source->url}}</a><br />
@endif
@endforeach
Custom CSV<br />
@foreach($sources as $source)
@if($source->format == 'csv')
<a href="{{$source->url}}">{{$source->url}}</a><br />
@endif
@endforeach
<h2>How do I use it?</h2> <h2>How do I use it?</h2>
<p> <p>
The Bad Space is meant to be a resource for anyone looking to improve the quality of their online experience by creating a tool that catalogs sources for harassment and abuse. There are several options for how it can be used. The Bad Space is meant to be a resource for anyone looking to improve the quality of their online experience by creating a tool that catalogs sources for harassment and abuse. There are several options for how it can be used.

View file

@ -26,7 +26,7 @@
@endif @endif
<br /> <br />
This count reflects the number of times this instance has been suspended or silenced by a member of <a href="https://writer.oliphant.social/oliphant/trusted-source-membership">Trusted Sources</a> This count reflects the number of times this instance has been suspended or silenced be two or more <a href="http://thebadspace.local/about#how">Current Sources</a>
<br />UPDATED : {{$updated}} <br />UPDATED : {{$updated}}
</article> </article>