Skip to content

Commit 16667bd

Browse files
authored
Merge pull request #726 from zackproser/vibe-coding-premium
Fix
2 parents 367d26f + 78fd269 commit 16667bd

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

src/content/blog/vibe-coding-guide/page.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,12 @@ Run `git add . && git commit -m "test"` to save your code.
198198
- **Cursor Rules:** I've created custom Cursor Rules files that protect you and teach you as you work.
199199
- **Make it impossible to leak secrets:** I show you exactly how, and give you the commands, to set up a world-class tool that makes it impossible for you to leak secrets via Git.
200200

201+
<div className="flex justify-center my-8 not-prose">
202+
<ShareButtonTracked buttonText="Share this guide" location="bottom" />
203+
</div>
204+
201205
<Link href="/products/vibe-coding-mastery">
202206

203207
</Link>
204208

205-
<div className="flex justify-center my-8">
206-
<ShareButtonTracked buttonText="Share this guide" location="bottom" />
207-
</div>
208-
209209
*Premium unlocks screencasts, exact commands, tools that auto-block leaks before they happen, and custom Cursor Rules to help you learn and protect you as you vibe code.*

src/content/blog/vibe-coding-mastery/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ Deploy with confidence!
479479

480480
If you accidentally push a secret:
481481
- **Revoke the key immediately** with the service provider (AWS, OpenAI, etc.). This is the MOST important step.
482-
- Use tools like `git-filter-repo` or BFG Repo-Cleaner to scrub the secret from your entire Git history (this is complex and requires rewriting history). 🎬 **[Screen Recording Needed]: Demonstrating a history rewrite (use with caution!).**
482+
- Use tools like `git-filter-repo` or BFG Repo-Cleaner to scrub the secret from your entire Git history (this is complex and requires rewriting history).**
483483
- Monitor usage for suspicious activity.
484484

485485
Stay calm and act fast.

src/styles/global.css

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,27 @@ h4, h5, h6 { @apply text-blue-600 dark:text-blue-400; }
259259

260260
/* Style inline code within prose blocks */
261261
.prose :where(code):not(:where([class~="not-prose"] *)) {
262-
@apply text-white;
262+
color: #222;
263+
background: #f5f5f7;
264+
}
265+
266+
@media (prefers-color-scheme: dark) {
267+
.prose :where(code):not(:where([class~="not-prose"] *)) {
268+
color: #f5f5f7;
269+
background: #222;
270+
}
263271
}
264272

273+
/* Code blocks: readable in both modes */
265274
pre[class*="language-"], code[class*="language-"] {
266275
background: #f5f5f7;
267276
color: #222;
268277
}
269278

279+
@media (prefers-color-scheme: dark) {
280+
pre[class*="language-"], code[class*="language-"] {
281+
background: #222 !important;
282+
color: #f5f5f7 !important;
283+
}
284+
}
285+

0 commit comments

Comments
 (0)