<commit_before>@extends('components.content-area')

@section('content')
    @include('components.page-title', ['title' => $page['title']])

    @if($hide_filtering == false)
        <form name="departments" method="get" class="filter formy">
            <label for="filter-group" class="text-black">View by department:</label>
            <div class="row -mx-4">
                <div class="w-5/6 px-4">
                    <select name="group" id="filter-group">
                        @foreach($dropdown_groups as $key=>$value)
                            <option value="{{ $key }}"@if($key == $selected_group) selected="selected"@endif>{{ $value }}</option>
                        @endforeach
                    </select>
                </div>

                <div class="w-1/6 px-4">
                    <input type="submit" value="Filter" class="postfix button expanded" />
                </div>
            </div>
        </form>
    @endif

    <div class="row flex flex-wrap -mx-4">
        @forelse($profiles as $profile)
            <div class="w-full sm:w-1/2 md:w-1/3 px-4 pb-6">
                <a href="{{ $profile['link'] }}" class="underline">
                    <div class="block bg-cover bg-center w-full pt-full lazy mb-1" data-src="{{ $profile['data']['Picture']['url'] ?? '/_resources/images/no-photo.svg' }}"></div>
                    <span class="font-bold">{{ $profile['data']['First Name'] }} {{ $profile['data']['Last Name'] }}</span>
                </a>

                @if(!empty($profile['data']['Title']))
                    <span class="block text-sm">{{ $profile['data']['Title'] }}</span>
                @endif
            </div>
        @empty
            <p>No profiles found.</p>
        @endforelse
    </div>
@endsection<commit_msg>Convert to listing for accessibility<commit_after>@extends('components.content-area')

@section('content')
    @include('components.page-title', ['title' => $page['title']])

    @if($hide_filtering == false)
        <form name="departments" method="get" class="filter formy">
            <label for="filter-group" class="text-black">View by department:</label>
            <div class="row -mx-4">
                <div class="w-5/6 px-4">
                    <select name="group" id="filter-group">
                        @foreach($dropdown_groups as $key=>$value)
                            <option value="{{ $key }}"@if($key == $selected_group) selected="selected"@endif>{{ $value }}</option>
                        @endforeach
                    </select>
                </div>

                <div class="w-1/6 px-4">
                    <input type="submit" value="Filter" class="postfix button expanded" />
                </div>
            </div>
        </form>
    @endif

    <ul class="row flex flex-wrap -mx-4 list-reset">
        @forelse($profiles as $profile)
            <li class="w-full sm:w-1/2 md:w-1/3 px-4 pb-6">
                <a href="{{ $profile['link'] }}" class="underline">
                    <div class="block bg-cover bg-center w-full pt-full lazy mb-1" data-src="{{ $profile['data']['Picture']['url'] ?? '/_resources/images/no-photo.svg' }}"></div>
                    <span class="font-bold">{{ $profile['data']['First Name'] }} {{ $profile['data']['Last Name'] }}</span>
                </a>

                @if(!empty($profile['data']['Title']))
                    <span class="block text-sm">{{ $profile['data']['Title'] }}</span>
                @endif
            </li>
        @empty
            <p>No profiles found.</p>
        @endforelse
    </ul>
@endsection
{'fraction_non_alphanumeric': 0.19003895381190875, 'fraction_numerical': 0.008347245409015025, 'mean_word_length': 1.8463974663499605, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1776242', 'n_tokens_mistral': 1057, 'n_tokens_neox': 1019, 'n_words': 216}