diff --git a/components/LatestPage/index.jsx b/components/LatestPage/index.jsx deleted file mode 100644 index f1aed3c..0000000 --- a/components/LatestPage/index.jsx +++ /dev/null @@ -1,19 +0,0 @@ -// import React from "react"; -// import HotSongs from "../modules/HotSongs"; -// import TopSongs from "../modules/TopSongs/TopSongs"; -// import PageCard from "../modules/__modules__/Card/PageCard"; - -// const LatestPage = () => { -// return ( -//
-// -//
-// -// -//
-//
-//
-// ); -// }; - -// export default LatestPage; diff --git a/components/LatestPage/index.tsx b/components/LatestPage/index.tsx new file mode 100644 index 0000000..ac36330 --- /dev/null +++ b/components/LatestPage/index.tsx @@ -0,0 +1,19 @@ +import React from "react"; +import HotSongs from "../modules/HotSongs"; +import TopSongs from "../modules/TopSongs/TopSongs"; +import PageCard from "../modules/__modules__/Card/PageCard"; + +const LatestPage = () => { + return ( +
+ null}> +
+ + +
+
+
+ ); +}; + +export default LatestPage; diff --git a/components/Maintenance/Maintenance.jsx b/components/Maintenance/Maintenance.jsx deleted file mode 100644 index 036dd27..0000000 --- a/components/Maintenance/Maintenance.jsx +++ /dev/null @@ -1,56 +0,0 @@ -// import React from 'react' -// import { useRouter } from "next/router"; -// import { -// ExclamationCircle, -// LayoutTopLine, -// Clock -// } from '../modules/__modules/Vectors/index' - -// const Maintenance = () => { -// const router = useRouter(); - -// return ( -//
-//
-//
-// logo -//

We are Currently Performing Maintenance

-//

Please chack back sometime

-//
-//
- -//
-//
-// -// < LayoutTopLine size={54} /> -// -//

Why is the Down

-//

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

-//
-//
-//
-//
-// -// -// -//

What is the Downtime?

-//

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

-//
-//
-//
-//
-// -// -// -//

Do you need Support?

-//

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

-//
-//
-//
-//
- -//
-// ) -// } - -// export default Maintenance diff --git a/components/Maintenance/Maintenance.tsx b/components/Maintenance/Maintenance.tsx new file mode 100644 index 0000000..a70e5e5 --- /dev/null +++ b/components/Maintenance/Maintenance.tsx @@ -0,0 +1,69 @@ +import React from "react"; +import { useRouter } from "next/router"; +import { + ExclamationCircle, + LayoutTopLine, + Clock, +} from "../modules/__modules/Vectors/index"; + +const Maintenance = () => { + const router = useRouter(); + + return ( +
+
+
+ logo +

+ We are Currently Performing Maintenance +

+

Please chack back sometime

+
+
+
+
+ + + +

Why is the Down

+

+ It is a long established fact that a reader will be distracted + by the readable content of a page when looking at its layout. +

+
+
+
+
+ + + +

What is the Downtime?

+

+ It is a long established fact that a reader will be distracted + by the readable content of a page when looking at its layout. +

+
+
+
+
+ + + +

Do you need Support?

+

+ It is a long established fact that a reader will be distracted + by the readable content of a page when looking at its layout. +

+
+
+
+
+
+ ); +}; + +export default Maintenance; diff --git a/components/Maintenance/index.jsx b/components/Maintenance/index.jsx deleted file mode 100644 index f4f631c..0000000 --- a/components/Maintenance/index.jsx +++ /dev/null @@ -1,52 +0,0 @@ -// import React from 'react' -// import { -// ExclamationCircle, -// LayoutTopLine, -// Clock -// } from '../modules/__modules/Vectors/index'; -// import MaintenanceImg from '../modules/static/images/MaintenanceGuy,png' -// const Index = () => { - -// return ( -//
-//
-//
-// logo -//

We are Currently Performing Maintenance

-//

Please chack back sometime

-//
-//
-//
-//
-// -// < LayoutTopLine size={54} /> -// -//

Why is the Down

-//

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

-//
-//
-//
-//
-// -// -// -//

What is the Downtime?

-//

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

-//
-//
-//
-//
-// -// -// -//

Do you need Support?

-//

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

-//
-//
-//
-//
-//
-// ) -// } - -// export default Index diff --git a/components/Maintenance/index.tsx b/components/Maintenance/index.tsx new file mode 100644 index 0000000..bc417df --- /dev/null +++ b/components/Maintenance/index.tsx @@ -0,0 +1,67 @@ +import React from "react"; +import { + ExclamationCircle, + LayoutTopLine, + Clock, +} from "../modules/__modules/Vectors/index"; +import MaintenanceImg from "../modules/static/images/MaintenanceGuy.png"; + +const Index = () => { + return ( +
+
+
+ logo +

+ We are Currently Performing Maintenance +

+

Please chack back sometime

+
+
+
+
+ + + +

Why is the Down

+

+ It is a long established fact that a reader will be distracted + by the readable content of a page when looking at its layout. +

+
+
+
+
+ + + +

What is the Downtime?

+

+ It is a long established fact that a reader will be distracted + by the readable content of a page when looking at its layout. +

+
+
+
+
+ + + +

Do you need Support?

+

+ It is a long established fact that a reader will be distracted + by the readable content of a page when looking at its layout. +

+
+
+
+
+
+ ); +}; + +export default Index; diff --git a/components/dummy_data/dailySalesData.js b/components/dummy_data/dailySalesData.js deleted file mode 100644 index ba20f5b..0000000 --- a/components/dummy_data/dailySalesData.js +++ /dev/null @@ -1,30 +0,0 @@ -// export const dailySalesData = [ -// { -// id:1, -// img:"https://templates.iqonic.design/muzik/html/images/dashboard/feature-album/01.png", -// title:"sabali", -// artist:"Damian Marley", -// amount: 83 -// }, -// { -// id:2, -// img:"https://templates.iqonic.design/muzik/html/images/dashboard/popular-hindi-song/02.png", -// title:"Holly Mountain", -// artist:"Bob Marley", -// amount: 83 -// }, -// { -// id:3, -// img:"https://templates.iqonic.design/muzik/html/images/dashboard/popular-hindi-song/06.png", -// title:"In My pocket", -// artist:"Duro lite", -// amount: 83 -// }, -// { -// id:4, -// img:"https://templates.iqonic.design/muzik/html/images/dashboard/feature-album/01.png", -// title:"Call away", -// artist:"Charlie puth", -// amount: 83 -// } -// ] diff --git a/components/dummy_data/dailySalesData.ts b/components/dummy_data/dailySalesData.ts new file mode 100644 index 0000000..0ffdf13 --- /dev/null +++ b/components/dummy_data/dailySalesData.ts @@ -0,0 +1,30 @@ +export const dailySalesData = [ + { + id: 1, + img: "https://templates.iqonic.design/muzik/html/images/dashboard/feature-album/01.png", + title: "sabali", + artist: "Damian Marley", + amount: 83, + }, + { + id: 2, + img: "https://templates.iqonic.design/muzik/html/images/dashboard/popular-hindi-song/02.png", + title: "Holly Mountain", + artist: "Bob Marley", + amount: 83, + }, + { + id: 3, + img: "https://templates.iqonic.design/muzik/html/images/dashboard/popular-hindi-song/06.png", + title: "In My pocket", + artist: "Duro lite", + amount: 83, + }, + { + id: 4, + img: "https://templates.iqonic.design/muzik/html/images/dashboard/feature-album/01.png", + title: "Call away", + artist: "Charlie puth", + amount: 83, + }, +]; diff --git a/components/modules/FeaturedAlbum/index.jsx b/components/modules/FeaturedAlbum/index.jsx deleted file mode 100644 index 0fb5885..0000000 --- a/components/modules/FeaturedAlbum/index.jsx +++ /dev/null @@ -1,25 +0,0 @@ -// import React, { useState } from "react"; -// import FeaturedAlbumCard from "../__modules__/Card/FeaturedAlbumCard"; -// import Carousel from "../__modules__/Carousel"; -// import { topSongsData } from "../../dummy_data/topSongsData"; - -// const FeaturedAlbum = () => { -// const [data, _] = useState(topSongsData.slice(0, 6)); -// return ( -// -// {data.map((song) => { -// return ( -// <> -// -// -// ); -// })} -// -// ); -// }; - -// export default FeaturedAlbum; diff --git a/components/modules/FeaturedAlbum/index.tsx b/components/modules/FeaturedAlbum/index.tsx new file mode 100644 index 0000000..a777559 --- /dev/null +++ b/components/modules/FeaturedAlbum/index.tsx @@ -0,0 +1,25 @@ +import React, { useState } from "react"; +import FeaturedAlbumCard from "../__modules__/Card/FeaturedAlbumCard"; +import Carousel from "../__modules__/Carousel"; +import { topSongsData } from "../../dummy_data/topSongsData"; + +const FeaturedAlbum = () => { + const [data, _] = useState(topSongsData.slice(0, 6)); + return ( + + {data.map((song) => { + return ( + <> + + + ); + })} + + ); +}; + +export default FeaturedAlbum; diff --git a/components/modules/Singers/index.jsx b/components/modules/Singers/index.jsx deleted file mode 100644 index ea20675..0000000 --- a/components/modules/Singers/index.jsx +++ /dev/null @@ -1,96 +0,0 @@ -// import React from "react"; -// import { VPen, VTrash } from "../__modules/Vectors"; -// import Link from "next/link"; -// import PropTypes from "prop-types"; - -// const Singers = ({ isTopNav }) => { -// return ( -//
-//
-//

Singer Lists

-// -// -// -//
-//
-//
-// -// -//

entries

-//
-//
-// -// -//
-//
-//
-// -// -// -// -// -// -// -// -// -// {Array.from({ length: 10 }).map((_, index) => { -// return ( -// -// -// -// -// -// -// -// ); -// })} -// -//
NoProfileEmailSong DescriptionAction
{index + 1} -// {index} -// galiendcodes13@gmail.com -// Lorem ipsum dolor sit amet consectetur adipisicing elit. -// Laborum, quasi. -// -//
-// -// -//
-//
-//
-//
-// ); -// }; - -// Singers.propTypes = { -// isTopNav: PropTypes.bool.isRequired, -// }; - -// export default Singers; diff --git a/components/modules/Singers/index.tsx b/components/modules/Singers/index.tsx new file mode 100644 index 0000000..14bd4bc --- /dev/null +++ b/components/modules/Singers/index.tsx @@ -0,0 +1,95 @@ +import React, { FC } from "react"; +import { VPen, VTrash } from "../__modules/Vectors"; +import Link from "next/link"; + +interface SingersProps { + isTopNav: boolean; +} + +const Singers: FC = ({ isTopNav }) => { + return ( +
+
+

Singer Lists

+ + + +
+
+
+ + +

entries

+
+
+ + +
+
+
+ + + + + + + + + + {Array.from({ length: 10 }).map((_, index) => { + return ( + + + + + + + + ); + })} + +
NoProfileEmailSong DescriptionAction
{index + 1} + {`${index}_singer`} + galiendcodes13@gmail.com + Lorem ipsum dolor sit amet consectetur adipisicing elit. + Laborum, quasi. + +
+ + +
+
+
+
+ ); +}; + +export default Singers; diff --git a/components/modules/__modules__/Card/FeaturedAlbumCard.jsx b/components/modules/__modules__/Card/FeaturedAlbumCard.jsx deleted file mode 100644 index cccfaf0..0000000 --- a/components/modules/__modules__/Card/FeaturedAlbumCard.jsx +++ /dev/null @@ -1,29 +0,0 @@ -// import React from "react"; -// import PropTypes from "prop-types"; - -// const FeaturedAlbumCard = ({ album }) => { -// return ( -//
-//
-//
-// {album.artist} -//
- -//
-//

{album.title}

-//

{album.artist}

-//
-//
-//
-// ); -// }; - -// FeaturedAlbumCard.propTypes = { -// album: PropTypes.object.isRequired, -// }; - -// export default FeaturedAlbumCard; diff --git a/components/modules/__modules__/Card/FeaturedAlbumCard.tsx b/components/modules/__modules__/Card/FeaturedAlbumCard.tsx new file mode 100644 index 0000000..71a299b --- /dev/null +++ b/components/modules/__modules__/Card/FeaturedAlbumCard.tsx @@ -0,0 +1,29 @@ +import React, { FC } from "react"; +import { ISong } from "../../../../types"; + +interface FeaturedAlbumCardProps { + album: ISong; +} + +const FeaturedAlbumCard: FC = ({ album }) => { + return ( +
+
+
+ {album.artist} +
+ +
+

{album.title}

+

{album.artist}

+
+
+
+ ); +}; + +export default FeaturedAlbumCard; diff --git a/components/modules/__modules__/Card/PageCard.tsx b/components/modules/__modules__/Card/PageCard.tsx index 8eb87cd..864eec6 100644 --- a/components/modules/__modules__/Card/PageCard.tsx +++ b/components/modules/__modules__/Card/PageCard.tsx @@ -1,4 +1,3 @@ - import React, { Dispatch, FC, SetStateAction } from "react"; import { useRecoilValue } from "recoil"; import { leftNavPinedAtom } from "../../../lib/atoms"; @@ -11,7 +10,6 @@ interface IProps { } const PageCard: FC = ({ children, setIsTopNav }) => { - const isLeftNavPined = useRecoilValue(leftNavPinedAtom); return ( <> @@ -19,7 +17,6 @@ const PageCard: FC = ({ children, setIsTopNav }) => { className={`relative flex flex-col ${ !isLeftNavPined ? "ml-28 transition-all" : "transition-all ml-72" } mobile:ml-5`} - > {children} diff --git a/tsconfig.json b/tsconfig.json index ec72e7c..421d2ae 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,6 +15,14 @@ "jsx": "preserve", "incremental": true }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "components/modules/__modules__/_Vectors/wavePlayVector.jsx", "components/modules/AddNewSinger/index.tsx"], + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + "components/modules/__modules__/_Vectors/wavePlayVector.jsx", + "components/modules/AddNewSinger/index.tsx", + "components/modules/utils/config/audioPlayer.jsx", + "components/modules/utils/config/audioControls.jsx" + ], "exclude": ["node_modules"] }