diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..28f1ba7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules +.DS_Store \ No newline at end of file diff --git a/components/Header.jsx b/components/Header.jsx deleted file mode 100644 index 9082f1d..0000000 --- a/components/Header.jsx +++ /dev/null @@ -1,32 +0,0 @@ -import { Link } from 'react-router-dom'; - -export default function Header({ - heading, - paragraph, - linkName, - linkUrl = '#', -}) { - return ( -
-
- logo -
-

- {heading} -

-

- {paragraph}{' '} - - {linkName} - -

-
- ); -} diff --git a/index.html b/index.html index e5d71bc..5c23a8c 100644 --- a/index.html +++ b/index.html @@ -1,8 +1,10 @@ - + + +
- + diff --git a/App.css b/src/frontend/App.css similarity index 56% rename from App.css rename to src/frontend/App.css index 902778b..672ed06 100644 --- a/App.css +++ b/src/frontend/App.css @@ -4,3 +4,9 @@ padding: 2rem; text-align: center; } + +.login-logo { + height: 100%; + width: 70%; + object-fit: cover; +} diff --git a/App.jsx b/src/frontend/App.jsx similarity index 76% rename from App.jsx rename to src/frontend/App.jsx index bd52c83..29c2148 100644 --- a/App.jsx +++ b/src/frontend/App.jsx @@ -13,9 +13,9 @@ function App() {
- } /> - } /> - } /> + } /> + } /> + } />
diff --git a/A-sounds/0.mp3 b/src/frontend/assets/A-sounds/0.mp3 similarity index 100% rename from A-sounds/0.mp3 rename to src/frontend/assets/A-sounds/0.mp3 diff --git a/A-sounds/1.mp3 b/src/frontend/assets/A-sounds/1.mp3 similarity index 100% rename from A-sounds/1.mp3 rename to src/frontend/assets/A-sounds/1.mp3 diff --git a/A-sounds/10.mp3 b/src/frontend/assets/A-sounds/10.mp3 similarity index 100% rename from A-sounds/10.mp3 rename to src/frontend/assets/A-sounds/10.mp3 diff --git a/A-sounds/11.mp3 b/src/frontend/assets/A-sounds/11.mp3 similarity index 100% rename from A-sounds/11.mp3 rename to src/frontend/assets/A-sounds/11.mp3 diff --git a/A-sounds/12.mp3 b/src/frontend/assets/A-sounds/12.mp3 similarity index 100% rename from A-sounds/12.mp3 rename to src/frontend/assets/A-sounds/12.mp3 diff --git a/A-sounds/13.mp3 b/src/frontend/assets/A-sounds/13.mp3 similarity index 100% rename from A-sounds/13.mp3 rename to src/frontend/assets/A-sounds/13.mp3 diff --git a/A-sounds/14.mp3 b/src/frontend/assets/A-sounds/14.mp3 similarity index 100% rename from A-sounds/14.mp3 rename to src/frontend/assets/A-sounds/14.mp3 diff --git a/A-sounds/15.mp3 b/src/frontend/assets/A-sounds/15.mp3 similarity index 100% rename from A-sounds/15.mp3 rename to src/frontend/assets/A-sounds/15.mp3 diff --git a/A-sounds/16.mp3 b/src/frontend/assets/A-sounds/16.mp3 similarity index 100% rename from A-sounds/16.mp3 rename to src/frontend/assets/A-sounds/16.mp3 diff --git a/A-sounds/17.mp3 b/src/frontend/assets/A-sounds/17.mp3 similarity index 100% rename from A-sounds/17.mp3 rename to src/frontend/assets/A-sounds/17.mp3 diff --git a/A-sounds/18.mp3 b/src/frontend/assets/A-sounds/18.mp3 similarity index 100% rename from A-sounds/18.mp3 rename to src/frontend/assets/A-sounds/18.mp3 diff --git a/A-sounds/19.mp3 b/src/frontend/assets/A-sounds/19.mp3 similarity index 100% rename from A-sounds/19.mp3 rename to src/frontend/assets/A-sounds/19.mp3 diff --git a/A-sounds/2.mp3 b/src/frontend/assets/A-sounds/2.mp3 similarity index 100% rename from A-sounds/2.mp3 rename to src/frontend/assets/A-sounds/2.mp3 diff --git a/A-sounds/3.mp3 b/src/frontend/assets/A-sounds/3.mp3 similarity index 100% rename from A-sounds/3.mp3 rename to src/frontend/assets/A-sounds/3.mp3 diff --git a/A-sounds/4.mp3 b/src/frontend/assets/A-sounds/4.mp3 similarity index 100% rename from A-sounds/4.mp3 rename to src/frontend/assets/A-sounds/4.mp3 diff --git a/A-sounds/5.mp3 b/src/frontend/assets/A-sounds/5.mp3 similarity index 100% rename from A-sounds/5.mp3 rename to src/frontend/assets/A-sounds/5.mp3 diff --git a/A-sounds/6.mp3 b/src/frontend/assets/A-sounds/6.mp3 similarity index 100% rename from A-sounds/6.mp3 rename to src/frontend/assets/A-sounds/6.mp3 diff --git a/A-sounds/7.mp3 b/src/frontend/assets/A-sounds/7.mp3 similarity index 100% rename from A-sounds/7.mp3 rename to src/frontend/assets/A-sounds/7.mp3 diff --git a/A-sounds/8.mp3 b/src/frontend/assets/A-sounds/8.mp3 similarity index 100% rename from A-sounds/8.mp3 rename to src/frontend/assets/A-sounds/8.mp3 diff --git a/A-sounds/9.mp3 b/src/frontend/assets/A-sounds/9.mp3 similarity index 100% rename from A-sounds/9.mp3 rename to src/frontend/assets/A-sounds/9.mp3 diff --git a/B-sounds/0.mp3 b/src/frontend/assets/B-sounds/0.mp3 similarity index 100% rename from B-sounds/0.mp3 rename to src/frontend/assets/B-sounds/0.mp3 diff --git a/B-sounds/1.mp3 b/src/frontend/assets/B-sounds/1.mp3 similarity index 100% rename from B-sounds/1.mp3 rename to src/frontend/assets/B-sounds/1.mp3 diff --git a/B-sounds/10.mp3 b/src/frontend/assets/B-sounds/10.mp3 similarity index 100% rename from B-sounds/10.mp3 rename to src/frontend/assets/B-sounds/10.mp3 diff --git a/B-sounds/11.mp3 b/src/frontend/assets/B-sounds/11.mp3 similarity index 100% rename from B-sounds/11.mp3 rename to src/frontend/assets/B-sounds/11.mp3 diff --git a/B-sounds/12.mp3 b/src/frontend/assets/B-sounds/12.mp3 similarity index 100% rename from B-sounds/12.mp3 rename to src/frontend/assets/B-sounds/12.mp3 diff --git a/B-sounds/13.mp3 b/src/frontend/assets/B-sounds/13.mp3 similarity index 100% rename from B-sounds/13.mp3 rename to src/frontend/assets/B-sounds/13.mp3 diff --git a/B-sounds/14.mp3 b/src/frontend/assets/B-sounds/14.mp3 similarity index 100% rename from B-sounds/14.mp3 rename to src/frontend/assets/B-sounds/14.mp3 diff --git a/B-sounds/15.mp3 b/src/frontend/assets/B-sounds/15.mp3 similarity index 100% rename from B-sounds/15.mp3 rename to src/frontend/assets/B-sounds/15.mp3 diff --git a/B-sounds/16.mp3 b/src/frontend/assets/B-sounds/16.mp3 similarity index 100% rename from B-sounds/16.mp3 rename to src/frontend/assets/B-sounds/16.mp3 diff --git a/B-sounds/17.mp3 b/src/frontend/assets/B-sounds/17.mp3 similarity index 100% rename from B-sounds/17.mp3 rename to src/frontend/assets/B-sounds/17.mp3 diff --git a/B-sounds/18.mp3 b/src/frontend/assets/B-sounds/18.mp3 similarity index 100% rename from B-sounds/18.mp3 rename to src/frontend/assets/B-sounds/18.mp3 diff --git a/B-sounds/19.mp3 b/src/frontend/assets/B-sounds/19.mp3 similarity index 100% rename from B-sounds/19.mp3 rename to src/frontend/assets/B-sounds/19.mp3 diff --git a/B-sounds/2.mp3 b/src/frontend/assets/B-sounds/2.mp3 similarity index 100% rename from B-sounds/2.mp3 rename to src/frontend/assets/B-sounds/2.mp3 diff --git a/B-sounds/3.mp3 b/src/frontend/assets/B-sounds/3.mp3 similarity index 100% rename from B-sounds/3.mp3 rename to src/frontend/assets/B-sounds/3.mp3 diff --git a/B-sounds/4.mp3 b/src/frontend/assets/B-sounds/4.mp3 similarity index 100% rename from B-sounds/4.mp3 rename to src/frontend/assets/B-sounds/4.mp3 diff --git a/B-sounds/5.mp3 b/src/frontend/assets/B-sounds/5.mp3 similarity index 100% rename from B-sounds/5.mp3 rename to src/frontend/assets/B-sounds/5.mp3 diff --git a/B-sounds/6.mp3 b/src/frontend/assets/B-sounds/6.mp3 similarity index 100% rename from B-sounds/6.mp3 rename to src/frontend/assets/B-sounds/6.mp3 diff --git a/B-sounds/7.mp3 b/src/frontend/assets/B-sounds/7.mp3 similarity index 100% rename from B-sounds/7.mp3 rename to src/frontend/assets/B-sounds/7.mp3 diff --git a/B-sounds/8.mp3 b/src/frontend/assets/B-sounds/8.mp3 similarity index 100% rename from B-sounds/8.mp3 rename to src/frontend/assets/B-sounds/8.mp3 diff --git a/B-sounds/9.mp3 b/src/frontend/assets/B-sounds/9.mp3 similarity index 100% rename from B-sounds/9.mp3 rename to src/frontend/assets/B-sounds/9.mp3 diff --git a/D-sounds/0.mp3 b/src/frontend/assets/D-sounds/0.mp3 similarity index 100% rename from D-sounds/0.mp3 rename to src/frontend/assets/D-sounds/0.mp3 diff --git a/D-sounds/1.mp3 b/src/frontend/assets/D-sounds/1.mp3 similarity index 100% rename from D-sounds/1.mp3 rename to src/frontend/assets/D-sounds/1.mp3 diff --git a/D-sounds/10.mp3 b/src/frontend/assets/D-sounds/10.mp3 similarity index 100% rename from D-sounds/10.mp3 rename to src/frontend/assets/D-sounds/10.mp3 diff --git a/D-sounds/11.mp3 b/src/frontend/assets/D-sounds/11.mp3 similarity index 100% rename from D-sounds/11.mp3 rename to src/frontend/assets/D-sounds/11.mp3 diff --git a/D-sounds/12.mp3 b/src/frontend/assets/D-sounds/12.mp3 similarity index 100% rename from D-sounds/12.mp3 rename to src/frontend/assets/D-sounds/12.mp3 diff --git a/D-sounds/13.mp3 b/src/frontend/assets/D-sounds/13.mp3 similarity index 100% rename from D-sounds/13.mp3 rename to src/frontend/assets/D-sounds/13.mp3 diff --git a/D-sounds/14.mp3 b/src/frontend/assets/D-sounds/14.mp3 similarity index 100% rename from D-sounds/14.mp3 rename to src/frontend/assets/D-sounds/14.mp3 diff --git a/D-sounds/15.mp3 b/src/frontend/assets/D-sounds/15.mp3 similarity index 100% rename from D-sounds/15.mp3 rename to src/frontend/assets/D-sounds/15.mp3 diff --git a/D-sounds/16.mp3 b/src/frontend/assets/D-sounds/16.mp3 similarity index 100% rename from D-sounds/16.mp3 rename to src/frontend/assets/D-sounds/16.mp3 diff --git a/D-sounds/17.mp3 b/src/frontend/assets/D-sounds/17.mp3 similarity index 100% rename from D-sounds/17.mp3 rename to src/frontend/assets/D-sounds/17.mp3 diff --git a/D-sounds/18.mp3 b/src/frontend/assets/D-sounds/18.mp3 similarity index 100% rename from D-sounds/18.mp3 rename to src/frontend/assets/D-sounds/18.mp3 diff --git a/D-sounds/2.mp3 b/src/frontend/assets/D-sounds/2.mp3 similarity index 100% rename from D-sounds/2.mp3 rename to src/frontend/assets/D-sounds/2.mp3 diff --git a/D-sounds/3.mp3 b/src/frontend/assets/D-sounds/3.mp3 similarity index 100% rename from D-sounds/3.mp3 rename to src/frontend/assets/D-sounds/3.mp3 diff --git a/D-sounds/4.mp3 b/src/frontend/assets/D-sounds/4.mp3 similarity index 100% rename from D-sounds/4.mp3 rename to src/frontend/assets/D-sounds/4.mp3 diff --git a/D-sounds/5.mp3 b/src/frontend/assets/D-sounds/5.mp3 similarity index 100% rename from D-sounds/5.mp3 rename to src/frontend/assets/D-sounds/5.mp3 diff --git a/D-sounds/6.mp3 b/src/frontend/assets/D-sounds/6.mp3 similarity index 100% rename from D-sounds/6.mp3 rename to src/frontend/assets/D-sounds/6.mp3 diff --git a/D-sounds/7.mp3 b/src/frontend/assets/D-sounds/7.mp3 similarity index 100% rename from D-sounds/7.mp3 rename to src/frontend/assets/D-sounds/7.mp3 diff --git a/D-sounds/8.mp3 b/src/frontend/assets/D-sounds/8.mp3 similarity index 100% rename from D-sounds/8.mp3 rename to src/frontend/assets/D-sounds/8.mp3 diff --git a/D-sounds/9.mp3 b/src/frontend/assets/D-sounds/9.mp3 similarity index 100% rename from D-sounds/9.mp3 rename to src/frontend/assets/D-sounds/9.mp3 diff --git a/G-sounds/0.mp3 b/src/frontend/assets/G-sounds/0.mp3 similarity index 100% rename from G-sounds/0.mp3 rename to src/frontend/assets/G-sounds/0.mp3 diff --git a/G-sounds/1.mp3 b/src/frontend/assets/G-sounds/1.mp3 similarity index 100% rename from G-sounds/1.mp3 rename to src/frontend/assets/G-sounds/1.mp3 diff --git a/G-sounds/10.mp3 b/src/frontend/assets/G-sounds/10.mp3 similarity index 100% rename from G-sounds/10.mp3 rename to src/frontend/assets/G-sounds/10.mp3 diff --git a/G-sounds/11.mp3 b/src/frontend/assets/G-sounds/11.mp3 similarity index 100% rename from G-sounds/11.mp3 rename to src/frontend/assets/G-sounds/11.mp3 diff --git a/G-sounds/12.mp3 b/src/frontend/assets/G-sounds/12.mp3 similarity index 100% rename from G-sounds/12.mp3 rename to src/frontend/assets/G-sounds/12.mp3 diff --git a/G-sounds/13.mp3 b/src/frontend/assets/G-sounds/13.mp3 similarity index 100% rename from G-sounds/13.mp3 rename to src/frontend/assets/G-sounds/13.mp3 diff --git a/G-sounds/14.mp3 b/src/frontend/assets/G-sounds/14.mp3 similarity index 100% rename from G-sounds/14.mp3 rename to src/frontend/assets/G-sounds/14.mp3 diff --git a/G-sounds/15.mp3 b/src/frontend/assets/G-sounds/15.mp3 similarity index 100% rename from G-sounds/15.mp3 rename to src/frontend/assets/G-sounds/15.mp3 diff --git a/G-sounds/16.mp3 b/src/frontend/assets/G-sounds/16.mp3 similarity index 100% rename from G-sounds/16.mp3 rename to src/frontend/assets/G-sounds/16.mp3 diff --git a/G-sounds/17.mp3 b/src/frontend/assets/G-sounds/17.mp3 similarity index 100% rename from G-sounds/17.mp3 rename to src/frontend/assets/G-sounds/17.mp3 diff --git a/G-sounds/18.mp3 b/src/frontend/assets/G-sounds/18.mp3 similarity index 100% rename from G-sounds/18.mp3 rename to src/frontend/assets/G-sounds/18.mp3 diff --git a/G-sounds/2.mp3 b/src/frontend/assets/G-sounds/2.mp3 similarity index 100% rename from G-sounds/2.mp3 rename to src/frontend/assets/G-sounds/2.mp3 diff --git a/G-sounds/3.mp3 b/src/frontend/assets/G-sounds/3.mp3 similarity index 100% rename from G-sounds/3.mp3 rename to src/frontend/assets/G-sounds/3.mp3 diff --git a/G-sounds/4.mp3 b/src/frontend/assets/G-sounds/4.mp3 similarity index 100% rename from G-sounds/4.mp3 rename to src/frontend/assets/G-sounds/4.mp3 diff --git a/G-sounds/5.mp3 b/src/frontend/assets/G-sounds/5.mp3 similarity index 100% rename from G-sounds/5.mp3 rename to src/frontend/assets/G-sounds/5.mp3 diff --git a/G-sounds/6.mp3 b/src/frontend/assets/G-sounds/6.mp3 similarity index 100% rename from G-sounds/6.mp3 rename to src/frontend/assets/G-sounds/6.mp3 diff --git a/G-sounds/7.mp3 b/src/frontend/assets/G-sounds/7.mp3 similarity index 100% rename from G-sounds/7.mp3 rename to src/frontend/assets/G-sounds/7.mp3 diff --git a/G-sounds/8.mp3 b/src/frontend/assets/G-sounds/8.mp3 similarity index 100% rename from G-sounds/8.mp3 rename to src/frontend/assets/G-sounds/8.mp3 diff --git a/G-sounds/9.mp3 b/src/frontend/assets/G-sounds/9.mp3 similarity index 100% rename from G-sounds/9.mp3 rename to src/frontend/assets/G-sounds/9.mp3 diff --git a/highE-sounds/0.mp3 b/src/frontend/assets/highE-sounds/0.mp3 similarity index 100% rename from highE-sounds/0.mp3 rename to src/frontend/assets/highE-sounds/0.mp3 diff --git a/highE-sounds/1.mp3 b/src/frontend/assets/highE-sounds/1.mp3 similarity index 100% rename from highE-sounds/1.mp3 rename to src/frontend/assets/highE-sounds/1.mp3 diff --git a/highE-sounds/10.mp3 b/src/frontend/assets/highE-sounds/10.mp3 similarity index 100% rename from highE-sounds/10.mp3 rename to src/frontend/assets/highE-sounds/10.mp3 diff --git a/highE-sounds/11.mp3 b/src/frontend/assets/highE-sounds/11.mp3 similarity index 100% rename from highE-sounds/11.mp3 rename to src/frontend/assets/highE-sounds/11.mp3 diff --git a/highE-sounds/12.mp3 b/src/frontend/assets/highE-sounds/12.mp3 similarity index 100% rename from highE-sounds/12.mp3 rename to src/frontend/assets/highE-sounds/12.mp3 diff --git a/highE-sounds/13.mp3 b/src/frontend/assets/highE-sounds/13.mp3 similarity index 100% rename from highE-sounds/13.mp3 rename to src/frontend/assets/highE-sounds/13.mp3 diff --git a/highE-sounds/14.mp3 b/src/frontend/assets/highE-sounds/14.mp3 similarity index 100% rename from highE-sounds/14.mp3 rename to src/frontend/assets/highE-sounds/14.mp3 diff --git a/highE-sounds/15.mp3 b/src/frontend/assets/highE-sounds/15.mp3 similarity index 100% rename from highE-sounds/15.mp3 rename to src/frontend/assets/highE-sounds/15.mp3 diff --git a/highE-sounds/16.mp3 b/src/frontend/assets/highE-sounds/16.mp3 similarity index 100% rename from highE-sounds/16.mp3 rename to src/frontend/assets/highE-sounds/16.mp3 diff --git a/highE-sounds/17.mp3 b/src/frontend/assets/highE-sounds/17.mp3 similarity index 100% rename from highE-sounds/17.mp3 rename to src/frontend/assets/highE-sounds/17.mp3 diff --git a/highE-sounds/18.mp3 b/src/frontend/assets/highE-sounds/18.mp3 similarity index 100% rename from highE-sounds/18.mp3 rename to src/frontend/assets/highE-sounds/18.mp3 diff --git a/highE-sounds/2.mp3 b/src/frontend/assets/highE-sounds/2.mp3 similarity index 100% rename from highE-sounds/2.mp3 rename to src/frontend/assets/highE-sounds/2.mp3 diff --git a/highE-sounds/3.mp3 b/src/frontend/assets/highE-sounds/3.mp3 similarity index 100% rename from highE-sounds/3.mp3 rename to src/frontend/assets/highE-sounds/3.mp3 diff --git a/highE-sounds/4.mp3 b/src/frontend/assets/highE-sounds/4.mp3 similarity index 100% rename from highE-sounds/4.mp3 rename to src/frontend/assets/highE-sounds/4.mp3 diff --git a/highE-sounds/5.mp3 b/src/frontend/assets/highE-sounds/5.mp3 similarity index 100% rename from highE-sounds/5.mp3 rename to src/frontend/assets/highE-sounds/5.mp3 diff --git a/highE-sounds/6.mp3 b/src/frontend/assets/highE-sounds/6.mp3 similarity index 100% rename from highE-sounds/6.mp3 rename to src/frontend/assets/highE-sounds/6.mp3 diff --git a/highE-sounds/7.mp3 b/src/frontend/assets/highE-sounds/7.mp3 similarity index 100% rename from highE-sounds/7.mp3 rename to src/frontend/assets/highE-sounds/7.mp3 diff --git a/highE-sounds/8.mp3 b/src/frontend/assets/highE-sounds/8.mp3 similarity index 100% rename from highE-sounds/8.mp3 rename to src/frontend/assets/highE-sounds/8.mp3 diff --git a/highE-sounds/9.mp3 b/src/frontend/assets/highE-sounds/9.mp3 similarity index 100% rename from highE-sounds/9.mp3 rename to src/frontend/assets/highE-sounds/9.mp3 diff --git a/src/frontend/assets/images/acoustic-guitar-logo.jpeg b/src/frontend/assets/images/acoustic-guitar-logo.jpeg new file mode 100644 index 0000000..4d0f696 Binary files /dev/null and b/src/frontend/assets/images/acoustic-guitar-logo.jpeg differ diff --git a/Images/blankTab.png b/src/frontend/assets/images/blankTab.png similarity index 100% rename from Images/blankTab.png rename to src/frontend/assets/images/blankTab.png diff --git a/lowE-sounds/0.mp3 b/src/frontend/assets/lowE-sounds/0.mp3 similarity index 100% rename from lowE-sounds/0.mp3 rename to src/frontend/assets/lowE-sounds/0.mp3 diff --git a/lowE-sounds/1.mp3 b/src/frontend/assets/lowE-sounds/1.mp3 similarity index 100% rename from lowE-sounds/1.mp3 rename to src/frontend/assets/lowE-sounds/1.mp3 diff --git a/lowE-sounds/10.mp3 b/src/frontend/assets/lowE-sounds/10.mp3 similarity index 100% rename from lowE-sounds/10.mp3 rename to src/frontend/assets/lowE-sounds/10.mp3 diff --git a/lowE-sounds/11.mp3 b/src/frontend/assets/lowE-sounds/11.mp3 similarity index 100% rename from lowE-sounds/11.mp3 rename to src/frontend/assets/lowE-sounds/11.mp3 diff --git a/lowE-sounds/12.mp3 b/src/frontend/assets/lowE-sounds/12.mp3 similarity index 100% rename from lowE-sounds/12.mp3 rename to src/frontend/assets/lowE-sounds/12.mp3 diff --git a/lowE-sounds/13.mp3 b/src/frontend/assets/lowE-sounds/13.mp3 similarity index 100% rename from lowE-sounds/13.mp3 rename to src/frontend/assets/lowE-sounds/13.mp3 diff --git a/lowE-sounds/14.mp3 b/src/frontend/assets/lowE-sounds/14.mp3 similarity index 100% rename from lowE-sounds/14.mp3 rename to src/frontend/assets/lowE-sounds/14.mp3 diff --git a/lowE-sounds/15.mp3 b/src/frontend/assets/lowE-sounds/15.mp3 similarity index 100% rename from lowE-sounds/15.mp3 rename to src/frontend/assets/lowE-sounds/15.mp3 diff --git a/lowE-sounds/16.mp3 b/src/frontend/assets/lowE-sounds/16.mp3 similarity index 100% rename from lowE-sounds/16.mp3 rename to src/frontend/assets/lowE-sounds/16.mp3 diff --git a/lowE-sounds/17.mp3 b/src/frontend/assets/lowE-sounds/17.mp3 similarity index 100% rename from lowE-sounds/17.mp3 rename to src/frontend/assets/lowE-sounds/17.mp3 diff --git a/lowE-sounds/18.mp3 b/src/frontend/assets/lowE-sounds/18.mp3 similarity index 100% rename from lowE-sounds/18.mp3 rename to src/frontend/assets/lowE-sounds/18.mp3 diff --git a/lowE-sounds/19.mp3 b/src/frontend/assets/lowE-sounds/19.mp3 similarity index 100% rename from lowE-sounds/19.mp3 rename to src/frontend/assets/lowE-sounds/19.mp3 diff --git a/lowE-sounds/2.mp3 b/src/frontend/assets/lowE-sounds/2.mp3 similarity index 100% rename from lowE-sounds/2.mp3 rename to src/frontend/assets/lowE-sounds/2.mp3 diff --git a/lowE-sounds/3.mp3 b/src/frontend/assets/lowE-sounds/3.mp3 similarity index 100% rename from lowE-sounds/3.mp3 rename to src/frontend/assets/lowE-sounds/3.mp3 diff --git a/lowE-sounds/4.mp3 b/src/frontend/assets/lowE-sounds/4.mp3 similarity index 100% rename from lowE-sounds/4.mp3 rename to src/frontend/assets/lowE-sounds/4.mp3 diff --git a/lowE-sounds/5.mp3 b/src/frontend/assets/lowE-sounds/5.mp3 similarity index 100% rename from lowE-sounds/5.mp3 rename to src/frontend/assets/lowE-sounds/5.mp3 diff --git a/lowE-sounds/6.mp3 b/src/frontend/assets/lowE-sounds/6.mp3 similarity index 100% rename from lowE-sounds/6.mp3 rename to src/frontend/assets/lowE-sounds/6.mp3 diff --git a/lowE-sounds/7.mp3 b/src/frontend/assets/lowE-sounds/7.mp3 similarity index 100% rename from lowE-sounds/7.mp3 rename to src/frontend/assets/lowE-sounds/7.mp3 diff --git a/lowE-sounds/8.mp3 b/src/frontend/assets/lowE-sounds/8.mp3 similarity index 100% rename from lowE-sounds/8.mp3 rename to src/frontend/assets/lowE-sounds/8.mp3 diff --git a/lowE-sounds/9.mp3 b/src/frontend/assets/lowE-sounds/9.mp3 similarity index 100% rename from lowE-sounds/9.mp3 rename to src/frontend/assets/lowE-sounds/9.mp3 diff --git a/chords/A-chords.mjs b/src/frontend/chords/A-chords.mjs similarity index 100% rename from chords/A-chords.mjs rename to src/frontend/chords/A-chords.mjs diff --git a/chords/B-chords.mjs b/src/frontend/chords/B-chords.mjs similarity index 100% rename from chords/B-chords.mjs rename to src/frontend/chords/B-chords.mjs diff --git a/chords/C-chords.mjs b/src/frontend/chords/C-chords.mjs similarity index 100% rename from chords/C-chords.mjs rename to src/frontend/chords/C-chords.mjs diff --git a/chords/Chord-finder.mjs b/src/frontend/chords/Chord-finder.mjs similarity index 100% rename from chords/Chord-finder.mjs rename to src/frontend/chords/Chord-finder.mjs diff --git a/chords/D-chords.mjs b/src/frontend/chords/D-chords.mjs similarity index 100% rename from chords/D-chords.mjs rename to src/frontend/chords/D-chords.mjs diff --git a/chords/E-chords.mjs b/src/frontend/chords/E-chords.mjs similarity index 100% rename from chords/E-chords.mjs rename to src/frontend/chords/E-chords.mjs diff --git a/chords/F-chords.mjs b/src/frontend/chords/F-chords.mjs similarity index 100% rename from chords/F-chords.mjs rename to src/frontend/chords/F-chords.mjs diff --git a/chords/Frets.mjs b/src/frontend/chords/Frets.mjs similarity index 100% rename from chords/Frets.mjs rename to src/frontend/chords/Frets.mjs diff --git a/chords/G-chords.mjs b/src/frontend/chords/G-chords.mjs similarity index 100% rename from chords/G-chords.mjs rename to src/frontend/chords/G-chords.mjs diff --git a/chords/Guitar.mjs b/src/frontend/chords/Guitar.mjs similarity index 100% rename from chords/Guitar.mjs rename to src/frontend/chords/Guitar.mjs diff --git a/chords/chordProg.mjs b/src/frontend/chords/chordProg.mjs similarity index 100% rename from chords/chordProg.mjs rename to src/frontend/chords/chordProg.mjs diff --git a/components/ChordDisplay.css b/src/frontend/components/ChordDisplay.css similarity index 100% rename from components/ChordDisplay.css rename to src/frontend/components/ChordDisplay.css diff --git a/components/ChordDisplay.jsx b/src/frontend/components/ChordDisplay.jsx similarity index 95% rename from components/ChordDisplay.jsx rename to src/frontend/components/ChordDisplay.jsx index 4f10a57..b3ac738 100644 --- a/components/ChordDisplay.jsx +++ b/src/frontend/components/ChordDisplay.jsx @@ -1,9 +1,9 @@ // ChordDisplay.jsx import React from 'react'; import DraggableChord from './DraggableChord'; -import { allC } from '../../../chords/C-chords.mjs'; +import { allC } from '../chords/C-chords.mjs'; import './ChordDisplay.css'; -import { frets } from '../../../chords/Frets.mjs'; +import { frets } from '../chords/Frets.mjs'; export default function ChordDisplay({ selectedOption }) { function findChordByName(objectsArray, targetName) { @@ -16,7 +16,7 @@ export default function ChordDisplay({ selectedOption }) { function mapChord(chord) { for (let i = 1; i < Object.values(chord).length; i++) { const reversedChordLine = ( -
+
{chord[i] .slice() .reverse() @@ -168,11 +168,11 @@ export default function ChordDisplay({ selectedOption }) { const chunkedChordData = chunkArray(chordData, 4); return ( -
+
{chunkedChordData.map((row, rowIndex) => (
{row.map((chord, colIndex) => ( -
+
))} diff --git a/components/ChordSelect.jsx b/src/frontend/components/ChordSelect.jsx similarity index 71% rename from components/ChordSelect.jsx rename to src/frontend/components/ChordSelect.jsx index 737b8be..3ca4622 100644 --- a/components/ChordSelect.jsx +++ b/src/frontend/components/ChordSelect.jsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { allCNames } from '../../../chords/C-chords.mjs'; +import { allCNames } from '../chords/C-chords.mjs'; export default function ChordSelect({ onSelect }) { const [selectedOption, setSelectedOption] = useState(''); @@ -13,9 +13,9 @@ export default function ChordSelect({ onSelect }) { return (
- - + {options.map((option, index) => (