Link about dialogs to in-app routes for color moments, themes, and emoji packs

This commit is contained in:
Chad Curtis
2026-03-26 20:48:05 -05:00
parent 848ac15ef0
commit 7ddaf135b4
2 changed files with 22 additions and 17 deletions
+12 -17
View File
@@ -1,4 +1,5 @@
import { useState, useMemo, useRef, useCallback, useEffect } from 'react';
import { Link } from 'react-router-dom';
import { Skeleton } from '@/components/ui/skeleton';
import { Switch } from '@/components/ui/switch';
import { useCurrentUser } from '@/hooks/useCurrentUser';
@@ -387,16 +388,13 @@ export function StationeryPicker({ selected, onSelect }: StationeryPickerProps)
Color moments are beautiful color combinations created and shared by the community. Each one gives your letter a unique palette and mood.
</p>
<p>
Discover and create your own on{' '}
<a
href="https://espy.you/espy"
target="_blank"
rel="noopener noreferrer"
<Link
to="/colors"
onClick={() => setInfoOpen(false)}
className="text-foreground font-medium underline underline-offset-2 hover:no-underline"
>
espy.you
</a>
.
Discover and create color moments
</Link>
</p>
</div>
</>
@@ -408,19 +406,16 @@ export function StationeryPicker({ selected, onSelect }: StationeryPickerProps)
</DialogHeader>
<div className="space-y-3 text-sm text-muted-foreground">
<p>
Ditto themes are UI themes for the Ditto client, shared by the community. Letters borrows their colors and fonts to style your letter.
Ditto themes are UI themes shared by the community. Letters borrows their colors and fonts to style your letter.
</p>
<p>
Browse and create your own on{' '}
<a
href="https://ditto.pub/mew"
target="_blank"
rel="noopener noreferrer"
<Link
to="/themes"
onClick={() => setInfoOpen(false)}
className="text-foreground font-medium underline underline-offset-2 hover:no-underline"
>
Ditto
</a>
.
Browse and create themes
</Link>
</p>
</div>
</>
+10
View File
@@ -1,4 +1,5 @@
import { useState } from 'react';
import { Link } from 'react-router-dom';
import { Sticker, Info } from 'lucide-react';
import { Skeleton } from '@/components/ui/skeleton';
import { ScrollArea } from '@/components/ui/scroll-area';
@@ -80,6 +81,15 @@ export function StickerPicker({ onSelect }: StickerPickerProps) {
<p>
Add emoji packs to your profile to make them available as stickers.
</p>
<p>
<Link
to="/emojis"
onClick={() => setInfoOpen(false)}
className="text-foreground font-medium underline underline-offset-2 hover:no-underline"
>
Browse emoji packs
</Link>
</p>
</div>
</DialogContent>
</Dialog>