diff --git a/src/ui/app/business/components/banner/index.tsx b/src/ui/app/business/components/banner/index.tsx
index 364eccf2..f1d8c248 100644
--- a/src/ui/app/business/components/banner/index.tsx
+++ b/src/ui/app/business/components/banner/index.tsx
@@ -41,13 +41,14 @@ export default function Banner({}: Props) {
alignItems: "center",
flexDirection: "column",
position: "relative",
- paddingY: "82px",
+ paddingY: { xs: "32px", sm: "64px", md: "82px" },
}}
>
@@ -64,7 +65,7 @@ export default function Banner({}: Props) {
Effortless Connections, Powerful Results
@@ -87,10 +88,10 @@ export default function Banner({}: Props) {
-
+
-
+
-
+
-
+
How can Xfluencer add to the success of your business?
@@ -173,7 +174,8 @@ export default function Banner({}: Props) {
borderRadius: "24px",
border: "1px solid #7B7B7B",
background: "rgba(255, 255, 255, 0.40)",
- fontSize: "20px",
+ fontSize: { xs: "16px", md: "20px" },
+ marginBottom: "8px",
}}
>
{it}
diff --git a/src/ui/app/business/components/elevateSection/index.tsx b/src/ui/app/business/components/elevateSection/index.tsx
index 2163532b..8456972c 100644
--- a/src/ui/app/business/components/elevateSection/index.tsx
+++ b/src/ui/app/business/components/elevateSection/index.tsx
@@ -208,56 +208,57 @@ export default function ElevateSection({}: Props) {
Tailored Marketing Solutions For Businesses
-
-
- {TABS.map((item, index) => {
- return (
- {
- handleSelect({ index });
- }}
- key={index}
- >
-
- {item}
-
- );
- })}
-
-
+ {TABS.map((item, index) => (
+ {
+ handleSelect({ index });
+ }}
+ key={index}
+ >
+
+ {item}
+
+ ))}
+
-
-
+
Frequently Asked Questions
-
+
Our platform is curated specifically for those influencers who have
mastered the art of engaging their audience on one of the most
dynamic social media platforms.
-
-
+
+
{FAQs.map(({ question, answer }, index: number) => {
return (
@@ -104,8 +97,8 @@ export default function FAQSection({}: Props) {
);
})}
-
-
+
+
>
);
}
diff --git a/src/ui/app/business/components/guideContainer/index.tsx b/src/ui/app/business/components/guideContainer/index.tsx
index 4f93eb2b..4886c15f 100644
--- a/src/ui/app/business/components/guideContainer/index.tsx
+++ b/src/ui/app/business/components/guideContainer/index.tsx
@@ -1,6 +1,6 @@
"use client";
import React from "react";
-import { Typography, Box } from "@mui/material";
+import { Typography, Box, Grid } from "@mui/material";
import Image from "next/image";
type Props = {};
@@ -24,9 +24,7 @@ const WORKING_STEPS = [
];
const stepContainerStyle = {
- flex: "1",
textAlign: "center",
- maxWidth: "20%",
};
export default function GuideContainer({}: Props) {
@@ -44,18 +42,25 @@ export default function GuideContainer({}: Props) {
Explore, Purchase, Analyse in seconds.
-
{WORKING_STEPS.map((step) => (
-
+
{step.description}
-
+
))}
-
+
);
}
diff --git a/src/ui/app/business/components/influencersContainer/index.tsx b/src/ui/app/business/components/influencersContainer/index.tsx
index c4214f71..e9144e42 100644
--- a/src/ui/app/business/components/influencersContainer/index.tsx
+++ b/src/ui/app/business/components/influencersContainer/index.tsx
@@ -55,10 +55,9 @@ export default function InfluencersContainer({ topInfluencers }: Props) {
- (
))}
-
+
diff --git a/src/ui/app/components/analyticsContainer/index.tsx b/src/ui/app/components/analyticsContainer/index.tsx
index 310110d1..4a31fbc7 100644
--- a/src/ui/app/components/analyticsContainer/index.tsx
+++ b/src/ui/app/components/analyticsContainer/index.tsx
@@ -28,8 +28,7 @@ const ANALYTICS_DATA: AnalyticsRoleData[] = [
},
data2: {
value: "76 %",
- subtitle:
- "Users say they bought something after a recommendation from X",
+ subtitle: "Users say they bought something after a recommendation from X",
},
data3: {
value: "238 M",
@@ -72,7 +71,9 @@ const AnalyticsItem: React.FC = ({
sm={12}
md={3}
lg={3}
- justifyContent="space-around"
+ sx={{
+ justifyContent: { sm: "flex-start", md: "space-around" },
+ }}
alignItems="center"
display="flex"
>
@@ -82,7 +83,7 @@ const AnalyticsItem: React.FC = ({
{subtitle}
-
+ */}
);
diff --git a/src/ui/app/components/navbar/index.tsx b/src/ui/app/components/navbar/index.tsx
index cc2f402f..da61e52b 100644
--- a/src/ui/app/components/navbar/index.tsx
+++ b/src/ui/app/components/navbar/index.tsx
@@ -8,14 +8,21 @@ import {
Badge,
Box,
Button,
+ Divider,
+ Drawer,
+ IconButton,
Link,
+ List,
Toolbar,
Typography,
} from "@mui/material";
+import CableIcon from "@mui/icons-material/Cable";
import Image from "next/image";
+import LogoutIcon from "@mui/icons-material/Logout";
import { usePathname, useRouter, useSearchParams } from "next/navigation";
-import React, { useEffect } from "react";
+import React, { useEffect, useState } from "react";
import LoginMenu from "../loginMenu";
+import MenuIcon from "@mui/icons-material/Menu";
import CartIcon from "@/public/svg/Cart.svg";
import CartDisabledIcon from "@/public/svg/Cart_disabled.svg";
@@ -37,6 +44,7 @@ import { notification } from "@/src/components/shared/notification";
import NextLink from "next/link";
import SavedProfileIcon from "@/public/svg/Saved.svg";
import SavedProfileDisabledIcon from "@/public/svg/Saved_disabled.svg";
+import { PostponedPathnameNormalizer } from "next/dist/server/future/normalizers/request/postponed";
const MENU_ITEMS: {
[key: string]: {
@@ -228,10 +236,15 @@ export default function Navbar() {
const router = useRouter();
const pathname = usePathname();
// const [currentUser, setCurrentUser] = React.useState(null);
+ const [toggleDrawer, setToggleDrawer] = useState(false);
const params = useSearchParams();
const user = useAppSelector((state) => state.user);
+ useEffect(() => {
+ setToggleDrawer(false);
+ }, [pathname]);
+
useEffect(() => {
const status = params.get("authenticationStatus");
const paramMessage = params.get("message");
@@ -301,9 +314,9 @@ export default function Navbar() {
{user?.loggedIn || pathname.includes("login") ? null : (
)}
-
+
+
+ setToggleDrawer(!toggleDrawer)}>
+
+
+
+
+ setToggleDrawer(!toggleDrawer)}
+ >
+ <>
+
+ {user?.loggedIn ? (
+ user?.user?.role?.name.includes("business_owner") ? (
+
+ {[
+ "Profile",
+ "Explore",
+ "Dashboard",
+ "Messages",
+ "Cart",
+ "Bookmarks",
+ "Notifications",
+ ].map((item) => {
+ return ;
+ })}
+
+
+ Logout
+
+
+ ) : (
+
+ {[
+ "Profile",
+ "Orders",
+ "Dashboard",
+ "Messages",
+ "Notifications",
+ ].map((item) => {
+ return ;
+ })}
+
+
+ Logout
+
+
+ )
+ ) : (
+
+ {pathname.includes("business") ? (
+ <>
+
+
+
+ Connect
+
+ >
+ ) : (
+ <>
+
+
+ Connect
+
+ >
+ )}
+
+
+
+
+
+ )}
+
+
+ >
+
);
}