deploy: 088bf500e2e381b55b4bda7a37f0a23f7a6e08b2

This commit is contained in:
f 2025-03-16 01:28:55 +00:00
parent e832ccfa59
commit f5d4209b37
4 changed files with 3 additions and 35 deletions

View File

@ -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

View File

@ -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

View File

@ -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">

View File

@ -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()));
}
}