2022-03-31 00:33:29 +02:00
|
|
|
<script setup lang="ts">
|
2022-04-05 23:23:08 +02:00
|
|
|
import { toolsWithCategory } from '@/tools';
|
|
|
|
import ToolCard from '../components/ToolCard.vue';
|
2022-04-19 13:19:44 +02:00
|
|
|
import { useHead } from '@vueuse/head';
|
|
|
|
|
2022-05-30 20:35:22 +02:00
|
|
|
useHead({ title: 'IT Tools - Handy online tools for developers' });
|
2022-03-31 00:33:29 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-04-15 23:10:47 +02:00
|
|
|
<div class="home-page">
|
2022-04-22 23:31:40 +02:00
|
|
|
<n-grid x-gap="12" y-gap="12" cols="1 400:2 800:3 1200:4 2000:8">
|
|
|
|
<n-gi v-for="tool in toolsWithCategory" :key="tool.name">
|
2022-04-15 23:10:47 +02:00
|
|
|
<tool-card :tool="tool" />
|
|
|
|
</n-gi>
|
|
|
|
</n-grid>
|
|
|
|
</div>
|
2022-03-31 00:33:29 +02:00
|
|
|
</template>
|
|
|
|
|
2022-04-05 23:23:08 +02:00
|
|
|
<style scoped lang="less">
|
|
|
|
.home-page {
|
2022-04-22 23:31:40 +02:00
|
|
|
padding-top: 50px;
|
2022-04-05 23:23:08 +02:00
|
|
|
}
|
2022-04-22 23:31:40 +02:00
|
|
|
</style>
|