half broken dropzone component to be used later fr
This commit is contained in:
parent
39005e75e0
commit
7be62fcbb2
4 changed files with 99 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
import { component$, useVisibleTask$ } from "@builder.io/qwik";
|
||||
import { routeLoader$, type DocumentHead } from "@builder.io/qwik-city";
|
||||
import Controlbar from "~/components/Controlbar";
|
||||
// import Dropzone from "~/components/Dropzone";
|
||||
import File from "~/components/File";
|
||||
import { SolarUploadLinear, SvgSpinnersBarsRotateFade } from "~/components/Icons";
|
||||
import { useNanostore$ } from "~/hooks/nanostores";
|
||||
|
@ -28,6 +29,7 @@ export default component$(() => {
|
|||
|
||||
return (
|
||||
<>
|
||||
{/* <Dropzone /> */}
|
||||
<Controlbar />
|
||||
{!loaded.value ? (
|
||||
<div class="absolute w-full h-screen flex justify-center items-center flex-col">
|
||||
|
@ -44,7 +46,7 @@ export default component$(() => {
|
|||
</div>
|
||||
)
|
||||
: (
|
||||
<div class="grid grid-cols-4 gap-4 p-4 mb-18">
|
||||
<div class="grid grid-cols-4 gap-4 p-4 mb-16">
|
||||
{files.value.map((file) => (
|
||||
<File key={file.Name} file={file} />
|
||||
))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue