Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

wip: Apps screen

Richie McIlroya878ca748b14
diff --git a/apps/desktop/src/routes/(window-chrome)/settings.tsx b/apps/desktop/src/routes/(window-chrome)/settings.tsx
index 2a21af58d..39b3a47e6 100644
--- a/apps/desktop/src/routes/(window-chrome)/settings.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/settings.tsx
@@ -30,6 +30,11 @@ export default function Settings(props: RouteSectionProps) {
name: "Previous Screenshots",
icon: IconLucideCamera,
},
+ {
+ href: "apps",
+ name: "Cap Apps",
+ icon: IconCapApps,
+ },
{
href: "feedback",
name: "Feedback",
diff --git a/apps/desktop/src/routes/(window-chrome)/settings/apps.tsx b/apps/desktop/src/routes/(window-chrome)/settings/apps.tsx
new file mode 100644
index 000000000..12f8aeea8
--- /dev/null
+++ b/apps/desktop/src/routes/(window-chrome)/settings/apps.tsx
@@ -0,0 +1,3 @@
+export default function AppsTab() {
+ return <div></div>;
+}
diff --git a/packages/ui-solid/icons/apps.svg b/packages/ui-solid/icons/apps.svg
new file mode 100644
index 000000000..ec1a56c0f
--- /dev/null
+++ b/packages/ui-solid/icons/apps.svg
@@ -0,0 +1,6 @@
+<svg width="19" height="15" viewBox="0 0 19 15" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M0.667969 3.66634C0.667969 1.82539 2.16035 0.333008 4.0013 0.333008H14.0013C15.8423 0.333008 17.3346 1.82539 17.3346 3.66634C17.3346 4.12658 16.9615 4.49967 16.5013 4.49967C16.0411 4.49967 15.668 4.12658 15.668 3.66634C15.668 2.74587 14.9218 1.99967 14.0013 1.99967H4.0013C3.08083 1.99967 2.33464 2.74587 2.33464 3.66634V10.333C2.33464 11.2535 3.08083 11.9997 4.0013 11.9997H7.33464C7.79487 11.9997 8.16797 12.3728 8.16797 12.833C8.16797 13.2932 7.79487 13.6663 7.33464 13.6663H4.0013C2.16035 13.6663 0.667969 12.174 0.667969 10.333V3.66634ZM14.0013 6.16634C14.4615 6.16634 14.8346 6.53944 14.8346 6.99967C14.8346 8.05536 15.0693 8.62531 15.3892 8.94514C15.709 9.26497 16.279 9.49967 17.3346 9.49967C17.7949 9.49967 18.168 9.87277 18.168 10.333C18.168 10.7932 17.7949 11.1663 17.3346 11.1663C16.279 11.1663 15.709 11.401 15.3892 11.7209C15.0693 12.0407 14.8346 12.6107 14.8346 13.6663C14.8346 14.1266 14.4615 14.4997 14.0013 14.4997C13.5411 14.4997 13.168 14.1266 13.168 13.6663C13.168 12.6107 12.9333 12.0407 12.6134 11.7209C12.2936 11.401 11.7236 11.1663 10.668 11.1663C10.2077 11.1663 9.83463 10.7932 9.83463 10.333C9.83463 9.87277 10.2077 9.49967 10.668 9.49967C11.7236 9.49967 12.2936 9.26497 12.6134 8.94514C12.9333 8.62531 13.168 8.05536 13.168 6.99967C13.168 6.53944 13.5411 6.16634 14.0013 6.16634ZM14.0013 9.89154C13.936 9.97189 13.8663 10.0493 13.7919 10.1237C13.7176 10.198 13.6402 10.2677 13.5598 10.333C13.6402 10.3983 13.7176 10.468 13.7919 10.5424C13.8663 10.6167 13.936 10.6941 14.0013 10.7745C14.0666 10.6941 14.1363 10.6167 14.2107 10.5424C14.285 10.468 14.3624 10.3983 14.4428 10.333C14.3624 10.2677 14.285 10.198 14.2107 10.1237C14.1363 10.0493 14.0666 9.97189 14.0013 9.89154Z"/>
+<path d="M4.83464 3.66634C4.83464 4.12658 4.46154 4.49967 4.0013 4.49967C3.54106 4.49967 3.16797 4.12658 3.16797 3.66634C3.16797 3.2061 3.54106 2.83301 4.0013 2.83301C4.46154 2.83301 4.83464 3.2061 4.83464 3.66634Z"/>
+<path d="M7.33464 3.66634C7.33464 4.12658 6.96154 4.49967 6.5013 4.49967C6.04106 4.49967 5.66797 4.12658 5.66797 3.66634C5.66797 3.2061 6.04106 2.83301 6.5013 2.83301C6.96154 2.83301 7.33464 3.2061 7.33464 3.66634Z"/>
+<path d="M9.0013 4.49967C9.46154 4.49967 9.83463 4.12658 9.83463 3.66634C9.83463 3.2061 9.46154 2.83301 9.0013 2.83301C8.54106 2.83301 8.16797 3.2061 8.16797 3.66634C8.16797 4.12658 8.54106 4.49967 9.0013 4.49967Z"/>
+</svg>
diff --git a/packages/ui-solid/src/auto-imports.d.ts b/packages/ui-solid/src/auto-imports.d.ts
index c458e30d6..d8bedf606 100644
--- a/packages/ui-solid/src/auto-imports.d.ts
+++ b/packages/ui-solid/src/auto-imports.d.ts
@@ -6,6 +6,7 @@
// biome-ignore lint: disable
export {}
declare global {
+ const IconCapApps: typeof import('~icons/cap/apps.jsx')['default']
const IconCapAudioOn: typeof import('~icons/cap/audio-on.jsx')['default']
const IconCapBlur: typeof import('~icons/cap/blur.jsx')['default']
const IconCapCamera: typeof import('~icons/cap/camera.jsx')['default']
@@ -46,8 +47,11 @@ declare global {
const IconLucideBell: typeof import('~icons/lucide/bell.jsx')['default']
const IconLucideCamera: typeof import('~icons/lucide/camera.jsx')['default']
const IconLucideCheck: typeof import('~icons/lucide/check.jsx')['default']
+ const IconLucideEdit: typeof import('~icons/lucide/edit.jsx')['default']
const IconLucideEye: typeof import('~icons/lucide/eye.jsx')['default']
+ const IconLucideFolder: typeof import('~icons/lucide/folder.jsx')['default']
const IconLucideLoaderCircle: typeof import('~icons/lucide/loader-circle.jsx')['default']
+ const IconLucideMessageSquarePlus: typeof import('~icons/lucide/message-square-plus.jsx')['default']
const IconLucideRabbit: typeof import('~icons/lucide/rabbit.jsx')['default']
const IconLucideRotateCcw: typeof import('~icons/lucide/rotate-ccw.jsx')['default']
const IconLucideSearch: typeof import('~icons/lucide/search.jsx')['default']