import { Link } from 'react-router-dom'; interface LoginPromptModalProps { onClose: () => void; } export const LoginPromptModal: React.FC = ({ onClose }) => (
e.stopPropagation()}>

Sign in to save your project

Create a free account to save and share your projects.

Sign in Create account
); const styles: Record = { overlay: { position: 'fixed', inset: 0, background: 'rgba(0,0,0,.6)', display: 'flex', alignItems: 'center', justifyContent: 'center', zIndex: 1000 }, modal: { background: '#252526', border: '1px solid #3c3c3c', borderRadius: 8, padding: '1.75rem', width: 340, display: 'flex', flexDirection: 'column', gap: 14 }, title: { color: '#ccc', margin: 0, fontSize: 18, fontWeight: 600 }, body: { color: '#9d9d9d', margin: 0, fontSize: 14 }, actions: { display: 'flex', flexDirection: 'column', gap: 8 }, primaryBtn: { background: '#0e639c', color: '#fff', padding: '9px', borderRadius: 4, textDecoration: 'none', textAlign: 'center', fontSize: 14, fontWeight: 500 }, secondaryBtn: { background: 'transparent', color: '#ccc', padding: '9px', borderRadius: 4, textDecoration: 'none', textAlign: 'center', fontSize: 14, border: '1px solid #555' }, cancelBtn: { background: 'transparent', border: 'none', color: '#666', padding: '6px', cursor: 'pointer', fontSize: 13 }, };