Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar73a committed Nov 27, 2023
2 parents 73caa5e + 5ff11a4 commit f897df9
Show file tree
Hide file tree
Showing 26 changed files with 281 additions and 290 deletions.
18 changes: 18 additions & 0 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,37 @@ export {}

declare module 'vue' {
export interface GlobalComponents {
BarsItem: typeof import('./src/components/bars/barsItem.vue')['default']
BarsList: typeof import('./src/components/bars/barsList.vue')['default']
BBreadcrumb: typeof import('bootstrap-vue-next')['BBreadcrumb']
BBreadcrumbItem: typeof import('bootstrap-vue-next')['BBreadcrumbItem']
BButton: typeof import('bootstrap-vue-next')['BButton']
BCard: typeof import('bootstrap-vue-next')['BCard']
BCardGroup: typeof import('bootstrap-vue-next')['BCardGroup']
BCardText: typeof import('bootstrap-vue-next')['BCardText']
BCardTitle: typeof import('bootstrap-vue-next')['BCardTitle']
BCol: typeof import('bootstrap-vue-next')['BCol']
BCollapse: typeof import('bootstrap-vue-next')['BCollapse']
BContainer: typeof import('bootstrap-vue-next')['BContainer']
BFormGroup: typeof import('bootstrap-vue-next')['BFormGroup']
BFormInput: typeof import('bootstrap-vue-next')['BFormInput']
BImg: typeof import('bootstrap-vue-next')['BImg']
BInputGroup: typeof import('bootstrap-vue-next')['BInputGroup']
BNavbar: typeof import('bootstrap-vue-next')['BNavbar']
BNavbarBrand: typeof import('bootstrap-vue-next')['BNavbarBrand']
BNavbarNav: typeof import('bootstrap-vue-next')['BNavbarNav']
BNavbarToggle: typeof import('bootstrap-vue-next')['BNavbarToggle']
BNavItem: typeof import('bootstrap-vue-next')['BNavItem']
BNavText: typeof import('bootstrap-vue-next')['BNavText']
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']
Club1: typeof import('./src/components/club/Club1.vue')['default']
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 All @@ -43,4 +58,7 @@ declare module 'vue' {
TheWelcome: typeof import('./src/components/TheWelcome.vue')['default']
WelcomeItem: typeof import('./src/components/WelcomeItem.vue')['default']
}
export interface ComponentCustomProperties {
vBColorMode: typeof import('bootstrap-vue-next')['vBColorMode']
}
}
2 changes: 0 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script lang="ts">
import { RouterView } from 'vue-router'
import LocaleeHeader from "./components/LocaleeHeader.vue"
import { useEventItemStore } from './stores/eventItem';
import { useClubItemStore } from './stores/clubItem';
Expand Down
4 changes: 2 additions & 2 deletions src/components/ContentItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<slot name="text"></slot>

<BCard
title= "Test"
title= "test"
img-src="https://picsum.photos/600/300/?image=25"
img-alt="Image"
img-top
Expand All @@ -13,7 +13,7 @@
>
<BCardText>
Some quick example text to build on the card title and make up the bulk of the card's
content.
content. {{ title }}
</BCardText>

<BButton href="#" variant="primary">Go somewhere</BButton>
Expand Down
41 changes: 0 additions & 41 deletions src/components/HelloWorld.vue

This file was deleted.

11 changes: 7 additions & 4 deletions src/components/HomeContent.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
<template>
<div id="contentbox">
<div>

<!--
<div class="item entry" v-for="entry in filteredList()" :key="entry">
{{entry}}
</div>
-->

<ContentItem title="test"></ContentItem>

<ContentItem></ContentItem>
<h2>Clubs</h2>
<ClubList />


<h2>Events</h2>
<EventList />

</div>
Expand All @@ -19,6 +20,8 @@
<script setup lang="ts">
import ContentItem from './ContentItem.vue';
import EventList from './events/EventList.vue'
import ClubList from './club/ClubList.vue'
const props = defineProps(['foundEntry', 'entries'])
Expand Down
15 changes: 12 additions & 3 deletions src/components/LocaleeHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@


<template>
<div id="header">
<h1>Localee</h1>
</div>
<BNavbar toggleable="sm" variant="primary" v-b-color-mode="'dark'">
<BNavbarBrand tag="h1" class="mb-0" to="/">Localee</BNavbarBrand>

<BNavbarToggle target="nav-text-collapse" />

<BCollapse id="nav-text-collapse" is-nav>
<BNavbarNav>
<BNavItem to="/club">Clubs</BNavItem>
<BNavItem to="/about">Über uns</BNavItem>
</BNavbarNav>
</BCollapse>
</BNavbar>
</template>


Expand Down
88 changes: 0 additions & 88 deletions src/components/TheWelcome.vue

This file was deleted.

87 changes: 0 additions & 87 deletions src/components/WelcomeItem.vue

This file was deleted.

20 changes: 20 additions & 0 deletions src/components/bars/barsItem.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<template>
<b-card img-src="https://picsum.photos/300/200" img-top>
<b-card-title>{{ event.name }}</b-card-title>
<b-card-text>Lore ipsum </b-card-text>
</b-card>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
export default defineComponent({
name: 'EventItem',
props: {
event: {
type: Object,
required: true,
}
}
})
</script>
Loading

0 comments on commit f897df9

Please sign in to comment.