Skip to content

Commit 97b4ea6

Browse files
committed
fix: update folder names and links
1 parent c3062fb commit 97b4ea6

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

apps/desktop/src/lib/utils.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,17 +150,17 @@ export function shortcutToString(shortcut: ShortcutParams) {
150150
export async function validateHapticFolder(path: string) {
151151
if (path === null) return;
152152

153-
const hapticFolder = await readDir(path + '/.haptic').catch(() => null);
153+
const omnipadFolder = await readDir(path + '/.omnipad').catch(() => null);
154154

155-
if (!hapticFolder) {
156-
// Create .haptic folder
157-
await createDir(path + '/.haptic');
155+
if (!omnipadFolder) {
156+
// Create .omnipad folder
157+
await createDir(path + '/.omnipad');
158158

159159
// Create trash folder
160-
await createDir(path + '/.haptic/trash');
160+
await createDir(path + '/.omnipad/trash');
161161

162162
// Create daily folder
163-
await createDir(path + '/.haptic/daily');
163+
await createDir(path + '/.omnipad/daily');
164164
}
165165
}
166166

apps/homepage/src/routes/+page.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</h1>
1818

1919
<p class="text-secondary-foreground/70 text-center leading-relaxed text-sm sm:text-base z-10">
20-
The Omnipad application is a modern &
20+
The Omnipad application is a new generational and
2121
<Tooltip type="privacy">
2222
<span class="underline decoration-dotted cursor-not-allowed">localized</span>,
2323
</Tooltip>
@@ -28,11 +28,11 @@
2828
It's sleek,
2929
<Tooltip type="lightweight">
3030
<span class="underline decoration-dotted cursor-copy">lightweight</span></Tooltip
31-
> and
31+
> &
3232

3333
<Tooltip type="rust">
3434
<span class="underline decoration-dotted cursor-wait">fast.</span>
35-
</Tooltip>omnipad is designed to be simple and <Tooltip type="shortcuts"
35+
</Tooltip>omnipad is designed to be simple plus <Tooltip type="shortcuts"
3636
><span class="underline decoration-dotted cursor-alias">distraction-free</span>.</Tooltip
3737
>
3838
</p>
@@ -41,7 +41,7 @@
4141
<a href="https://omnipad-web.vercel.app/">
4242
<Button scale="sm" class="rounded-full select-none">Try it</Button>
4343
</a>
44-
<a href="https://github.com/iBz-04" target="_blank" rel="noopener noreferrer">
44+
<a href="https://github.com/OmniS0FT" target="_blank" rel="noopener noreferrer">
4545
<Button scale="sm" variant="secondary" class="rounded-full select-none">Learn More</Button>
4646
</a>
4747
</div>

apps/web/src/lib/components/shared/command-menu/command.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@
418418
{/if}
419419
{:else if page === 'help_and_feedback'}
420420
<Command.Group heading="Help & Support">
421-
<a href="https://go.haptic.md/sponsor" target="_blank" rel="noopener noreferrer">
421+
<a href="https://omnipad-web.vercel.app/sponsor" target="_blank" rel="noopener noreferrer">
422422
<Command.Item
423423
class="text-foreground/90 gap-3 [&>*]:text-foreground/90 [&>*]:aria-selected:text-foreground [&>*]:fill-foreground/50 [&>*]:aria-selected:fill-foreground"
424424
value="sponsor"
@@ -430,7 +430,7 @@
430430
Sponsor Omnipad
431431
</Command.Item>
432432
</a>
433-
<a href="https://go.haptic.md/help" target="_blank" rel="noopener noreferrer">
433+
<a href="https://omnipad-web.vercel.app/help" target="_blank" rel="noopener noreferrer">
434434
<Command.Item
435435
class="text-foreground/90 gap-3 [&>*]:text-foreground/90 [&>*]:aria-selected:text-foreground [&>*]:fill-foreground/50 [&>*]:aria-selected:fill-foreground"
436436
value="help"
@@ -442,7 +442,7 @@
442442
Get help
443443
</Command.Item>
444444
</a>
445-
<a href="https://go.haptic.md/feedback" target="_blank" rel="noopener noreferrer">
445+
<a href="https://omnipad-web.vercel.app/feedback" target="_blank" rel="noopener noreferrer">
446446
<Command.Item
447447
class="text-foreground/90 gap-3 [&>*]:text-foreground/90 [&>*]:aria-selected:text-foreground [&>*]:fill-foreground/50 [&>*]:aria-selected:fill-foreground"
448448
value="feedback"
@@ -461,14 +461,14 @@
461461
class="text-foreground/90 gap-3 [&>*]:text-foreground/90 [&>*]:aria-selected:text-foreground [&>*]:fill-foreground/50 [&>*]:aria-selected:fill-foreground"
462462
value="copy_link"
463463
onSelect={() => {
464-
navigator.clipboard.writeText('https://haptic.md');
464+
navigator.clipboard.writeText('https://omnipad-home.vercel.app');
465465
handlePageState(undefined);
466466
}}
467467
>
468468
<Icon name="browserUrl" />
469469
Copy link
470470
</Command.Item>
471-
<a href="https://go.haptic.md/tweet" target="_blank" rel="noopener noreferrer">
471+
<a href="https://omnipad-web.vercel.app/tweet" target="_blank" rel="noopener noreferrer">
472472
<Command.Item
473473
class="text-foreground/90 gap-3 [&>*]:text-foreground/90 [&>*]:aria-selected:stroke-foreground [&>*]:stroke-foreground/50 [&>*]:stroke-[2px]"
474474
value="share_on_twitter"

0 commit comments

Comments
 (0)