From f5d4209b37606b67899eecd6362f2653bde8aaad Mon Sep 17 00:00:00 2001 From: f <f@users.noreply.github.com> Date: Sun, 16 Mar 2025 01:28:55 +0000 Subject: [PATCH] deploy: 088bf500e2e381b55b4bda7a37f0a23f7a6e08b2 --- README.md | 5 ----- index.html | 10 ++-------- vibe/index.html | 2 +- vibe/script.js | 21 --------------------- 4 files changed, 3 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index ca3817b..c7f4b8f 100644 --- a/README.md +++ b/README.md @@ -29,14 +29,9 @@ To get started, simply clone this repository and use the prompts in the README.m We hope you find these prompts useful and have fun exploring AI chat models! -**NEW: [Vibe Coding Prompts](https://prompts.chat/vibe/)** - -Try out vibe coding examples and create your own small working products. - **[View on prompts.chat](https://prompts.chat)** **[View on Hugging Face](https://huggingface.co/datasets/fka/awesome-chatgpt-prompts/)** - --- > ℹ️ **NOTE:** Sometimes, some of the prompts may not be working as you expected diff --git a/index.html b/index.html index b1d4980..ff033ef 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@ <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet"> - <link rel="stylesheet" href="/style.css?v=5f660ae7e0232a95c05f1371dc16d4b286a4bf6b"> + <link rel="stylesheet" href="/style.css?v=088bf500e2e381b55b4bda7a37f0a23f7a6e08b2"> </head> <body> <div class="layout-wrapper"> @@ -203,15 +203,9 @@ <p>We hope you find these prompts useful and have fun exploring AI chat models!</p> -<p><strong>NEW: <a href="https://prompts.chat/vibe/">Vibe Coding Prompts</a></strong></p> - -<p>Try out vibe coding examples and create your own small working products.</p> - <p><strong><a href="https://prompts.chat">View on prompts.chat</a></strong></p> -<p><strong><a href="https://huggingface.co/datasets/fka/awesome-chatgpt-prompts/">View on Hugging Face</a></strong></p> - -<hr /> +<h2 id="view-on-hugging-face"><strong><a href="https://huggingface.co/datasets/fka/awesome-chatgpt-prompts/">View on Hugging Face</a></strong></h2> <blockquote> <p>ℹ️ <strong>NOTE:</strong> Sometimes, some of the prompts may not be working as you expected diff --git a/vibe/index.html b/vibe/index.html index 9634767..7f837dc 100644 --- a/vibe/index.html +++ b/vibe/index.html @@ -23,7 +23,7 @@ <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet"> - <link rel="stylesheet" href="/style.css?v=5f660ae7e0232a95c05f1371dc16d4b286a4bf6b"> + <link rel="stylesheet" href="/style.css?v=088bf500e2e381b55b4bda7a37f0a23f7a6e08b2"> </head> <body> <div class="layout-wrapper"> diff --git a/vibe/script.js b/vibe/script.js index 394131e..f8de9e2 100644 --- a/vibe/script.js +++ b/vibe/script.js @@ -355,18 +355,6 @@ function showModal(app, prompt, contributor) { <div class="modal-footer-left"> <a class="modal-contributor" target="_blank" rel="noopener"></a> </div> - <div class="modal-footer-right"> - <button class="modal-chat-button" onclick="openModalChat()"> - <svg class="chat-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> - <path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path> - </svg> - <svg class="terminal-icon" style="display: none;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> - <polyline points="4 17 10 11 4 5"></polyline> - <line x1="12" y1="19" x2="20" y2="19"></line> - </svg> - Start Chat - </button> - </div> </div> </div> </div> @@ -419,12 +407,3 @@ document.addEventListener('keydown', (e) => { hideModal(); } }); - -// Function to handle chat button click in modal -function openModalChat() { - const modalContent = document.querySelector('.modal-content code'); - if (modalContent) { - const content = modalContent.textContent; - openInChat(null, encodeURIComponent(content.trim())); - } -} \ No newline at end of file