diff --git a/app/page.tsx b/app/page.tsx
index b984a93..44a8e15 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -1,27 +1,16 @@
-"use client"
-import useSound from 'use-sound';
+import Soundboard from '@/components/Soundboard';
+import { Metadata } from 'next';
+
+export const metadata: Metadata = {
+ title: "Doyle Gammill Soundboard",
+ description: "The huskiest sounds on the Internet!",
+};
export default function Home() {
- const [playBoyYouPlay] = useSound("/boyyouplay.m4a");
- const [playEatItUp] = useSound("/eatitup.m4a");
- const [playGangbusters] = useSound("/gangbusters.m4a");
- const [playHusky] = useSound("/husky.m4a");
- const [playPrettyFlags] = useSound("/prettyflags.m4a");
-
- const getButton = (title: string, play: () => void) => {
- return
- }
-
return (
Doyle Gammill Soundboard
-
- {getButton("Boy you play!", playBoyYouPlay)}
- {getButton("Eat It Up!", playEatItUp)}
- {getButton("Gangbusters", playGangbusters)}
- {getButton("Husky", playHusky)}
- {getButton("Pretty Flags", playPrettyFlags)}
-
+
);
}
diff --git a/components/Soundboard/index.tsx b/components/Soundboard/index.tsx
new file mode 100644
index 0000000..2b06c51
--- /dev/null
+++ b/components/Soundboard/index.tsx
@@ -0,0 +1,24 @@
+"use client"
+import useSound from 'use-sound';
+
+export default function Soundboard() {
+ const [playBoyYouPlay] = useSound("/boyyouplay.m4a");
+ const [playEatItUp] = useSound("/eatitup.m4a");
+ const [playGangbusters] = useSound("/gangbusters.m4a");
+ const [playHusky] = useSound("/husky.m4a");
+ const [playPrettyFlags] = useSound("/prettyflags.m4a");
+
+ const getButton = (title: string, play: () => void) => {
+ return
+ }
+
+ return (
+
+ {getButton("Boy you play!", playBoyYouPlay)}
+ {getButton("Eat It Up!", playEatItUp)}
+ {getButton("Gangbusters", playGangbusters)}
+ {getButton("Husky", playHusky)}
+ {getButton("Pretty Flags", playPrettyFlags)}
+
+ );
+}
\ No newline at end of file