Compare commits
3 Commits
b2926dd7ba
...
2e232a95fd
Author | SHA1 | Date |
---|---|---|
|
2e232a95fd | |
|
375fb895a5 | |
|
e7e937e7be |
|
@ -170,7 +170,7 @@ import useToastify from './composables/useToastify.js';
|
||||||
import useFields from './composables/useFields.js';
|
import useFields from './composables/useFields.js';
|
||||||
|
|
||||||
const {success, errorFromResponse} = useToastify();
|
const {success, errorFromResponse} = useToastify();
|
||||||
const finished = ref(true);
|
const finished = ref(false);
|
||||||
|
|
||||||
const emits = defineEmits(['addSection', 'editSection', 'deleteSection', 'addField', 'editField', 'deleteField', 'active']);
|
const emits = defineEmits(['addSection', 'editSection', 'deleteSection', 'addField', 'editField', 'deleteField', 'active']);
|
||||||
|
|
||||||
|
@ -256,7 +256,7 @@ function reload() {
|
||||||
reload();
|
reload();
|
||||||
watch(
|
watch(
|
||||||
() => props.value,
|
() => props.value,
|
||||||
(value) => reload()
|
(value) => reload(),
|
||||||
);
|
);
|
||||||
|
|
||||||
const {back, next, backable, nextable} = useNav(active, v.value.sections.length);
|
const {back, next, backable, nextable} = useNav(active, v.value.sections.length);
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<span class="text-sm font-semibold text-gray-800 ml-2" v-text="event.dates"></span>
|
<span class="text-sm font-semibold text-gray-800 ml-2" v-text="event.dates"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="grow text-sm leading-normal text-gray-800 mt-3" v-text="event.excerpt"></div>
|
<div class="grow text-sm leading-normal text-gray-800 mt-3" v-text="event.excerpt"></div>
|
||||||
<div class="bg-primaryfg text-primary focus:ring-2 text-font rounded-lg text-xs sm:text-sm py-1 text-center mt-3">Zur Veranstaltung</div>
|
<div class="text-primary bg-font focus:ring-2 text-font rounded-lg text-xs sm:text-sm py-1 text-center mt-3">Zur Veranstaltung</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<div class="flex mt-3">
|
<div class="flex mt-3">
|
||||||
<a
|
<a
|
||||||
:href="registerUrl.replace(':slug', event.slug)"
|
:href="registerUrl.replace(':slug', event.slug)"
|
||||||
class="px-3 py-2 text-xs font-nunito font-semibold rounded sm:px-4 sm:py-2 sm:text-sm sm:rounded focus:ring-2 focus:ring-offset-1 focus:ring-primaryfg focus:outline-none bg-primary text-primaryfg"
|
class="px-3 py-2 text-xs font-nunito font-semibold rounded sm:px-4 sm:py-2 sm:text-sm sm:rounded focus:ring-2 focus:ring-offset-1 focus:ring-font focus:outline-none bg-primary text-font"
|
||||||
>
|
>
|
||||||
Zur Anmeldung
|
Zur Anmeldung
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -10,9 +10,6 @@ export default {
|
||||||
primary: {
|
primary: {
|
||||||
DEFAULT: 'var(--primary)',
|
DEFAULT: 'var(--primary)',
|
||||||
},
|
},
|
||||||
primaryfg: {
|
|
||||||
DEFAULT: 'var(--primaryfg)',
|
|
||||||
},
|
|
||||||
secondary: {
|
secondary: {
|
||||||
DEFAULT: 'var(--secondary)',
|
DEFAULT: 'var(--secondary)',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue