Skip to content
Snippets Groups Projects

Refactor search results and add new components for improved functionality

Merged Bewton Maina requested to merge feature/LN-1271-ce-search-result-page-component into dev
2 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
73 </React.Fragment>
74 );
75 })}
76 </nav>
77 );
78 };
79
80 export const generateBreadcrumbs = (currentRoute: string, locale: string) => {
81 const routeWithoutLocale = currentRoute.replace(
82 new RegExp(`^/${locale}`),
83 '',
84 );
85 const segments = routeWithoutLocale.split('/').filter(Boolean);
86 const breadcrumbs = [];
87
88 breadcrumbs.push({ label: 'Home', href: '/' });
  • 55 59 </header>
    56 60
    57 61 {/* Main content */}
    58 <main
    59 id="main-content"
    60 className=""
    61 >
    62 <main id="main-content" >
    63 <Breadcrumbs items={breadcrumbItems} />
    62 64 {children}
    63 65 </main>
    64 66
    65 67 {/* modal sidebar */}
    66 <ModalSidebar title="Register" isOpen={false} onClose={() => setSidebarOpen(false)}>
    68 <ModalSidebar
    69 title="Register"
  • Darlington Wleh mentioned in commit 63568eb9

    mentioned in commit 63568eb9

  • :tada: This MR is included in version 1.0.0 :tada:

    The release is available on GitLab release.

    Your semantic-release bot :package: :rocket:

  • Please register or sign in to reply
    Loading