mirror of
https://github.com/WDI-Ideas/rubix.git
synced 2026-04-28 21:55:50 +00:00
fix for blog and banner pages
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user