version 1 with webshell and docs

This commit is contained in:
2026-01-22 15:52:08 -06:00
commit 612118ac48
13 changed files with 2212 additions and 0 deletions

16
src/docs.ts Normal file
View File

@@ -0,0 +1,16 @@
import './docs.css';
const copyBtn = document.getElementById('copyBtn') as HTMLButtonElement;
const command = 'ssh portfolio@keshavanand.net';
if (copyBtn) {
copyBtn.addEventListener('click', async () => {
try {
await navigator.clipboard.writeText(command);
copyBtn.classList.add('copied');
setTimeout(() => copyBtn.classList.remove('copied'), 2000);
} catch (err) {
console.error('Failed to copy:', err);
}
});
}