mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-28 18:46:09 +00:00
web: remove future feature placeholders
This commit is contained in:
parent
1f88a211aa
commit
49e2df425d
|
@ -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>
|
||||
|
|
|
@ -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'
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<script>
|
||||
import Placeholder from "$components/misc/Placeholder.svelte";
|
||||
</script>
|
||||
|
||||
<Placeholder pageName="convert" />
|
|
@ -1,5 +0,0 @@
|
|||
<script>
|
||||
import Placeholder from "$components/misc/Placeholder.svelte";
|
||||
</script>
|
||||
|
||||
<Placeholder pageName="crop" />
|
|
@ -1,5 +0,0 @@
|
|||
<script>
|
||||
import Placeholder from "$components/misc/Placeholder.svelte";
|
||||
</script>
|
||||
|
||||
<Placeholder pageName="trim" />
|
Loading…
Reference in a new issue