mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-24 12:08:55 +01:00
web/Sidebar: add blank convert & shrink tabs
This commit is contained in:
parent
8af6761951
commit
70a8c53cba
5 changed files with 13 additions and 2 deletions
|
@ -4,5 +4,7 @@
|
||||||
"updates": "updates",
|
"updates": "updates",
|
||||||
"donate": "donate",
|
"donate": "donate",
|
||||||
"about": "about",
|
"about": "about",
|
||||||
"remux": "remux"
|
"remux": "remux",
|
||||||
|
"shrink": "shrink",
|
||||||
|
"convert": "convert"
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,10 @@
|
||||||
|
|
||||||
import IconComet from "@tabler/icons-svelte/IconComet.svelte";
|
import IconComet from "@tabler/icons-svelte/IconComet.svelte";
|
||||||
import IconHeart from "@tabler/icons-svelte/IconHeart.svelte";
|
import IconHeart from "@tabler/icons-svelte/IconHeart.svelte";
|
||||||
|
import IconTransform from "@tabler/icons-svelte/IconTransform.svelte";
|
||||||
import IconInfoCircle from "@tabler/icons-svelte/IconInfoCircle.svelte";
|
import IconInfoCircle from "@tabler/icons-svelte/IconInfoCircle.svelte";
|
||||||
|
import IconArrowsMinimize from "@tabler/icons-svelte/IconArrowsMinimize.svelte";
|
||||||
|
|
||||||
import { defaultSettingsPage } from "$lib/settings/defaults";
|
import { defaultSettingsPage } from "$lib/settings/defaults";
|
||||||
|
|
||||||
let screenWidth: number;
|
let screenWidth: number;
|
||||||
|
@ -29,6 +32,12 @@
|
||||||
<SidebarTab tabName="save" tabLink="/">
|
<SidebarTab tabName="save" tabLink="/">
|
||||||
<IconDownload />
|
<IconDownload />
|
||||||
</SidebarTab>
|
</SidebarTab>
|
||||||
|
<SidebarTab tabName="convert" tabLink="/convert">
|
||||||
|
<IconTransform />
|
||||||
|
</SidebarTab>
|
||||||
|
<SidebarTab tabName="shrink" tabLink="/shrink">
|
||||||
|
<IconArrowsMinimize />
|
||||||
|
</SidebarTab>
|
||||||
<SidebarTab tabName="remux" tabLink="/remux">
|
<SidebarTab tabName="remux" tabLink="/remux">
|
||||||
<IconRepeat />
|
<IconRepeat />
|
||||||
</SidebarTab>
|
</SidebarTab>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
export let tabName: string;
|
export let tabName: string;
|
||||||
export let tabLink: string;
|
export let tabLink: string;
|
||||||
|
|
||||||
const firstTabPage = ["save", "remux", "settings"];
|
const firstTabPage = ["save", "convert", "shrink", "remux"];
|
||||||
|
|
||||||
let tab: HTMLElement;
|
let tab: HTMLElement;
|
||||||
|
|
||||||
|
|
0
web/src/routes/convert/+page.svelte
Normal file
0
web/src/routes/convert/+page.svelte
Normal file
0
web/src/routes/shrink/+page.svelte
Normal file
0
web/src/routes/shrink/+page.svelte
Normal file
Loading…
Reference in a new issue