1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-05-06 14:41:02 -05:00

refactor: current sources

changes:
- `<strong>` → `<h3>`
- add a `.strong` class to mimic the `<strong>` behaviour
- wrap lists in `<ul>`
- provide feedback when no sources are available
This commit is contained in:
Zoë 2025-05-02 20:46:10 +02:00
parent 2c88d45e52
commit cf11d246d1
No known key found for this signature in database
GPG Key ID: B4CA6F5B4034F028
2 changed files with 28 additions and 13 deletions

View File

@ -67,6 +67,11 @@ h3 {
font-weight: 500; font-weight: 500;
} }
h3.strong {
color: var(--secondary);
font-weight: bolder;
}
@media only screen and (max-width: 800px) { @media only screen and (max-width: 800px) {
h1 { h1 {
font-size: 2em; font-size: 2em;

View File

@ -21,19 +21,29 @@
<h2>Removing Locations</h2> <h2>Removing Locations</h2>
<p>Locations that are displayed in The Bad Space may petition to be removed from the catalog by sending an appeal request to The Bad Space. The appeal process is outlined <a href="/appeals">here</a>.</p> <p>Locations that are displayed in The Bad Space may petition to be removed from the catalog by sending an appeal request to The Bad Space. The appeal process is outlined <a href="/appeals">here</a>.</p>
<p><strong>Current Sources:</strong></p> <h3 class="strong">Current Sources:</h3>
Maston:<br />
@foreach($sources as $source) <h4>Maston:</h4>
@if($source->format == 'json') <ul>
<a href="https://{{$source->url}}">{{$source->url}}</a><br /> @foreach($sources as $source)
@endif @if($source->format == 'json')
@endforeach <li><a href="https://{{$source->url}}">{{$source->url}}</a></li>
Custom CSV<br /> @else
@foreach($sources as $source) <li>None</li>
@if($source->format == 'csv') @endif
<a href="{{$source->url}}">{{$source->url}}</a><br /> @endforeach
@endif </ul>
@endforeach
<h4>Custom CSV</h4>
<ul>
@foreach($sources as $source)
@if($source->format == 'csv')
<li><a href="{{$source->url}}">{{$source->url}}</a></li>
@else
<li>None</li>
@endif
@endforeach
</ul>
<h2>How do I use it?</h2> <h2>How do I use it?</h2>
<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.</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.</p>