From 49e2df425dd275119bb94de955d4b521615d3829 Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 25 Jun 2024 19:41:38 +0600 Subject: [PATCH] web: remove future feature placeholders --- web/src/components/sidebar/Sidebar.svelte | 12 ------------ web/src/components/sidebar/SidebarTab.svelte | 9 ++++----- web/src/routes/convert/+page.svelte | 5 ----- web/src/routes/crop/+page.svelte | 5 ----- web/src/routes/trim/+page.svelte | 5 ----- 5 files changed, 4 insertions(+), 32 deletions(-) delete mode 100644 web/src/routes/convert/+page.svelte delete mode 100644 web/src/routes/crop/+page.svelte delete mode 100644 web/src/routes/trim/+page.svelte diff --git a/web/src/components/sidebar/Sidebar.svelte b/web/src/components/sidebar/Sidebar.svelte index e6c7824d..e075da07 100644 --- a/web/src/components/sidebar/Sidebar.svelte +++ b/web/src/components/sidebar/Sidebar.svelte @@ -3,9 +3,6 @@ import SidebarTab from "$components/sidebar/SidebarTab.svelte"; import IconDownload from "@tabler/icons-svelte/IconDownload.svelte"; - import IconCut from "@tabler/icons-svelte/IconCut.svelte"; - import IconCrop from "@tabler/icons-svelte/IconCrop.svelte"; - import IconTransform from "@tabler/icons-svelte/IconTransform.svelte"; import IconSettings from "@tabler/icons-svelte/IconSettings.svelte"; import IconComet from "@tabler/icons-svelte/IconComet.svelte"; @@ -33,15 +30,6 @@ - - - - - - - - - diff --git a/web/src/components/sidebar/SidebarTab.svelte b/web/src/components/sidebar/SidebarTab.svelte index 67275a6b..c9657288 100644 --- a/web/src/components/sidebar/SidebarTab.svelte +++ b/web/src/components/sidebar/SidebarTab.svelte @@ -4,11 +4,10 @@ export let tabName: string; export let tabLink: string; - const firstTabs = [ + const firstTabPage = [ "save", - "trim", - "crop", - "convert" + "settings", + "updates" ]; let tab: HTMLElement; @@ -21,7 +20,7 @@ const showTab = (e: HTMLElement | undefined) => { if (e) { e.scrollIntoView({ - inline: firstTabs.includes(tabName) ? 'end' : 'start', + inline: firstTabPage.includes(tabName) ? 'end' : 'start', behavior: 'smooth' }); } diff --git a/web/src/routes/convert/+page.svelte b/web/src/routes/convert/+page.svelte deleted file mode 100644 index a26a5d64..00000000 --- a/web/src/routes/convert/+page.svelte +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/web/src/routes/crop/+page.svelte b/web/src/routes/crop/+page.svelte deleted file mode 100644 index 1e39a5b6..00000000 --- a/web/src/routes/crop/+page.svelte +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/web/src/routes/trim/+page.svelte b/web/src/routes/trim/+page.svelte deleted file mode 100644 index fbee1685..00000000 --- a/web/src/routes/trim/+page.svelte +++ /dev/null @@ -1,5 +0,0 @@ - - -