mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-05 11:19:14 +02:00
feat:#24 lint and format
This commit is contained in:
@@ -61,8 +61,8 @@ const items = computed(() => [
|
||||
:icon="item.icon"
|
||||
text
|
||||
severity="secondary"
|
||||
@click="navigate"
|
||||
:class="item.route === $route.path ? 'active' : ''"
|
||||
@click="navigate"
|
||||
/>
|
||||
</router-link>
|
||||
</template>
|
||||
|
@@ -106,10 +106,14 @@ function toggleModule(module: Module) {
|
||||
<Button
|
||||
class="w-9rem align-self-end my-2"
|
||||
:icon="store.hasModule(item) ? 'pi pi-times' : 'pi pi-plus'"
|
||||
:label="store.hasModule(item) ? $t('moduleSelection.selected') : $t('moduleSelection.unselected')"
|
||||
@click="toggleModule(item)"
|
||||
:label="
|
||||
store.hasModule(item)
|
||||
? $t('moduleSelection.selected')
|
||||
: $t('moduleSelection.unselected')
|
||||
"
|
||||
outlined
|
||||
:severity="store.hasModule(item) ? '' : 'secondary'"
|
||||
@click="toggleModule(item)"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -24,11 +24,10 @@ const hasContent = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div
|
||||
class="flex flex-column align-items-center mt-0"
|
||||
>
|
||||
<div class="flex align-items-center justify-content-center gap-3 mx-2 mb-4 transition-rolldown"
|
||||
:class="{'md:mt-8': hideContent}"
|
||||
<div class="flex flex-column align-items-center mt-0">
|
||||
<div
|
||||
class="flex align-items-center justify-content-center gap-3 mx-2 mb-4 transition-rolldown"
|
||||
:class="{ 'md:mt-8': hideContent }"
|
||||
>
|
||||
<h3 class="text-4xl">
|
||||
{{ headline }}
|
||||
@@ -74,7 +73,7 @@ const hasContent = computed(() => {
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.transition-rolldown {
|
||||
transition: margin-top 0.5s ease-in-out;
|
||||
}
|
||||
.transition-rolldown {
|
||||
transition: margin-top 0.5s ease-in-out;
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user