fix for blog and banner pages

This commit is contained in:
rockyeverlast
2024-06-06 13:47:57 +05:30
parent 2a76bbd0c8
commit 0d5be7fe56
9 changed files with 76 additions and 40 deletions

View File

@@ -263,10 +263,10 @@ export const MobileMenu = () => {
{useCase?.map((slug) => (
<Box key={slug.id} style={{ flexBasis: "calc(50% - 1rem)" }}>
<Link
to={`/${slug.title_slug}`}
to={`/usecases/${slug.title_slug}`}
className="link"
style={
location.pathname === `/${slug.title_slug}`
location.pathname === `/usecases/${slug.title_slug}`
? highlight
: normal
}