feat(web): add interactive xterm.js terminal demo to landing page#127
feat(web): add interactive xterm.js terminal demo to landing page#127riyapetle wants to merge 1 commit into
Conversation
|
@riyapetle is attempting to deploy a commit to the pie's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Hii @pie-314
The automated checks (build and linter) have passed successfully, and local testing confirms the component behaves as expected. This is approved and ready to be merged. closes #62 |
|
Hi @pie-314, Just following up on this PR. The CI and verification checks are passing, and the only failing check appears to be the Vercel authorization requirement, which seems to be unrelated to the code changes. Could you please review this PR when you have a chance? If any changes are needed from my side, I'd be happy to address them. Thank you! |
|
@riyapetle the UI you have added is not at all similar to trx interface, go through issue again. |
Description
This PR integrates a live, interactive terminal demo into the TRX web landing page using
xterm.js. This allows visitors to experience the look and feel of the TRX package manager directly from their browser without needing to install anything locally first.Key Features & Changes
xterm.jsthat fits flawlessly into the Next.jspage.tsxlayout.$ trx neovimwith randomized, realistic keystroke delays.\x1b[32m,\x1b[36m, etc.) to replicate TRX's CLI formatting with green checkmarks and colored metadata.xterm.js(which relies on browserwindowAPIs) by isolating the terminal logic in aTrxDemoTerminalcomponent and loading it dynamically with{ ssr: false }viaTrxDemoWrapper.AbortControllerlogic to empower users to interrupt or restart the animation dynamically.How to Verify
git checkout RiyaCommits2cd trx-webnpm installnpm run devhttp://localhost:3000and observe the terminal demo below the hero section!Closes #62