π¬ A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots π
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
import { i18n } from '@mimik/core/env';
import { Sparkles, X } from 'lucide-react';
const RELEASES_URL = 'https://github.com/westpoint-io/mimik/releases';
interface UpdateNoticeProps {
version: string | undefined;
onDismiss: () => void;
className?: string;
}
export function UpdateNotice({ version, onDismiss, className = '' }: UpdateNoticeProps) {
if (!version) return null;
return (
<div
role="status"
className={`flex items-center gap-2 rounded-xl border border-border bg-card shadow-lg px-3.5 py-2.5 ${className}`}
>
<Sparkles size={15} className="shrink-0 text-accent" />
<span className="text-[12px] font-semibold text-foreground">{i18n.t('common.updated', [version])}</span>
<a
href={RELEASES_URL}
target="_blank"
rel="noreferrer"
onClick={onDismiss}
className="text-[11px] font-semibold text-accent hover:underline"
>
{i18n.t('common.whatsNew')}
</a>
<button
onClick={onDismiss}
aria-label={i18n.t('common.close')}
className="ml-auto shrink-0 p-0.5 rounded text-muted-foreground hover:text-foreground transition-colors"
>
<X size={14} />
</button>
</div>
);
}