diff --git a/landing/index.html b/landing/index.html index a858269..7517a58 100644 --- a/landing/index.html +++ b/landing/index.html @@ -793,15 +793,15 @@

Choose Your Agent

- +
Jules Active
-

Optimized for Google's latest coding agent. Click to learn more.

-
+

Optimized for Google's latest coding agent. Learn more.

+
-
+
Codex Coming Soon @@ -809,12 +809,12 @@

Advanced reasoning for complex tasks.

-
+
- Claude - Coming Soon + Claude Code CLI + Active
-

Long-context understanding and safety.

+

Long-context understanding and safety. (CLI Required)

@@ -1355,6 +1355,31 @@ npm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz & .replace(/"/g, """) .replace(/'/g, "'"); } + + function selectAgent(agent) { + // Remove active class from all cards + document.querySelectorAll('.agent-card').forEach(card => card.classList.remove('active')); + + // Add active class to selected card + const selectedCard = document.getElementById('card-' + agent); + if (selectedCard) { + selectedCard.classList.add('active'); + } + + // Update prompt text + const installCmd = document.getElementById('install-cmd'); + let promptText = ''; + + if (agent === 'jules') { + promptText = "Hey Jules, can you install and setup TORCH into this repo? Here is the install command:\n\nnpm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz && npx torch-lock init"; + } else if (agent === 'claude') { + promptText = "Hey Claude, can you install and setup TORCH into this repo? Here is the install command:\n\nnpm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz && npx torch-lock init"; + } + + if (installCmd) { + installCmd.textContent = promptText; + } + }