From 48c4500efa724ab354adac45197f219c7483a451 Mon Sep 17 00:00:00 2001 From: trobonox <57040351+trobonox@users.noreply.github.com> Date: Sat, 12 Aug 2023 20:00:46 +0300 Subject: [PATCH 1/4] styles: adjust file action icons --- src/routes/dashboard/(overview).tsx | 93 +++++++++++++---------------- 1 file changed, 40 insertions(+), 53 deletions(-) diff --git a/src/routes/dashboard/(overview).tsx b/src/routes/dashboard/(overview).tsx index 99e3b57..254eaf9 100644 --- a/src/routes/dashboard/(overview).tsx +++ b/src/routes/dashboard/(overview).tsx @@ -26,6 +26,7 @@ import IconFileImageOutline from "~icons/mdi/file-image-outline" import IconFileDownloadOutline from "~icons/mdi/file-download-outline" import IconDeleteOutline from "~icons/mdi/delete-outline" import IconHomeExportOutline from "~icons/mdi/home-export-outline" +import IconDotsHorizontal from "~icons/mdi/dots-horizontal" import cattoDriveLogo from "@/assets/icon/logo.png"; @@ -170,27 +171,12 @@ const Page: Component = () => { My Workspace
- - @@ -200,24 +186,6 @@ const Page: Component = () => { New Folder ⌘ N - - Open in New Tab - - - -
- Quick Look{" "} -
My Files
-
{" "} - Space -
- - Get Info - - - - Use Groups - Sort By... @@ -271,7 +239,7 @@ const Page: Component = () => { - Show View Options + Workspace properties @@ -281,7 +249,7 @@ const Page: Component = () => { placeholder="Search..." name="search" autofocus - class="py-1 px-4 rounded-xl w-84 mx-4 bg-surface1 transition border-2 border-overlay0 hover:bg-overlay0 text-text placeholder-text-subtext1" + class="py-1 px-4 rounded-xl w-84 bg-surface1 transition border-2 border-overlay0 hover:bg-overlay0 text-text placeholder-text-subtext1" /> @@ -291,7 +259,7 @@ const Page: Component = () => { - + { await logOutUser(); @@ -316,7 +284,7 @@ const Page: Component = () => { {getFileIcon(file)}

{file.name}

-
+
- - + + + + + + + downloadUploadedFile(file)} + class="flex flex-row items-center gap-2 pl-2 pr-4 py-1 hover:bg-lavender/30 text-text hover:text-[rgb(46,48,66)] rounded-md" + > + + Download + + + + Favourite + + + + Delete + + + +
)} From e8445a35ab2d9588f9b16b42c8b7c59c47efb480 Mon Sep 17 00:00:00 2001 From: trobonox <57040351+trobonox@users.noreply.github.com> Date: Sat, 12 Aug 2023 20:12:06 +0300 Subject: [PATCH 2/4] feat: sharex integration instead of CLI in header --- src/components/landing/Header.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/landing/Header.tsx b/src/components/landing/Header.tsx index 6fd4926..664ba5b 100644 --- a/src/components/landing/Header.tsx +++ b/src/components/landing/Header.tsx @@ -13,10 +13,10 @@ export default function Header() {