mirror of https://github.com/nocodb/nocodb
braks
2 years ago
6 changed files with 77 additions and 3 deletions
@ -1,3 +1,34 @@
|
||||
<script lang="ts" setup> |
||||
import { ref, useDropZone } from '#imports' |
||||
|
||||
const el = ref<HTMLDivElement>() |
||||
|
||||
const { isOverDropZone } = useDropZone(el, onDrop) |
||||
|
||||
function onDrop() { |
||||
console.log('onDrop') |
||||
} |
||||
</script> |
||||
|
||||
<template> |
||||
<div class="h-full w-full prose text-3xl text-gray-400 flex items-center justify-center">Welcome to NocoDB!</div> |
||||
<div ref="el" class="h-full w-full text-gray-400 flex items-center justify-center relative"> |
||||
<general-overlay |
||||
v-model="isOverDropZone" |
||||
inline |
||||
class="text-white text-3xl shadow-pink-500 shadow-inner bg-gray-700/75 flex items-center justify-center gap-2 backdrop-blur-xl" |
||||
> |
||||
<MaterialSymbolsFileCopyOutline class="text-pink-500" /> Drop here |
||||
</general-overlay> |
||||
|
||||
<div class="flex flex-col gap-6 items-center justify-center md:w-1/2 mx-auto text-center"> |
||||
<div class="text-3xl">Welcome to NocoDB!</div> |
||||
|
||||
<div class="flex items-center flex-wrap justify-center gap-2 prose-lg leading-8"> |
||||
To get started, either drop a <span class="flex items-center gap-2"><PhFileCsv /> CSV</span>, |
||||
<span class="flex items-center gap-2"><BiFiletypeJson /> JSON</span> or |
||||
<span class="flex items-center gap-2"><BiFiletypeXlsx /> Excel</span> file in here or click the button in the top-left of |
||||
this page. |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</template> |
||||
|
Loading…
Reference in new issue