Product
Introducing Ruby Support in Socket
Socket is launching Ruby support for all users. Enhance your Rails projects with AI-powered security scans for vulnerabilities and supply chain threats. Now in Beta!
@lendi/navbar
Advanced tools
Lendi website Navbar component.
yarn add @lendi/navbar
import { SimpleNavbar, MultiNavbar } from '@lendi/navbar';
export const SimpleNavbar = () => {
return (
<SimpleNavbar
homeURL={homeURL} /** URL for logo */
useTransparent={false} /** Transparent the background */
showBookanAppointmentCta={true} /** flag to show Book an appoointment cta btn */
showTalkToExpertCta={true} /** flag to show TalktoExpert cta btn */
params={''} /** Query params to appear along with homeUrl */
continueURL={'/'} /** Url for continue button */
onLogout={() => {}} /** Handler for logout */
showContinueAction={
false
} /** To add more flexibility to show continueButton. For example, in F1/F2, you don't need to show up continue button as you are in funnel, instead show BookAnAppoinment button. */
hideDashboardItem={false} /** to hide/unhide the dashboard menu in kebab menu **/
hideManageApplicationsItem={false} /** to hide/unhide the manageApplication menu in kebab menu **/
/>
);
};
export const MultiNavbar = () => {
return (
<MultiNavbar
homeURL={homeURL}
useTransparent={false}
showBookanAppointmentCta={true}
showTalkToExpertCta={true}
params={''}
continueURL={'/'}
onLogout={() => {}}
showContinueAction={false}
hideDashboardItem={false}
hideManageApplicationsItem={false}
/>
);
};
This component need to know environmentContext to describe apiBaseUrl so that it could make some API call specific to Lendi use case like getting broker information and get chat channel information.
This package passes the returnURL on clicking Sign-in button so that sign-in flow knows where to come back after authentication. The usage of @lendi/navbar on homepage will set dashboard url as returnURL on clicking the sign-in button(SUB-2409)
All comm-panel(or chat) related stories are best viewed in screen with 375px or mobile.
FAQs
Lendi website Navbar component.
The npm package @lendi/navbar receives a total of 167 weekly downloads. As such, @lendi/navbar popularity was classified as not popular.
We found that @lendi/navbar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket is launching Ruby support for all users. Enhance your Rails projects with AI-powered security scans for vulnerabilities and supply chain threats. Now in Beta!
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.