Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar73a committed Dec 11, 2023
2 parents 2e630be + cfd720d commit 0c08969
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 19 deletions.
3 changes: 3 additions & 0 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@ declare module 'vue' {
BNavbarToggle: typeof import('bootstrap-vue-next')['BNavbarToggle']
BNavItem: typeof import('bootstrap-vue-next')['BNavItem']
BNavText: typeof import('bootstrap-vue-next')['BNavText']
BOffcanvas: typeof import('bootstrap-vue-next')['BOffcanvas']
BPlaceholder: typeof import('bootstrap-vue-next')['BPlaceholder']
BPlaceholderCard: typeof import('bootstrap-vue-next')['BPlaceholderCard']
BPlaceholderWrapper: typeof import('bootstrap-vue-next')['BPlaceholderWrapper']
BRow: typeof import('bootstrap-vue-next')['BRow']
BSkeleton: typeof import('bootstrap-vue-next')['BSkeleton']
BSkeletonWrapper: typeof import('bootstrap-vue-next')['BSkeletonWrapper']
ClubItem: typeof import('./src/components/club/ClubItem.vue')['default']
ClubList: typeof import('./src/components/club/ClubList.vue')['default']
ContentItem: typeof import('./src/components/ContentItem.vue')['default']
EventItem: typeof import('./src/components/events/EventItem.vue')['default']
EventList: typeof import('./src/components/events/EventList.vue')['default']
Expand Down
26 changes: 9 additions & 17 deletions src/components/FilterSidebar.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
<script setup lang="ts">
</script>


<template>
<aside>

<div id="filterbox">
<p>[filtern]</p>
</div>

</aside>
<BButton @click="click">Show OffCanvas</BButton>
<BOffcanvas v-model="show" />
</template>

<script setup lang="ts">
import {ref} from 'vue'
const show = ref(false)

<style scoped>
</style>
const click = () => {
show.value = !show.value
}
</script>
2 changes: 0 additions & 2 deletions src/components/SearchBar.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<template>
<div class="row justify-content-center align-items-center g-2">
<div class="col">
<div class="mb-3">
<BInputGroup>
<template #append>
<BButton>Suche</BButton>
Expand All @@ -13,7 +12,6 @@
@input="input => { emit('searchQuery', input) }"
/>
</BInputGroup>
</div>
</div>
</div>
</template>
Expand Down
31 changes: 31 additions & 0 deletions src/views/ClubListView.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<script setup lang="ts">
import FilterSidebar from '@/components/FilterSidebar.vue'
import SearchBar from '@/components/SearchBar.vue'
import type { BRow } from 'bootstrap-vue-next'
import { ref } from 'vue'
const searchQuery = ref('')
const entries = ref([ "test", '1234', '567'])
</script>

<template>

<BContainer>
<BRow>
<BCol>
<FilterSidebar />
</BCol >
<!-- <BCol>
<SearchBar :searchQuery="searchQuery" @searchQuery="searchQuery = $event" />
</BCol> -->
<!-- <BCol>
icon
</BCol > -->
</BRow>
<BRow lg = "12">
<HomeContent :entries="entries" :foundEntry="searchQuery" />
</BRow>
</BContainer>

</template>

0 comments on commit 0c08969

Please sign in to comment.