various look-and-feel improvements

This commit is contained in:
2024-11-01 20:32:39 -06:00
parent eb90c9ebae
commit 8a61d9df45
8 changed files with 60 additions and 43 deletions

View File

@@ -78,11 +78,12 @@
</div>
<div v-if="isLocalActive">
<div>
<div class="text-center">
<button
class="ml-2 mt-2 px-4 py-2 rounded-md bg-blue-200 text-blue-500"
@click="$router.push({ name: 'search-area' })"
>
<fa icon="location-dot" class="fa-fw" />
Select a {{ searchBox ? "Different" : "" }} Location for Nearby Search
</button>
</div>
@@ -97,8 +98,13 @@
</div>
<div v-else-if="projects.length === 0" class="text-center mt-8">
<p class="text-lg text-slate-500">
No projects were found with that search.
<span v-if="isLocalActive">Try looking Anywhere.</span>
<span v-if="isLocalActive">
<span v-if="searchBox">
None found in the selected area.
</span>
<!-- Otherwise there's no search area selected so we'll just leave the search box for them to click. -->
</span>
<span v-else>No projects were found with that search.</span>
</p>
</div>