web: remove future feature placeholders

This commit is contained in:
wukko 2024-06-25 19:41:38 +06:00
parent 1f88a211aa
commit 49e2df425d
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
5 changed files with 4 additions and 32 deletions

View file

@ -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 @@
<SidebarTab tabName="save" tabLink="/">
<IconDownload />
</SidebarTab>
<SidebarTab tabName="trim" tabLink="/trim">
<IconCut />
</SidebarTab>
<SidebarTab tabName="crop" tabLink="/crop">
<IconCrop />
</SidebarTab>
<SidebarTab tabName="convert" tabLink="/convert">
<IconTransform />
</SidebarTab>
<SidebarTab tabName="settings" tabLink={settingsLink}>
<IconSettings />
</SidebarTab>

View file

@ -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'
});
}

View file

@ -1,5 +0,0 @@
<script>
import Placeholder from "$components/misc/Placeholder.svelte";
</script>
<Placeholder pageName="convert" />

View file

@ -1,5 +0,0 @@
<script>
import Placeholder from "$components/misc/Placeholder.svelte";
</script>
<Placeholder pageName="crop" />

View file

@ -1,5 +0,0 @@
<script>
import Placeholder from "$components/misc/Placeholder.svelte";
</script>
<Placeholder pageName="trim" />