Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions services/query-engine/resources/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@
--another: #394b70;
}

#note {
color: var(--color-red-500);
background-color: black;
padding: 1rem;
border: #c0caf5 solid 0.1rem;
border-radius: 0.5rem;
}

#github {
color: var(--blue);
}

#github:hover {
color: var(--color-blue-500);
}

#cringe-title {
color: var(--text);
background-color: var(--another);
Expand Down
14 changes: 11 additions & 3 deletions services/query-engine/resources/views/cringe-results.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,19 @@
</p>
</div>
<h2 id="cringe-top-searches" class="text-2xl mb-4 font-semibold" style="color: var(--orange);">
Top Searches
Top Searches (Deprecated Feature)
</h2>

<ul class="space-y-2">
@foreach ($topSearches as $search)
<p id="note">
Due to the top searches being used for spam and displaying inappropriate results, the top
searches feature has been disabled.<br>
If you'd like to contribute a new feature to replace it, you can go to the
related <a href="https://github.com/IonelPopJara/moogle/issues/7" target="_blank"
id="github">GitHub
issue</a>.
</p>
{{-- @foreach ($topSearches as $search)
<li>
<a href="{{ route('search_force', ['processed_query' => $search]) }}"
class="transition hover:underline" style="color: var(--text);"
Expand All @@ -43,7 +51,7 @@ class="transition hover:underline" style="color: var(--text);"
- {{ $search }}
</a>
</li>
@endforeach
@endforeach --}}
</ul>
</div>

Expand Down
Loading