Skip to content

Commit b028385

Browse files
authored
Merge pull request #49 from APPLEPIE6969/jules/improve-empty-state-16361504949954079861
Improve EmptyState visuals and fix VoiceInput lint errors
2 parents 6a207da + 77578d1 commit b028385

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

check-csp.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

components/EmptyState.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,18 @@ export function EmptyState({
2323
}: EmptyStateProps) {
2424
return (
2525
<div className={`flex flex-col items-center justify-center py-12 px-6 text-center animate-fade-in ${className}`}>
26-
<div className="flex h-16 w-16 items-center justify-center rounded-2xl bg-primary/10 text-primary mb-4 animate-scale-in">
26+
<div className="flex h-16 w-16 items-center justify-center rounded-2xl bg-primary/10 text-primary mb-4 animate-scale-in transition-transform hover:scale-110">
2727
<span className="material-symbols-outlined text-3xl">{icon}</span>
2828
</div>
2929
<h3 className="text-lg font-bold text-slate-900 dark:text-white mb-2">
3030
{title}
3131
</h3>
32-
<p className="text-sm text-slate-500 dark:text-[#a69db9] max-w-sm mb-6">
32+
<p className="text-sm text-slate-500 dark:text-[#a69db9] max-w-sm mb-2">
3333
{description}
3434
</p>
35+
<p className="mt-2 text-xs font-semibold text-primary uppercase tracking-widest mb-6">
36+
Ready when you are!
37+
</p>
3538
{actionLabel && (
3639
actionHref ? (
3740
<Link

components/VoiceInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ export function VoiceInput({ onAudioSend, disabled }: VoiceInputProps) {
159159
<ul className="text-[11px] text-slate-500 dark:text-text-secondary space-y-2">
160160
<li className="flex gap-2">
161161
<span className="text-primary font-bold">1.</span>
162-
<span>Click the **lock icon** 🔒 next to the URL and reset the Microphone permission to "Allow".</span>
162+
<span>Click the **lock icon** 🔒 next to the URL and reset the Microphone permission to &quot;Allow&quot;.</span>
163163
</li>
164164
<li className="flex gap-2">
165165
<span className="text-primary font-bold">2.</span>
166-
<span>Check **Windows Settings &gt; Privacy &gt; Microphone** and ensure "Allow apps to access your microphone" is ON.</span>
166+
<span>Check **Windows Settings &gt; Privacy &gt; Microphone** and ensure &quot;Allow apps to access your microphone&quot; is ON.</span>
167167
</li>
168168
<li className="flex gap-2">
169169
<span className="text-primary font-bold">3.</span>

0 commit comments

Comments
 (0)