From 8178f8ec1f20a5db3a4009e8c9a46cea386b5192 Mon Sep 17 00:00:00 2001 From: dilgenfritz Date: Mon, 1 Dec 2025 10:33:26 -0600 Subject: [PATCH] fix emojis --- fix-emojis.ps1 | 67 +++ index.html | 988 +++++++++++++++++++++--------------------- src/styles/styles.css | 38 +- 3 files changed, 595 insertions(+), 498 deletions(-) create mode 100644 fix-emojis.ps1 diff --git a/fix-emojis.ps1 b/fix-emojis.ps1 new file mode 100644 index 0000000..b35d0ad --- /dev/null +++ b/fix-emojis.ps1 @@ -0,0 +1,67 @@ +$content = Get-Content 'index.html' -Raw -Encoding UTF8 + +# Replace broken emoji placeholders with proper Unicode emojis +# Line 171 - Profile icon +$content = $content -replace '\?\?\s*Profile', '๐Ÿ‘คProfile' + +# Line 175 - Guide icon +$content = $content -replace '\?\?\s*Guide', '๐Ÿ“–Guide' + +# Line 179 - Options icon +$content = $content -replace '\?\?\s*Options', 'โš™๏ธOptions' + +# Line 198-210 - Feature icons +$content = $content -replace '\?\?\s*Advanced Training', '๐ŸŽฏAdvanced Training' +$content = $content -replace '\?\?\s*Quick Sessions', 'โšกQuick Sessions' +$content = $content -replace '\?\?\s*Cinema Mode', '๐ŸŽฌCinema Mode' +$content = $content -replace '\?\?\s*Hypno Gallery', '๐ŸŒ€Hypno Gallery' + +# Music controls +$content = $content -replace 'title="Music Controls">\?\?', 'title="Music Controls">๐ŸŽต' +$content = $content -replace 'title="Play/Pause">\?\?', 'title="Play/Pause">โฏ๏ธ' +$content = $content -replace 'title="Loop">\?\?', 'title="Loop">๐Ÿ”' +$content = $content -replace 'title="Shuffle">\?\?', 'title="Shuffle">๐Ÿ”€' +$content = $content -replace '\?\?', '๐Ÿ”Š' + +# Image library icons +$content = $content -replace '

\?\?\? Image Library Management

', '

๐Ÿ–ผ๏ธ Image Library Management

' +$content = $content -replace '

\?\? Import Image Files

', '

๐Ÿ“‚ Import Image Files

' +$content = $content -replace '>\?\? Task Images', '>๐Ÿ“ธ Task Images' +$content = $content -replace '>\?\? Consequence Images', '>โš ๏ธ Consequence Images' +$content = $content -replace '\?\? Desktop:', '๐Ÿ’ป Desktop:' +$content = $content -replace '\?\? Web:', '๐ŸŒ Web:' +$content = $content -replace '>\?\? Storage Info', '>๐Ÿ’พ Storage Info' +$content = $content -replace '>\?\? Cleanup', '>๐Ÿงน Cleanup' +$content = $content -replace '>\?\?\? Clear All', '>๐Ÿ—‘๏ธ Clear All' +$content = $content -replace '\?\? Auto-scan', '๐Ÿ” Auto-scan' +$content = $content -replace '

\?\?\? Current Image Library

', '

๐Ÿ“š Current Image Library

' +$content = $content -replace '>\?\? Refresh', '>๐Ÿ”„ Refresh' +$content = $content -replace '

\?\?\? Image Preview

', '

๐Ÿ‘๏ธ Image Preview

' + +# Audio library icons +$content = $content -replace '

\?\? Audio Library Management

', '

๐ŸŽต Audio Library Management

' +$content = $content -replace '

\?\? Import Audio Files

', '

๐Ÿ“‚ Import Audio Files

' +$content = $content -replace '>\?\? Background Music', '>๐ŸŽถ Background Music' +$content = $content -replace '>\?\? Ambient Sounds', '>๐ŸŒŠ Ambient Sounds' +$content = $content -replace '>\?\? Scan Directories', '>๐Ÿ” Scan Directories' +$content = $content -replace '

\?\? Current Audio Library

', '

๐ŸŽต Current Audio Library

' +$content = $content -replace '

\?\? Audio Preview

', '

๐Ÿ”Š Audio Preview

' + +# Video library icons +$content = $content -replace '

\?\? Video Library Management

', '

๐ŸŽฅ Video Library Management

' +$content = $content -replace '

\?\? Video Library Management

', '

๐ŸŽฌ Video Library Management

' +$content = $content -replace '>\?\? Refresh All', '>๐Ÿ”„ Refresh All' +$content = $content -replace '>\?\? Clear All', '>๐Ÿ—‘๏ธ Clear All' +$content = $content -replace '

\?\? Video Library

', '

๐Ÿ“น Video Library

' +$content = $content -replace '

\?\? Video Preview

', '

๐Ÿ‘๏ธ Video Preview

' + +# Console log emojis (keeping existing format) +$content = $content -replace "console\.log\('\?\?", "console.log('๐Ÿ”ง" +$content = $content -replace "console\.log\(`\?\?", "console.log\`๐Ÿ”ง" +$content = $content -replace "console\.warn\('\?\?", "console.warn('โš ๏ธ" +$content = $content -replace "console\.error\('\?\?", "console.error('โŒ" +$content = $content -replace "console\.error\('\?", "console.error('โŒ" + +$content | Set-Content 'index.html' -Encoding UTF8 -NoNewline + +Write-Host "Emoji fix complete!" diff --git a/index.html b/index.html index e89f1d1..4190ff4 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - +๏ปฟ @@ -168,15 +168,15 @@
@@ -189,25 +189,25 @@

Master Your Dedication - • Advanced Training System • v3.0 + รฏยฟยฝ Advanced Training System รฏยฟยฝ v3.0

- + +
@@ -271,12 +271,12 @@
- +
- - - + + +
30%
@@ -308,38 +308,38 @@
-

??? Image Library Management

+

? Image Library Management

Upload and organize image content to enhance your gaming experience

-

?? Import Image Files

+

Import Image Files

- - + +
- ?? Desktop: Native file dialogs • Supports JPEG, PNG, GIF, WebP formats + Desktop: Native file dialogs รฏยฟยฝ Supports JPEG, PNG, GIF, WebP formats
- - - - ?? Auto-scan on startup + + + + Auto-scan on startup