Skip to content
Snippets Groups Projects
Verified Commit 1a7b9613 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

[Vue] Optimize components for about page

parent b5a7c868
No related branches found
No related tags found
1 merge request!1095[Vue] About page
<template>
<div class="mt-4 mb-4">
<v-row class="mb-3">
<v-col cols="12">
<v-card class="d-flex flex-column">
<v-card-title>{{ $t("about.about_aleksis") }}</v-card-title>
<v-card-text>
<p class="text-body-1">
{{ $t("about.about_aleksis_1") }}
</p>
<p class="text-body-1">
{{ $t("about.about_aleksis_2") }}
</p>
</v-card-text>
<v-spacer></v-spacer>
<v-card-actions>
<v-btn text color="primary" href="https://aleksis.org/">{{ $t("about.website_of_aleksis") }}</v-btn>
<v-btn text color="primary" href="https://edugit.org/AlekSIS/">{{ $t("about.source_code") }}</v-btn>
</v-card-actions>
</v-card>
</v-col>
<v-col cols="12">
<v-card class="d-flex flex-column">
<v-card-title>{{ $t("about.licence_information") }}</v-card-title>
<v-card-text>
<p>
{{ $t("about.licence_information_1") }}
</p>
<p>
<v-chip color="green" text-color="white" small>{{ $t("about.free_open_source_licence") }}</v-chip>
<v-chip color="orange" text-color="white" small>{{ $t("about.other_licence") }}</v-chip>
</p>
</v-card-text>
<v-spacer></v-spacer>
<v-card-actions>
<v-btn text color="primary" href="https://eupl.eu">{{ $t("about.full_licence_text") }}</v-btn>
<v-btn text color="primary"
href="https://joinup.ec.europa.eu/collection/eupl/guidelines-users-and-developers">
{{ $t("about.more_information_eupl") }}
</v-btn>
</v-card-actions>
</v-card>
</v-col>
</v-row>
<about-aleksis></about-aleksis>
<installed-apps-list/>
</div>
</template>
<script>
import InstalledAppsList from "./InstalledAppsList.vue";
import AboutAleksis from "./AboutAleksis.vue";
export default {
name: "About",
components: {InstalledAppsList}
components: {AboutAleksis, InstalledAppsList}
}
</script>
<template>
<v-row class="mb-3">
<v-col cols="12">
<v-card class="d-flex flex-column">
<v-card-title>{{ $t("about.about_aleksis") }}</v-card-title>
<v-card-text>
<p class="text-body-1">
{{ $t("about.about_aleksis_1") }}
</p>
<p class="text-body-1">
{{ $t("about.about_aleksis_2") }}
</p>
</v-card-text>
<v-spacer></v-spacer>
<v-card-actions>
<v-btn text color="primary" href="https://aleksis.org/">{{ $t("about.website_of_aleksis") }}</v-btn>
<v-btn text color="primary" href="https://edugit.org/AlekSIS/">{{ $t("about.source_code") }}</v-btn>
</v-card-actions>
</v-card>
</v-col>
<v-col cols="12">
<v-card class="d-flex flex-column">
<v-card-title>{{ $t("about.licence_information") }}</v-card-title>
<v-card-text>
<p>
{{ $t("about.licence_information_1") }}
</p>
<p>
<v-chip color="green" text-color="white" small>{{ $t("about.free_open_source_licence") }}</v-chip>
<v-chip color="orange" text-color="white" small>{{ $t("about.other_licence") }}</v-chip>
</p>
</v-card-text>
<v-spacer></v-spacer>
<v-card-actions>
<v-btn text color="primary" href="https://eupl.eu">{{ $t("about.full_licence_text") }}</v-btn>
<v-btn text color="primary"
href="https://joinup.ec.europa.eu/collection/eupl/guidelines-users-and-developers">
{{ $t("about.more_information_eupl") }}
</v-btn>
</v-card-actions>
</v-card>
</v-col>
</v-row>
</template>
<script>
export default {
name: "AboutAleksis"
}
</script>
<style scoped>
</style>
......@@ -60,6 +60,7 @@
color="primary"
text
:href="url.url"
:key="url.url"
>
{{ url.name }}
</v-btn>
......
......@@ -4,7 +4,7 @@
>
<template v-slot="{ result: { error, data }, isLoading }">
<v-row>
<v-col v-if="isLoading" v-for="idx in 3" cols="12" md="6" lg="6" xl="4" class="d-flex align-stretch">
<v-col v-if="isLoading" v-for="idx in 3" :key="idx" cols="12" md="6" lg="6" xl="4" class="d-flex align-stretch">
<v-card class="d-flex flex-column flex-grow-1 pa-4">
<v-skeleton-loader
type="heading, actions, text@5"
......@@ -12,7 +12,7 @@
</v-card>
</v-col>
<InstalledAppCard
<installed-app-card
v-for="app in data.installedApps"
:key="app.name"
:app="app"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment