mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web: remove future feature placeholders
This commit is contained in:
parent
1f88a211aa
commit
49e2df425d
5 changed files with 4 additions and 32 deletions
|
@ -3,9 +3,6 @@
|
||||||
import SidebarTab from "$components/sidebar/SidebarTab.svelte";
|
import SidebarTab from "$components/sidebar/SidebarTab.svelte";
|
||||||
|
|
||||||
import IconDownload from "@tabler/icons-svelte/IconDownload.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 IconSettings from "@tabler/icons-svelte/IconSettings.svelte";
|
||||||
|
|
||||||
import IconComet from "@tabler/icons-svelte/IconComet.svelte";
|
import IconComet from "@tabler/icons-svelte/IconComet.svelte";
|
||||||
|
@ -33,15 +30,6 @@
|
||||||
<SidebarTab tabName="save" tabLink="/">
|
<SidebarTab tabName="save" tabLink="/">
|
||||||
<IconDownload />
|
<IconDownload />
|
||||||
</SidebarTab>
|
</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}>
|
<SidebarTab tabName="settings" tabLink={settingsLink}>
|
||||||
<IconSettings />
|
<IconSettings />
|
||||||
</SidebarTab>
|
</SidebarTab>
|
||||||
|
|
|
@ -4,11 +4,10 @@
|
||||||
export let tabName: string;
|
export let tabName: string;
|
||||||
export let tabLink: string;
|
export let tabLink: string;
|
||||||
|
|
||||||
const firstTabs = [
|
const firstTabPage = [
|
||||||
"save",
|
"save",
|
||||||
"trim",
|
"settings",
|
||||||
"crop",
|
"updates"
|
||||||
"convert"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
let tab: HTMLElement;
|
let tab: HTMLElement;
|
||||||
|
@ -21,7 +20,7 @@
|
||||||
const showTab = (e: HTMLElement | undefined) => {
|
const showTab = (e: HTMLElement | undefined) => {
|
||||||
if (e) {
|
if (e) {
|
||||||
e.scrollIntoView({
|
e.scrollIntoView({
|
||||||
inline: firstTabs.includes(tabName) ? 'end' : 'start',
|
inline: firstTabPage.includes(tabName) ? 'end' : 'start',
|
||||||
behavior: 'smooth'
|
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