Skip to content

Commit 0660f2e

Browse files
joelteplyclaude
andcommitted
Fix broken web demo JavaScript and cursor issues
- Fix template literal syntax error in index.html line 106 - Remove cursor: none CSS that makes mouse disappear - Fix CyberpunkDemo object definition and methods - Restore normal mouse behavior for better UX 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3fca0c8 commit 0660f2e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/cyberpunk-web.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
background: var(--cyberpunk-bg);
88
color: var(--cyberpunk-primary);
99
overflow: hidden;
10-
cursor: none;
10+
cursor: default;
1111
width: 100%;
1212
height: 100vh;
1313
padding: 20px;

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@
103103
menu.add_option("deploy", "Deploy", "Deploy to production")
104104
choice = menu.run()`,
105105

106-
web_framework: \`<!-- Use on websites and web applications -->
106+
web_framework: `<!-- Use on websites and web applications -->
107107
<link rel="stylesheet" href="cyberpunk-web.css">
108-
<script src="cyberpunk-web.js"><\/script>
108+
<script src="cyberpunk-web.js"></script>
109109

110110
<div id="my-terminal"></div>
111111

@@ -125,7 +125,7 @@
125125
theme: 'matrix',
126126
title: 'Debug Console'
127127
});
128-
<\/script>\`,
128+
</script>`,
129129

130130
zero_effort: `# Zero-effort Click enhancement
131131
import cyberpunk_cli # Just add this line!

0 commit comments

Comments
 (0)