Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
@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 426 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.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.