it-tools/pages/index.vue

69 lines
1.5 KiB
Vue
Raw Normal View History

2020-12-21 22:06:13 +01:00
<template>
<v-row justify="center" align="center">
2021-03-14 21:20:35 +01:00
<v-col cols="12" sm="12" md="12">
2021-02-06 11:14:28 +01:00
<h1>Yolo</h1>
2021-03-14 20:11:39 +01:00
<v-row>
2021-03-14 21:20:35 +01:00
<v-col
2021-05-28 19:44:27 +02:00
v-for="(items, section) in $toolList"
2021-03-14 23:37:57 +01:00
:key="section"
2021-03-14 21:20:35 +01:00
cols="12"
sm="12"
md="6"
2021-05-21 22:50:35 +02:00
lg="4"
2021-03-14 21:20:35 +01:00
>
<v-card>
<v-card-title>{{ section }}</v-card-title>
<v-card-text>
<v-list>
<v-list-item
v-for="(item, i) in items"
:key="i"
:to="item.path"
router
exact
>
<v-list-item-action>
2021-05-28 19:44:27 +02:00
<v-icon>{{ item.icon }}</v-icon>
2021-03-14 21:20:35 +01:00
</v-list-item-action>
<v-list-item-content>
2021-05-28 19:44:27 +02:00
<v-list-item-title v-text="item.title" />
2021-03-14 21:20:35 +01:00
</v-list-item-content>
</v-list-item>
</v-list>
</v-card-text>
</v-card>
</v-col>
</v-row>
2020-12-21 22:06:13 +01:00
</v-col>
</v-row>
</template>
<script>
2021-05-28 19:44:27 +02:00
import {Component, Vue} from 'nuxt-property-decorator'
2020-12-21 22:06:13 +01:00
2021-03-14 20:11:39 +01:00
@Component
2021-05-28 19:44:27 +02:00
export default class Index extends Vue {
2020-12-21 22:06:13 +01:00
}
</script>
2020-12-21 22:49:27 +01:00
2021-03-14 21:20:35 +01:00
<style scoped lang="less">
.v-list {
background: transparent !important;
}
2021-03-14 20:11:39 +01:00
2021-03-14 21:20:35 +01:00
.v-card__title {
background: var(--v-primary-base) !important;
background: linear-gradient(90deg, rgba(37, 99, 108, 1) 0%, rgba(59, 149, 111, 1) 60%, rgba(71, 177, 113, 1) 100%) !important;
padding-left: 33px;
}
2021-03-14 20:11:39 +01:00
2021-03-14 21:20:35 +01:00
.v-list-item {
padding-left: 31px;
}
2020-12-21 22:49:27 +01:00
2021-03-14 21:20:35 +01:00
.v-card__text {
padding: 0;
}
2020-12-21 22:49:27 +01:00
</style>