aboutsummaryrefslogtreecommitdiff
path: root/src/pages/Home.page.vue
blob: 830c334d4536ff1b27ac319b9a897fefb19b0e31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<script setup lang="ts">
import { toolsWithCategory } from '@/tools';
import ToolCard from '../components/ToolCard.vue';
</script>

<template>
    <div class="home-page">
        <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">
                <tool-card :tool="tool" />
            </n-gi>
        </n-grid>
    </div>
</template>


<style scoped lang="less">
.home-page {
    padding-top: 50px;
}
</style>