it-tools/pages/index.vue

89 lines
2.2 KiB
Vue
Raw Normal View History

2020-12-21 22:06:13 +01:00
<template>
<v-row justify="center" align="center">
2021-09-20 17:37:10 +02:00
<v-col lg="1" />
<v-col lg="4">
<div>
<HelloSvg />
</div>
2021-03-14 20:11:39 +01:00
2021-09-20 17:37:10 +02:00
<v-card>
<v-card-title>IT Tools</v-card-title>
<v-card-text>
<h2>Hello, World!</h2>
Welcome to IT-Tools! This wonderful website, originally created with by Corentin Thomasset, aggregate a set
of useful tools that every developer may need once in a while. And don't forget to add IT-Tools to your
shortcut bar (press Ctrl + D).
</v-card-text>
</v-card>
</v-col>
<v-col lg="1" />
<v-col cols="12" sm="12" md="12" lg="5">
<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-09-20 17:37:10 +02:00
lg="6"
class="tool-group"
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>
2021-09-20 17:37:10 +02:00
<v-col lg="1" />
2020-12-21 22:06:13 +01:00
</v-row>
</template>
<script>
2021-05-28 19:44:27 +02:00
import {Component, Vue} from 'nuxt-property-decorator'
2021-09-20 17:37:10 +02:00
import HelloSvg from '~/assets/hello.svg?inline'
2020-12-21 22:06:13 +01:00
2021-09-20 17:37:10 +02:00
@Component({components: {HelloSvg}})
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-09-20 17:37:10 +02:00
.tool-group {
.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-09-20 17:37:10 +02:00
.v-list-item {
padding-left: 31px;
}
2020-12-21 22:49:27 +01:00
2021-09-20 17:37:10 +02:00
.v-card__text {
padding: 0;
}
2021-03-14 21:20:35 +01:00
}
2020-12-21 22:49:27 +01:00
</style>