add github copilot

This commit is contained in:
Fatih Kadir Akın 2025-02-05 00:09:54 +03:00 committed by GitHub
parent 160b06f9d0
commit 15fa2c01f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -1093,6 +1093,7 @@
<div class="site-description">
<p class="platform-hint">Choose your AI platform</p>
<div class="platform-pills">
<button class="platform-tag" data-platform="github-copilot" data-url="https://github.com/copilot">ChatGPT</button>
<button class="platform-tag" data-platform="chatgpt" data-url="https://chat.openai.com">ChatGPT</button>
<button class="platform-tag" data-platform="claude" data-url="https://claude.ai/new">Claude</button>
<button class="platform-tag" data-platform="perplexity" data-url="https://perplexity.ai">Perplexity</button>
@ -1756,6 +1757,9 @@
let url;
switch (platform.dataset.platform) {
case 'github-copilot':
url = `${baseUrl}?prompt=${encodeURIComponent(promptText)}`;
break;
case 'chatgpt':
url = `${baseUrl}?prompt=${encodeURIComponent(promptText)}`;
break;