Skip to content

Commit e8213f9

Browse files
authored
Merge pull request #924 from darcyclarke/dc/add-vlt
feat: add vlt to brands & compatible package managers
2 parents 283eaec + 413639c commit e8213f9

File tree

9 files changed

+64
-1
lines changed

9 files changed

+64
-1
lines changed

src/components/logos/vlt.svelte

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<script lang="ts">
2+
import type { IconProps } from "@/types/icon";
3+
4+
let props: IconProps = $props();
5+
</script>
6+
7+
<svg
8+
xmlns="http://www.w3.org/2000/svg"
9+
viewBox="0 0 192 175"
10+
width={props.size}
11+
height={props.size}
12+
fill="currentColor"
13+
>
14+
<path
15+
d="M160 0C177.673 0 192 14.3269 192 32C192 49.6731 177.673 64 160 64C154.905 64 149.674 65.9256 147.129 70.339L126.143 106.736C121.588 114.637 123.682 124.522 126.472 133.204C127.464 136.291 128 139.583 128 143C128 160.673 113.673 175 96 175C78.3269 175 64 160.673 64 143C64 139.583 64.5357 136.291 65.5277 133.204C68.3175 124.522 70.4113 114.637 65.8562 106.737L44.8696 70.3382C42.3251 65.9252 37.094 64 32 64C14.3269 64 0 49.6731 0 32C0 14.3269 14.3269 0 32 0C49.6731 0 64 14.3269 64 32C64 35.4168 63.4642 38.7082 62.4721 41.7951C59.6818 50.477 57.5877 60.3622 62.1428 68.2624L83.129 104.66C85.6737 109.074 90.9055 111 96 111C101.094 111 106.325 109.074 108.869 104.661L129.856 68.2621C134.411 60.3621 132.318 50.4769 129.528 41.795C128.536 38.7081 128 35.4167 128 32C128 14.3269 142.327 0 160 0Z"
16+
/>
17+
</svg>

src/components/settings/options/selectPkgManager.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import Pnpm from "@/components/logos/pnpm.svelte";
1010
import Yarn from "@/components/logos/yarn.svelte";
1111
import Bun from "@/components/logos/bun.svelte";
12+
import Vlt from "@/components/logos/vlt.svelte";
1213
1314
let pkg = $derived($settingsStore.packageManager);
1415
@@ -17,6 +18,7 @@
1718
pnpm: { label: "pnpm", Icon: Pnpm },
1819
yarn: { label: "yarn", Icon: Yarn },
1920
bun: { label: "bun", Icon: Bun },
21+
vlt: { label: "vlt", Icon: Vlt },
2022
};
2123
</script>
2224

src/components/svgs/copyShadcnCommand.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
pnpm: "pnpm dlx shadcn@latest add",
2121
yarn: "yarn dlx shadcn@latest add",
2222
bun: "bunx shadcn@latest add",
23+
vlt: "vlx shadcn@latest add",
2324
};
2425
2526
let pkg = $derived($settingsStore.packageManager);

src/data/svgs.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
import type { iSVG } from "@/types/svg";
22

33
export const svgs: iSVG[] = [
4+
{
5+
title: "vlt",
6+
category: "Software",
7+
route: {
8+
light: "/library/vlt-light.svg",
9+
dark: "/library/vlt-dark.svg",
10+
},
11+
wordmark: {
12+
light: "/library/vlt-wordmark-light.svg",
13+
dark: "/library/vlt-wordmark-dark.svg",
14+
},
15+
url: "https://www.vlt.sh",
16+
},
417
{
518
title: "NVIDIA",
619
category: ["AI", "Hardware", "Platform"],

src/stores/settings.store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { writable } from "svelte/store";
22
import { browser } from "$app/environment";
33

4-
type PackageManager = "npm" | "pnpm" | "yarn" | "bun";
4+
type PackageManager = "npm" | "pnpm" | "yarn" | "bun" | "vlt";
55

66
interface Settings {
77
packageManager: PackageManager;

static/library/vlt-dark.svg

Lines changed: 3 additions & 0 deletions
Loading

static/library/vlt-light.svg

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 12 additions & 0 deletions
Loading
Lines changed: 12 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)