From cf11d246d1e9898f80746033789e2bd32b962ddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zo=C3=AB?= Date: Fri, 2 May 2025 20:46:10 +0200 Subject: [PATCH] refactor: current sources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit changes: - `` → `

` - add a `.strong` class to mimic the `` behaviour - wrap lists in `
    ` - provide feedback when no sources are available --- public/assets/css/global/typography.css | 5 ++++ resources/views/front/about.blade.php | 36 ++++++++++++++++--------- 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/public/assets/css/global/typography.css b/public/assets/css/global/typography.css index c2bfe01..8e1b0ca 100644 --- a/public/assets/css/global/typography.css +++ b/public/assets/css/global/typography.css @@ -67,6 +67,11 @@ h3 { font-weight: 500; } +h3.strong { + color: var(--secondary); + font-weight: bolder; +} + @media only screen and (max-width: 800px) { h1 { font-size: 2em; diff --git a/resources/views/front/about.blade.php b/resources/views/front/about.blade.php index bf5fc31..cb95fca 100644 --- a/resources/views/front/about.blade.php +++ b/resources/views/front/about.blade.php @@ -21,19 +21,29 @@

    Removing Locations

    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 here.

    -

    Current Sources:

    - Maston:
    - @foreach($sources as $source) - @if($source->format == 'json') - {{$source->url}}
    - @endif - @endforeach - Custom CSV
    - @foreach($sources as $source) - @if($source->format == 'csv') - {{$source->url}}
    - @endif - @endforeach +

    Current Sources:

    + +

    Maston:

    +
      + @foreach($sources as $source) + @if($source->format == 'json') +
    • {{$source->url}}
    • + @else +
    • None
    • + @endif + @endforeach +
    + +

    Custom CSV

    +
      + @foreach($sources as $source) + @if($source->format == 'csv') +
    • {{$source->url}}
    • + @else +
    • None
    • + @endif + @endforeach +

    How do I use it?

    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.