Skip to content

Commit 6ee2b20

Browse files
committed
Remove welcome message for new users from Pixel2CPP component to streamline UI. This change simplifies the initial user experience by eliminating the introductory content while maintaining core functionality.
1 parent ea9c6a3 commit 6ee2b20

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

src/Pixel2CPP.jsx

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,37 +1601,7 @@ const GFXfont ${safeName} PROGMEM = {
16011601
<div className="flex-1 min-h-0 p-4 overflow-auto">
16021602
{activeTab === 'Editor' && (
16031603
<div className="space-y-4">
1604-
{/* Welcome message for new users */}
1605-
{data.every(p => p.a === 0) && (
1606-
<div className="bg-gradient-to-r from-blue-900/30 to-purple-900/30 border border-blue-500/30 rounded-2xl p-6">
1607-
<div className="flex items-start gap-4">
1608-
<div className="w-12 h-12 bg-gradient-to-br from-blue-500 to-purple-600 rounded-xl flex items-center justify-center flex-shrink-0">
1609-
<span className="text-white font-bold text-lg">🎨</span>
1610-
</div>
1611-
<div className="flex-1">
1612-
<h3 className="text-lg font-semibold text-white mb-2">Welcome to Pixel2CPP!</h3>
1613-
<p className="text-neutral-300 mb-4">
1614-
Create pixel art and export Arduino-ready C++ code instantly. Perfect for embedded displays,
1615-
OLED screens, and microcontroller projects.
1616-
</p>
1617-
<div className="grid grid-cols-1 md:grid-cols-3 gap-3 text-sm">
1618-
<div className="flex items-center gap-2">
1619-
<span className="w-2 h-2 bg-blue-500 rounded-full"></span>
1620-
<span>Draw with left-click, erase with right-click</span>
1621-
</div>
1622-
<div className="flex items-center gap-2">
1623-
<span className="w-2 h-2 bg-emerald-500 rounded-full"></span>
1624-
<span>Use tools: Pen, Erase, Fill, Eyedropper</span>
1625-
</div>
1626-
<div className="flex items-center gap-2">
1627-
<span className="w-2 h-2 bg-purple-500 rounded-full"></span>
1628-
<span>Export code for Arduino, ESP32, and more</span>
1629-
</div>
1630-
</div>
1631-
</div>
1632-
</div>
1633-
</div>
1634-
)}
1604+
16351605

16361606
{/* Canvas Container */}
16371607
<div className="bg-neutral-900 rounded-2xl p-4 overflow-auto inline-block shadow-xl border border-neutral-700">

0 commit comments

Comments
 (0)