Skip to content

Commit

Permalink
Merge branch 'main' into refact-HotSongs
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhindo-Galien authored Dec 28, 2022
2 parents d4a0b7f + 9dcd049 commit f8c5d80
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 38 deletions.
5 changes: 3 additions & 2 deletions components/LandingPage/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import HotSongs from "../modules/HotSongs";
import NewReleases from "../modules/NewReleases";

import PageCard from "../modules/__modules__/Card/PageCard";
// import FeaturedAlbum from "../modules/FeaturedAlbum";
import FeaturedAlbum from "../modules/FeaturedAlbum";

const LandingPage = () => {
const [isTopNav, setIsTopNav] = React.useState(false);
Expand All @@ -14,7 +14,8 @@ const LandingPage = () => {
<PageCard setIsTopNav={setIsTopNav} >
<NewReleases />
<TopSongs />
{/* <FeaturedAlbum />*/}

<FeaturedAlbum />
<HotSongs />
</PageCard>
</div>
Expand Down
4 changes: 2 additions & 2 deletions pages/album.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from "react";
// import AlbumPage from "../components/AlbumPage";
import AlbumPage from "../components/AlbumPage";

const album = () => {
return <>{/* <AlbumPage /> */}</>;
return <AlbumPage />;
};

export default album;
5 changes: 2 additions & 3 deletions pages/confirm-email.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from "react";
// import ConfirmEmail from "../components/Auth/confirmEmail";
import ConfirmEmail from "../components/Auth/ConfirmEmail";

const ConfirmEmailPage = () => {
// return <ConfirmEmail />;
return <></>;
return <ConfirmEmail />;
};

export default ConfirmEmailPage;
5 changes: 2 additions & 3 deletions pages/latest.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from "react";
// import LatestPage from "../components/LatestPage";
import LatestPage from "../components/LatestPage";

const latest = () => {
// return <LatestPage />;
return <></>;
return <LatestPage />;
};

export default latest;
12 changes: 6 additions & 6 deletions pages/login.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from "react";
// import LoginPage from "../components/Auth/LoginPage";
import LoginPage from "../components/Auth/LoginPage";

const Login = () => {
// return (
// <div className="auth h-screen">
// <LoginPage />
// </div>
// );
return (
<div className="auth h-screen">
<LoginPage />
</div>
);

return <></>;
};
Expand Down
13 changes: 6 additions & 7 deletions pages/maintenance.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import React from "react";
// import Maintenance from "../components/Maintenance/Maintenance";
import Maintenance from "../components/Maintenance/Maintenance";

const maintenance = () => {
// return (
// <div className=" h-screen">
// <Maintenance />
// </div>
// );
return (
<div className=" h-screen">
<Maintenance />
</div>
);

return <></>;
};

export default maintenance;
14 changes: 7 additions & 7 deletions pages/reset-password.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from "react";
// import ResetPassword from "../components/Auth/ResetPassword";
import ResetPassword from "../components/Auth/ResetPassword";

const ResetPasswordPage = () => {
// return (
// <>
// <ResetPassword />
// </>
// );
return (
<>
<ResetPassword />
</>
);

return <></>;

};

export default ResetPasswordPage;
14 changes: 6 additions & 8 deletions pages/signup.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import React from "react";
// import SignupPage from "../components/Auth/SignupPage";
import SignupPage from "../components/Auth/SignupPage";

const Signup = () => {
// return (
// <div className="auth h-screen">
// <SignupPage />
// </div>
// );

return <></>;
return (
<div className="auth h-screen">
<SignupPage />
</div>
);
};

export default Signup;

0 comments on commit f8c5d80

Please sign in to comment.