diff --git a/index.html b/index.html
index 5cb52ce..b3d873d 100644
--- a/index.html
+++ b/index.html
@@ -1439,6 +1439,38 @@ function GuitarTuner({ onBack, onGoTuner, onGoBasics, onGoSongSearch }) {
);
}
+
+function SplashCards({ onTuner, onBasics, onSearch }) {
+ const [hovered, setHovered] = useState(null);
+ const cards = [
+ {key:"tuner", icon:"🎵", title:"Tune your guitar", desc:"Get in tune before you play. Pluck a string and the tuner guides you.", action:onTuner},
+ {key:"basics", icon:"📖", title:"Start from basics", desc:"New to guitar? Learn step by step from the very beginning.", action:onBasics},
+ {key:"search", icon:"🔍", title:"Search any song", desc:"Already know the basics? Find a song and play along with the mic.", action:onSearch},
+ ];
+ return (
+
+ );
+}
+
function App() {
const [splash, setSplash] = useState(true);
const [showTuner, setShowTuner] = useState(false);
@@ -1547,36 +1579,11 @@ function App() {
- {(()=>{
- const [hovered, setHovered] = React.useState(null);
- const cards = [
- {key:"tuner", icon:"🎵", title:"Tune your guitar", desc:"Get in tune before you play. Pluck a string and the tuner guides you.", action:()=>setShowTuner(true)},
- {key:"basics", icon:"📖", title:"Start from basics", desc:"New to guitar? Learn step by step from the very beginning.", action:()=>go(0)},
- {key:"search", icon:"🔍", title:"Search any song", desc:"Already know the basics? Find a song and play along with the mic.", action:()=>go(7)},
- ];
- return (
-