Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

feat: mascot illustrations and title layout fix

Luis Ortiz1d48fed52cd7
diff --git a/src/ui/fullview/GuideContent.tsx b/src/ui/fullview/GuideContent.tsx
index e593a8a..aa8344d 100644
--- a/src/ui/fullview/GuideContent.tsx
+++ b/src/ui/fullview/GuideContent.tsx
@@ -135,7 +135,7 @@ export default function GuideContent({ guideId }: GuideContentProps) {
<BlurCanvas screenshot={blurScreenshot} onSave={handleBlurSave} onCancel={() => setBlurringStepId(null)} />
)}
- <div className="min-h-[88px]">
+ <div className={title === 'Untitled Guide' && !typingTitle && data.steps.length > 0 ? 'min-h-[88px]' : ''}>
{title === 'Untitled Guide' && !typingTitle && data.steps.length > 0 ? (
<div className="text-[32px] font-extrabold leading-tight animate-gradient-text bg-[length:300%_100%] bg-clip-text text-transparent bg-gradient-to-r from-muted-foreground via-amber to-muted-foreground max-w-[480px]">
Writing a title from your captured steps...
diff --git a/src/ui/global.css b/src/ui/global.css
index 23d75fd..9973b0c 100644
--- a/src/ui/global.css
+++ b/src/ui/global.css
@@ -52,6 +52,16 @@ body {
animation: gradient-text 3s ease infinite;
}
+@keyframes twinkle {
+ 0%, 100% { opacity: 0.3; transform: scale(0.8); }
+ 50% { opacity: 1; transform: scale(1.1); }
+}
+
+@keyframes cam-flash {
+ 0%, 88%, 100% { opacity: 0; }
+ 92% { opacity: 0.7; }
+}
+
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
diff --git a/src/ui/sidepanel/RecordingView.tsx b/src/ui/sidepanel/RecordingView.tsx
index 4d86e71..32ad97c 100644
--- a/src/ui/sidepanel/RecordingView.tsx
+++ b/src/ui/sidepanel/RecordingView.tsx
@@ -94,9 +94,28 @@ export default function RecordingView({ guideId, onStop }: RecordingViewProps) {
{/* Feed */}
<div className="flex-1 overflow-y-auto pt-12">
{steps.length === 0 ? (
- <div className="flex flex-col items-center justify-center h-full gap-1">
- <span className="text-sm font-medium text-warm">Ready to capture!</span>
- <span className="text-xs text-border">Click on the page to start</span>
+ <div className="flex flex-col items-center justify-center h-full gap-3">
+ <svg width="64" height="64" viewBox="0 0 200 200" fill="none">
+ <rect x="30" y="105" width="140" height="68" rx="5" fill="#451a03" />
+ <path d="M30 105 L30 90 Q30 70, 100 70 Q170 70, 170 90 L170 105 Z" fill="#572508" />
+ <rect x="30" y="103" width="140" height="3" fill="#FDE68A" />
+ <path d="M68 132 Q76 122 84 132" stroke="#FDE68A" strokeWidth="5" fill="none" strokeLinecap="round" />
+ <path d="M116 132 Q124 122 132 132" stroke="#FDE68A" strokeWidth="5" fill="none" strokeLinecap="round" />
+ <path d="M84 148 Q100 158 116 148" stroke="#FDE68A" strokeWidth="3.5" fill="none" strokeLinecap="round" />
+ <rect x="60" y="38" width="80" height="50" rx="8" fill="#92400E" stroke="#B45309" strokeWidth="2" />
+ <circle cx="100" cy="62" r="16" fill="#451a03" stroke="#B45309" strokeWidth="2" />
+ <circle cx="100" cy="62" r="9" fill="#1a0d02" />
+ <circle cx="100" cy="62" r="4" fill="#FDE68A" opacity="0.4" />
+ <rect x="112" y="42" width="18" height="8" rx="3" fill="#FDE68A" opacity="0.7" />
+ <circle cx="121" cy="38" r="20" fill="#FDE68A" className="animate-[cam-flash_3s_ease_infinite]" />
+ <circle cx="80" cy="42" r="5" fill="#F59E0B" />
+ <ellipse cx="54" cy="64" rx="10" ry="8" fill="#451a03" />
+ <ellipse cx="146" cy="64" rx="10" ry="8" fill="#451a03" />
+ </svg>
+ <div className="text-center">
+ <p className="text-sm font-semibold text-amber">Ready to capture!</p>
+ <p className="text-xs text-border mt-0.5">Click on the page to start</p>
+ </div>
</div>
) : (
<div>