mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
ad10492 Merge pull request #750 from nextdoorUncleLiu/develop 4c4ca14 Merge branch 'main' into develop f9d3913 Update README.md 799b4a1 Merge pull request #757 from buimatt/main 4eac478 Merge pull request #756 from Mike-FreeAI/add-dark-mode a31541a Update prompts.csv 1f06568 Update README.md 4d388ec Add dark mode and publish to GitHub Pages using GitHub Actions 5d0a253 add prompt Architectural Expert d56ff0e Update README.md 57a8dc4 add sponsor 70b7283 Add files via upload 9f94573 Merge pull request #725 from Ameya-2003/main 12468c3 An Ethereum Developer prompt, by Ameya. 546ac0e Merge pull request #720 from JulianFisla/patch-1 41ddc9a Update prompts.csv 01263cf Update README.md b18d60d Merge pull request #714 from yisraeldov/patch-3 483cefd Remove relocated political foolishness. 0dad98a Update README.md 999a373 Update README.md 42293a3 Update README.md 64cfc7b added chatgpt store. cdd8681 Merge pull request #702 from jaresty/add-find-prompt-utility 46b73c6 Merge pull request #707 from Illyism/patch-1 410e24b Update README.md ff71a1c Merge pull request #706 from Illyism/patch-1 82f1556 Update prompts.csv a3554a2 Update README.md 46b7440 Merge pull request #705 from umutphp/main 3ef8d5a Update README.md 24df2af 🇵🇸 311d4a6 Update README.md 4100c34 Merge pull request #704 from shvuuuu/main 4091f07 Update prompts.csv 4981fba Update README.md 3ee3610 find-prompt now takes an argument and also only prints the prompt in the output 19990c8 Make find-prompt executable eab7244 Add helper script to search for a prompt by name 514989d Merge pull request #597 from iuzn/main 87a9af4 Update README.md 7164404 add @illacloud as sponsor 01211d2 add sponsorship 4dd0655 remove sponsor d7ac663 Merge branch 'main' into main 6db1612 Added: Prompt Enhancer 162d31f Added: Prompt Enhancer git-subtree-dir: src/awesome-chatgpt-prompts git-subtree-split: ad104922e16aa9a7b53f5ce8b40223bb3743328a
114 lines
4.1 KiB
HTML
114 lines
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ page.lang | default: site.lang | default: "en-US" }}">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
{% seo %}
|
|
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
|
|
<style>
|
|
:root {
|
|
--bg-color-light: #ffffff;
|
|
--bg-color-dark: #1a1a1a;
|
|
--text-color-light: #000000;
|
|
--text-color-dark: #ffffff;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-color-light);
|
|
color: var(--text-color-light);
|
|
}
|
|
|
|
body.dark-mode {
|
|
background-color: var(--bg-color-dark);
|
|
color: var(--text-color-dark);
|
|
}
|
|
|
|
.dark-mode-toggle {
|
|
position: fixed;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
background-color: var(--bg-color-light);
|
|
color: var(--text-color-light);
|
|
border: none;
|
|
padding: 0.5rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
body.dark-mode .dark-mode-toggle {
|
|
background-color: var(--bg-color-dark);
|
|
color: var(--text-color-dark);
|
|
}
|
|
</style>
|
|
{% include head-custom.html %}
|
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6945602608405209" crossorigin="anonymous"></script>
|
|
</head>
|
|
<body>
|
|
<button class="dark-mode-toggle" onclick="toggleDarkMode()">🌞</button>
|
|
<div class="container-lg px-3 my-5 markdown-body">
|
|
{% if site.title and site.title != page.title %}
|
|
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>
|
|
{% endif %}
|
|
|
|
{{ content }}
|
|
|
|
{% if site.github.private != true and site.github.license %}
|
|
<div class="footer border-top border-gray-light mt-5 pt-3 text-right text-gray">
|
|
Awesome ChatGPT Prompts is open source. {% github_edit_link "Improve this page" %}.
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script>
|
|
<script>anchors.add();</script>
|
|
<script>
|
|
document.querySelectorAll("h2[id^=act] + p + blockquote").forEach((x) => {
|
|
x.setAttribute('contentEditable', true);
|
|
const button = document.createElement('button');
|
|
button.style.border = '0';
|
|
button.style.borderRadius = '3px';
|
|
button.style.fontSize = '1rem';
|
|
button.style.marginRight = '0.5rem';
|
|
button.style.padding = '0';
|
|
button.style.backgroundColor = 'transparent';
|
|
button.innerHTML = '✂️';
|
|
button.addEventListener('click', async () => {
|
|
if (navigator.clipboard) {
|
|
await navigator.clipboard.writeText(x.innerText);
|
|
alert('Prompt is copied, now paste this into ChatGPT.');
|
|
} else {
|
|
alert('Your browser does not support clipboard copy. Please select the prompt and copy.')
|
|
}
|
|
}, false);
|
|
x.previousElementSibling.previousElementSibling.prepend(button);
|
|
});
|
|
|
|
function toggleDarkMode() {
|
|
const body = document.body;
|
|
body.classList.toggle('dark-mode');
|
|
const isDarkMode = body.classList.contains('dark-mode');
|
|
localStorage.setItem('dark-mode', isDarkMode);
|
|
document.querySelector('.dark-mode-toggle').textContent = isDarkMode ? '🌙' : '🌞';
|
|
}
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
const isDarkMode = localStorage.getItem('dark-mode') === 'true';
|
|
if (isDarkMode) {
|
|
document.body.classList.add('dark-mode');
|
|
document.querySelector('.dark-mode-toggle').textContent = '🌙';
|
|
}
|
|
});
|
|
</script>
|
|
<style>video { max-width: 100% !important; }</style>
|
|
<!-- Google tag (gtag.js) -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MSNHFWTE77"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-MSNHFWTE77');
|
|
</script>
|
|
</body>
|
|
</html>
|