Code cleanup
This commit is contained in:
@@ -25,10 +25,8 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
async fetchFile() {
|
async fetchFile() {
|
||||||
try {
|
try {
|
||||||
console.log(this.hash);
|
|
||||||
const response = await axios.get('/files/hash/' + this.hash);
|
const response = await axios.get('/files/hash/' + this.hash);
|
||||||
this.title = response.data.title;
|
this.title = response.data.title;
|
||||||
console.log('Fetched files:', response.data.events);
|
|
||||||
this.events = response.data.events;
|
this.events = response.data.events;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Fehler beim Abrufen der Events', error);
|
console.error('Fehler beim Abrufen der Events', error);
|
||||||
|
|||||||
@@ -105,7 +105,6 @@ export default {
|
|||||||
if (placeholder) {
|
if (placeholder) {
|
||||||
const app = createApp({
|
const app = createApp({
|
||||||
render() {
|
render() {
|
||||||
console.log('RC', config)
|
|
||||||
return h(EventRender, {config: JSON.parse(config) });
|
return h(EventRender, {config: JSON.parse(config) });
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped></style>
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div>
|
|
||||||
<h2></h2>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'ContactsContent',
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div>
|
|
||||||
<h2></h2>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'DaycareCentersContent',
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
@@ -14,7 +14,6 @@
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
currentLink() {
|
currentLink() {
|
||||||
console.log(this.$route.path);
|
|
||||||
return this.$route.path;
|
return this.$route.path;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div>
|
|
||||||
<h2></h2>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'MeetingPointContent',
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div>
|
|
||||||
<h2>Miriams Wunderkiste</h2>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'MiriamsWonderboxContent',
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div>
|
|
||||||
<h2></h2>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'MusicContent',
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div>
|
|
||||||
<h2></h2>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'DaycareCentersContent',
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div>
|
|
||||||
<h2></h2>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'WorshipServicesContent',
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'KitaAmBuegel',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped></style>
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'KitaAmBuegel',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped></style>
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'KitaAmBuegel',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped></style>
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped></style>
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped></style>
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="some-page">
|
|
||||||
<ContentComponent :link="currentLink" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import ContentComponent from '@/components/ContentComponent.vue';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
name: 'SomePage',
|
|
||||||
components: {
|
|
||||||
ContentComponent,
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
currentLink() {
|
|
||||||
return this.$route.path;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
Reference in New Issue
Block a user