Skip to content

Commit

Permalink
refactor: remove unused searchbar code
Browse files Browse the repository at this point in the history
  • Loading branch information
LuccaBitfly authored and marcel-bitfly committed Jan 10, 2025
1 parent e427d1d commit f386d2c
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 5,236 deletions.
79 changes: 0 additions & 79 deletions frontend/components/bc/NetworkSelector.vue

This file was deleted.

99 changes: 0 additions & 99 deletions frontend/components/bc/SearchbarGeneral.vue

This file was deleted.

18 changes: 0 additions & 18 deletions frontend/components/bc/header/MainHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import {
import type { BcHeaderMegaMenu } from '#build/components'
import { useLatestStateStore } from '~/stores/useLatestStateStore'
import { useNetworkStore } from '~/stores/useNetworkStore'
import {
SearchbarColors, SearchbarShape,
} from '~/types/searchbar'
import {
mobileHeaderThreshold, smallHeaderThreshold,
} from '~/types/header'
Expand All @@ -31,7 +28,6 @@ const { width } = useWindowSize()
const { t: $t } = useTranslation()
const { promoCode } = usePromoCode()
const colorMode = useColorMode()
const isSmallScreen = computed(() => width.value < smallHeaderThreshold)
const isMobileScreen = computed(() => width.value < mobileHeaderThreshold)
Expand Down Expand Up @@ -144,20 +140,6 @@ const handleUserMenuSelect = async (value: UserMenuItem) => {
</span>
</div>

<div class="grid-cell search-bar">
<BcSearchbarGeneral
v-if="showInDevelopment && !isHomePage"
class="bar"
:bar-shape="SearchbarShape.Medium"
:color-theme="
isSmallScreen && colorMode.value != 'dark'
? SearchbarColors.LightBlue
: SearchbarColors.DarkBlue
"
:screen-width-causing-sudden-change="smallHeaderThreshold"
/>
</div>

<div class="grid-cell controls">
<BcCurrencySelection
class="currency"
Expand Down
55 changes: 0 additions & 55 deletions frontend/components/bc/searchbar/CategorySelectors.vue

This file was deleted.

Loading

0 comments on commit f386d2c

Please sign in to comment.