feat: Add Welcome Page
parent
a3741580b2
commit
5c1deb5e2d
83
app.vue
83
app.vue
|
|
@ -1,31 +1,64 @@
|
|||
<template>
|
||||
<div class="flex h-screen justify-center align-middle">
|
||||
<div class="m-32 w-full rounded bg-white p-4">
|
||||
<div>
|
||||
<h1 class="text-5xl font-bold">Nuxt 3 - Starterkit</h1>
|
||||
</div>
|
||||
<div class="container mt-8">
|
||||
<ul class="text-3xl">
|
||||
<li class="space-x-4">
|
||||
<a class="text-primary-600 hover:text-primary-700 active:text-primary-500" href="https://orm.drizzle.team/" target="_blank">Drizzle:</a><span>Database ORM</span>
|
||||
</li>
|
||||
<li class="space-x-4">
|
||||
<a class="text-primary-600 hover:text-primary-700 active:text-primary-500" href="https://vueuse.org/guide/" target="_blank">VueUse:</a><span>Utility functions</span>
|
||||
</li>
|
||||
<li class="space-x-4">
|
||||
<a class="text-primary-600 hover:text-primary-700 active:text-primary-500" href="https://github.com/nuxt-modules/icon" target="_blank">Nuxt Icons:</a><span>Iconify integration</span>
|
||||
</li>
|
||||
<li class="space-x-4">
|
||||
<a class="text-primary-600 hover:text-primary-700 active:text-primary-500" href="https://fonts.nuxt.com/" target="_blank">Nuxt Fonts:</a><span>Plug-and-play fonts optimization for Nuxt apps</span>
|
||||
</li>
|
||||
<li class="space-x-4">
|
||||
<a class="text-primary-600 hover:text-primary-700 active:text-primary-500" href="https://tailwindcss.com/docs/installation" target="_blank">TailwindCSS:</a><span>CSS Framework</span>
|
||||
</li>
|
||||
<li class="space-x-4">
|
||||
<a class="text-primary-600 hover:text-primary-700 active:text-primary-500" href="https://eslint.org/docs/latest/" target="_blank">ESLint:</a><span>Linting utility</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="bg-gray-900 py-24 sm:py-32">
|
||||
<div class="mx-auto max-w-7xl px-6 lg:px-8">
|
||||
<div class="mx-auto max-w-2xl lg:mx-0">
|
||||
<h2 class="text-base font-semibold leading-7 text-primary-400">Opinionated Starterkit</h2>
|
||||
<p class="mt-2 text-3xl font-bold tracking-tight text-white sm:text-4xl">Nuxt 3 | SQLite Drizzle</p>
|
||||
<p class="mt-6 text-lg leading-8 text-gray-300">A simple starting Point for your next Project.</p>
|
||||
</div>
|
||||
<dl class="mx-auto mt-16 grid max-w-2xl grid-cols-1 gap-8 text-base leading-7 text-gray-300 sm:grid-cols-2 lg:mx-0 lg:max-w-none lg:gap-x-16">
|
||||
<div v-for="feature in features" :key="feature.name" class="relative pl-9">
|
||||
<dt class="inline font-semibold text-white">
|
||||
<icon :name="feature.icon" class="absolute left-1 top-1 size-5 text-primary-500" aria-hidden="true" />
|
||||
<a :href="feature.href" target="_blank" referrerpolicy="no-referrer">{{ feature.name }}</a>
|
||||
</dt>
|
||||
{{ ' ' }}
|
||||
<dd class="inline">{{ feature.description }}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const features = [
|
||||
{
|
||||
name: 'Drizzle.',
|
||||
description: 'A headless Typescript ORM. If you know SQL — you know Drizzle.',
|
||||
icon: 'simple-icons:drizzle',
|
||||
href: 'https://orm.drizzle.team/',
|
||||
},
|
||||
{
|
||||
name: 'VueUse.',
|
||||
description: 'VueUse is a collection of essential Vue Composition Utilities.',
|
||||
icon: 'logos:vueuse',
|
||||
href: 'https://vueuse.org/',
|
||||
},
|
||||
{
|
||||
name: 'TailwindCSS.',
|
||||
description: 'A utility-first CSS framework packed with classes like flex, pt-4, text-center and rotate-90.',
|
||||
icon: 'logos:tailwindcss-icon',
|
||||
href: 'https://tailwindcss.com/',
|
||||
},
|
||||
{
|
||||
name: 'Nuxt Icons.',
|
||||
description: 'Lets you use any Icon supported by the Iconify project.',
|
||||
icon: 'simple-icons:iconify',
|
||||
href: 'https://github.com/nuxt-modules/icon',
|
||||
},
|
||||
{
|
||||
name: 'Nuxt Fonts.',
|
||||
description: 'Automatically import Google Fonts into your Nuxt.js project.',
|
||||
icon: 'tabler:typography',
|
||||
href: 'https://fonts.nuxt.com/',
|
||||
},
|
||||
{
|
||||
name: 'ESLint.',
|
||||
description: 'Find and fix problems in your JavaScript code.',
|
||||
icon: 'logos:eslint',
|
||||
href: 'https://eslint.org/',
|
||||
},
|
||||
]
|
||||
</script>
|
||||
|
|
@ -6,5 +6,5 @@ html {
|
|||
}
|
||||
|
||||
body {
|
||||
@apply bg-slate-900;
|
||||
@apply bg-gray-900;
|
||||
}
|
||||
Loading…
Reference in New Issue