diff --git a/src/api/data.js b/src/api/data.js index 8701616..2cca9b9 100644 --- a/src/api/data.js +++ b/src/api/data.js @@ -201,8 +201,8 @@ const influencer3 = influencer(); const listing1 = listing(); const listing2 = listing(); const listing3 = listing(); -// const listing4 = listing(); -// const listing5 = listing(); +const listing4 = listing(); +const listing5 = listing(); // const listing6 = listing(); // const listing7 = listing(); // const listing8 = listing(); @@ -214,8 +214,8 @@ export const listings = [ listing1, listing2, listing3, - // listing4, - // listing5, + listing4, + listing5, // listing6, // listing7, // listing8, @@ -229,8 +229,8 @@ export const collaborations = [ collaboration(listing2, influencer3), collaboration(listing3, influencer3), collaboration(listing3, influencer2), - // collaboration(listing4, influencer3), - // collaboration(listing5, influencer3), - // collaboration(listing5, influencer2), - // collaboration(listing5, influencer1), + collaboration(listing4, influencer3), + collaboration(listing5, influencer3), + collaboration(listing5, influencer2), + collaboration(listing5, influencer1), ]; diff --git a/src/containers/App.js b/src/containers/App.js index da3aa11..f5859e2 100644 --- a/src/containers/App.js +++ b/src/containers/App.js @@ -23,9 +23,7 @@ import { ProposalStep4 } from "../presentation/proposal/ProposalStep4"; import { Values } from "../presentation/values/Values"; import { YourDetails } from "../presentation/YourDetails"; import Dev from "../test/Dev"; -import { AllCollaborations } from "./collaborations/AllCollaborations"; import { CollaborationList } from "./collaborations/CollaborationList"; -import { Dashboard } from "./Dashboard"; import HomePage from "./HomePage"; import { OnboardingSteps } from "./onboading/OnboardingSteps"; import { AllListings } from "./proposals/AllListings"; @@ -93,24 +91,6 @@ function App() { /> } /> - - } - /> - } /> - } - /> - } - /> - } - /> } /> } /> } /> diff --git a/src/containers/proposals/AllListings.js b/src/containers/proposals/AllListings.js index 1518d1f..2c18fbe 100644 --- a/src/containers/proposals/AllListings.js +++ b/src/containers/proposals/AllListings.js @@ -1,5 +1,5 @@ // import MailIcon from "@mui/icons-material/Mail"; -import { Box, Button, Paper, Typography } from "@mui/material"; +import { Box, Button, Paper } from "@mui/material"; import React, { useEffect } from "react"; import { useNavigate } from "react-router-dom"; import { collaborations as collabs, listings as data } from "../../api/data"; @@ -18,20 +18,8 @@ export const AllListings = () => { setCollaborations(collabs); }, []); return ( - - - - My Listings ({listings.length}) - + + - - + + {listings .sort( (a, b) => diff --git a/src/presentation/BackLink.js b/src/presentation/BackLink.js index 63f9acc..9450e68 100644 --- a/src/presentation/BackLink.js +++ b/src/presentation/BackLink.js @@ -5,7 +5,7 @@ import { useNavigate } from "react-router"; export const BackLink = ({ backLocation = -1 }) => { const nav = useNavigate(); return ( - + { diff --git a/src/presentation/ListingRow.js b/src/presentation/ListingRow.js index cce8a16..1aceb57 100644 --- a/src/presentation/ListingRow.js +++ b/src/presentation/ListingRow.js @@ -24,6 +24,7 @@ export const ListingRow = ({ justifyContent="space-between" borderBottom={1} pb={1} + pt={1} > @@ -34,6 +35,7 @@ export const ListingRow = ({ {listingTitle} @@ -43,10 +45,12 @@ export const ListingRow = ({ {action("Applications", appliedCount, () => { console.log("applications"); diff --git a/src/presentation/iconMenu/IconMenu.js b/src/presentation/iconMenu/IconMenu.js index eb487cb..81a0b4e 100644 --- a/src/presentation/iconMenu/IconMenu.js +++ b/src/presentation/iconMenu/IconMenu.js @@ -20,7 +20,7 @@ const IconMenu = ({ }; const open = Boolean(anchorElement); return ( - + {icon} diff --git a/src/presentation/layout/Layout.js b/src/presentation/layout/Layout.js index a6158b8..deedb83 100644 --- a/src/presentation/layout/Layout.js +++ b/src/presentation/layout/Layout.js @@ -15,7 +15,14 @@ export default function Layout({ signout, }) { return ( - <> +
- + -