adrema/resources/js/views/Home.vue

27 lines
628 B
Vue
Raw Normal View History

2020-04-10 20:32:12 +02:00
<template>
<div class="gap-6 grid-cols-4 grid p-6">
2021-04-11 00:57:47 +02:00
<!--
2020-04-10 20:32:12 +02:00
<inertia-link v-for="block, index in blocks" class="items-center text-gray-800 bg-gray-100 hover:bg-gray-300 p-6 shadow flex flex-col" :href="block.href" :key="index">
<span class="flex-grow mb-4">
<span :class="block.icon" class="fa fa-lg text-gray-700"></span>
</span>
<span v-html="block.label"></span>
</inertia-link>
2021-04-11 00:57:47 +02:00
-->
2020-04-10 20:32:12 +02:00
</div>
</template>
<script>
import App from '../layouts/App';
export default {
layout: App,
props: {
blocks: {}
}
};
</script>