64 lines
2.3 KiB
Vue
64 lines
2.3 KiB
Vue
|
<template>
|
||
|
<div class="mx-auto max-w-lg">
|
||
|
<h2 class="text-base font-semibold leading-6 text-gray-900">Create your first project</h2>
|
||
|
<p class="mt-1 text-sm text-gray-500">Get started by selecting a template or start from an empty project.</p>
|
||
|
<ul role="list" class="mt-6 divide-y divide-gray-200 border-b border-t border-gray-200">
|
||
|
<li v-for="(item, itemIdx) in items" :key="itemIdx">
|
||
|
<div class="group relative flex items-start space-x-3 py-4">
|
||
|
<div class="flex-shrink-0">
|
||
|
<span :class="[item.iconColor, 'inline-flex h-10 w-10 items-center justify-center rounded-lg']">
|
||
|
<component :is="item.icon" class="h-6 w-6 text-white" aria-hidden="true" />
|
||
|
</span>
|
||
|
</div>
|
||
|
<div class="min-w-0 flex-1">
|
||
|
<div class="text-sm font-medium text-gray-900">
|
||
|
<a :href="item.href">
|
||
|
<span class="absolute inset-0" aria-hidden="true" />
|
||
|
{{ item.name }}
|
||
|
</a>
|
||
|
</div>
|
||
|
<p class="text-sm text-gray-500">{{ item.description }}</p>
|
||
|
</div>
|
||
|
<div class="flex-shrink-0 self-center">
|
||
|
<ChevronRightIcon class="h-5 w-5 text-gray-400 group-hover:text-gray-500" aria-hidden="true" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<div class="mt-6 flex">
|
||
|
<a href="#" class="text-sm font-medium text-indigo-600 hover:text-indigo-500">
|
||
|
Or start from an empty project
|
||
|
<span aria-hidden="true"> →</span>
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script setup>
|
||
|
import { ChevronRightIcon } from '@heroicons/vue/20/solid'
|
||
|
import { CalendarIcon, CommandLineIcon, MegaphoneIcon } from '@heroicons/vue/24/outline'
|
||
|
|
||
|
const items = [
|
||
|
{
|
||
|
name: 'Marketing Campaign',
|
||
|
description: 'I think the kids call these memes these days.',
|
||
|
href: '#',
|
||
|
iconColor: 'bg-pink-500',
|
||
|
icon: MegaphoneIcon,
|
||
|
},
|
||
|
{
|
||
|
name: 'Engineering Project',
|
||
|
description: 'Something really expensive that will ultimately get cancelled.',
|
||
|
href: '#',
|
||
|
iconColor: 'bg-purple-500',
|
||
|
icon: CommandLineIcon,
|
||
|
},
|
||
|
{
|
||
|
name: 'Event',
|
||
|
description: 'Like a conference all about you that no one will care about.',
|
||
|
href: '#',
|
||
|
iconColor: 'bg-yellow-500',
|
||
|
icon: CalendarIcon,
|
||
|
},
|
||
|
]
|
||
|
</script>
|