Remove /explorer 'Explorer'

This commit is contained in:
2024-10-06 01:36:32 -04:00
parent 02d5ef4371
commit 34d51f2c85
6 changed files with 3 additions and 759 deletions

View File

@@ -63,18 +63,7 @@
>
</v-text-field>
</div>
<!-- Buttons -->
<div v-if="!showSearch" class="absolute-center flex">
<v-btn
variant="plain"
icon
class="flex flex-row justify-center"
@click="explorerHandler"
>
<v-icon>mdi-earth</v-icon>
</v-btn>
</div>
</div>
<div class="flex items-center space-x-4 search-container">
@@ -188,10 +177,6 @@ const toggleSearch = () => {
showSearch.value = !showSearch.value;
};
const explorerHandler = () => {
router.push('/explorer');
};
const handleClickOutside = (event) => {
if (!event.target.closest('.search-container')) {
showSearch.value = false;

View File

@@ -9,14 +9,6 @@ const {locale} = useI18n();
const router = useRouter();
const selectedLanguage = ref(locale.value);
const explorerHandler = () => {
router.push('/explorer');
};
const feedHandler = () => {
router.push('/feed');
};
function initializeLocale() {
const preferredLocale = localStorage.getItem('preferredLocale');
selectedLanguage.value = preferredLocale === null ? locale.value : preferredLocale;
@@ -39,13 +31,8 @@ initializeLocale();
<nav class="flex flex-col h-full overflow-y-auto custom-scrollbar bg-white">
<div class="flex justify-center py-3">
<v-btn v-if="authStore.isAuthenticated" variant="plain" class="p-8" @click="feedHandler">
<img src="/images/hutopymedia/icons/feedfollow.svg" alt="feed follow icon"
style="filter: invert(0.5) brightness(0.0); width: 32px; height: 32px;"/>
</v-btn>
<v-btn variant="plain" class="p-8" @click="explorerHandler">
<v-icon style="font-size: 28px;">mdi-earth</v-icon>
</v-btn>
<v-btn
variant="text"
class="p-0 mx-0 min-w-0"