diff --git a/package.json b/package.json index 5fb2722025..65beb41cb2 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "fuse.js": "7.0.0", "gsap": "3.12.5", "is-mobile": "4.0.0", + "lucide-react": "0.436.0", "mipd": "0.0.7", "nprogress": "0.2.0", "qrcode.react": "3.1.0", @@ -69,7 +70,6 @@ "react-fast-marquee": "1.6.4", "react-helmet": "6.1.0", "react-hook-form": "7.51.5", - "react-icons": "5.2.1", "react-player": "2.16.0", "react-redux": "9.1.2", "react-router-dom": "6.23.0", diff --git a/src/App/Footer/Newsletter/SubscriptionForm.tsx b/src/App/Footer/Newsletter/SubscriptionForm.tsx index d2138db365..eaac4e301d 100644 --- a/src/App/Footer/Newsletter/SubscriptionForm.tsx +++ b/src/App/Footer/Newsletter/SubscriptionForm.tsx @@ -71,7 +71,7 @@ export default function SubscriptionForm() { function SuccessMessage() { return ( - +

The form was sent successfully. By doing so, you have agreed to our privacy policy diff --git a/src/App/Header/NavDropdown.tsx b/src/App/Header/NavDropdown.tsx index 91dc43d2e0..8630f85dd3 100644 --- a/src/App/Header/NavDropdown.tsx +++ b/src/App/Header/NavDropdown.tsx @@ -33,7 +33,7 @@ export default function NavDropdown({ links }: Props) { />

diff --git a/src/components/FileDropzone/DropzoneText.tsx b/src/components/FileDropzone/DropzoneText.tsx index ee28b4083b..11fc8bb27b 100644 --- a/src/components/FileDropzone/DropzoneText.tsx +++ b/src/components/FileDropzone/DropzoneText.tsx @@ -18,7 +18,7 @@ export default function DropzoneText({ if (isFilesEmpty && isPreviewsEmpty) { return (
- +

Upload file

Click to Browse or Drag & Drop
diff --git a/src/components/HeaderButton.tsx b/src/components/HeaderButton.tsx index 4fbf65de2a..cdeaf61ab1 100644 --- a/src/components/HeaderButton.tsx +++ b/src/components/HeaderButton.tsx @@ -26,9 +26,9 @@ export function HeaderButton( type={ _activeSortKey === _sortKey ? _sortDirection === "asc" - ? "Up" - : "Down" - : "Unsorted" + ? "ChevronUp" + : "ChevronDown" + : "ChevronsUpDown" } className={`w-4 h-4 shrink-0 ${ _activeSortKey === _sortKey diff --git a/src/components/Icon/DrawerIcon.tsx b/src/components/Icon/DrawerIcon.tsx index 774a39baca..eb0ae7412b 100644 --- a/src/components/Icon/DrawerIcon.tsx +++ b/src/components/Icon/DrawerIcon.tsx @@ -1,11 +1,11 @@ -import type { IconBaseProps } from "react-icons"; +import type { LucideProps } from "lucide-react"; import Icon from "./Icon"; export function DrawerIcon({ isOpen, className, ...props -}: IconBaseProps & { isOpen: boolean }) { +}: LucideProps & { isOpen: boolean }) { return ( - +
) { className="absolute-center grid justify-items-center text-sm text-navy-l1 dark:text-navy-l2 select-none" tabIndex={-1} > - +

Upload file

Click to Browse or Drag & Drop @@ -67,19 +67,19 @@ function _ImgEditor(props: ControlledProps, ref: React.Ref) {
- +
{ /** only show controls if new file is uploaded */ props.value.file && ( - + ) } {props.value.file && !props.error && ( - + )}
diff --git a/src/components/Prompt/Prompt.tsx b/src/components/Prompt/Prompt.tsx index c7507d4049..efe12bcf31 100644 --- a/src/components/Prompt/Prompt.tsx +++ b/src/components/Prompt/Prompt.tsx @@ -63,11 +63,7 @@ function PromptIcon({ ); case "error": return ( - + ); case "loading": return ; diff --git a/src/components/Selector/MultiSelector.tsx b/src/components/Selector/MultiSelector.tsx index 04a5f5fa40..6ffc44055b 100644 --- a/src/components/Selector/MultiSelector.tsx +++ b/src/components/Selector/MultiSelector.tsx @@ -105,7 +105,7 @@ export function MultiSelector< : "absolute inset-0 flex justify-end items-center pr-2 rounded active:ring-2 ring-blue-d1 ring-offset-1" }`} > - {({ open }) => } + {({ open }) => } diff --git a/src/components/Selector/NativeSelect.tsx b/src/components/Selector/NativeSelect.tsx index 79b03db674..ba1b2e9f89 100644 --- a/src/components/Selector/NativeSelect.tsx +++ b/src/components/Selector/NativeSelect.tsx @@ -48,7 +48,7 @@ export const NativeSelect = forwardRef(function Select( {props.options?.find((o) => o.value === value)?.label} diff --git a/src/components/Selector/Selector.tsx b/src/components/Selector/Selector.tsx index 15885905b4..df23c9a9be 100644 --- a/src/components/Selector/Selector.tsx +++ b/src/components/Selector/Selector.tsx @@ -47,7 +47,7 @@ function _List( {props.value.label} diff --git a/src/components/Status/Confirmed.tsx b/src/components/Status/Confirmed.tsx index eaaf43fba1..138839dc60 100644 --- a/src/components/Status/Confirmed.tsx +++ b/src/components/Status/Confirmed.tsx @@ -12,8 +12,8 @@ export function Confirmed({ classes = "", children }: Props) { classes={classes + " text-sm text-green mr-2"} icon="Check" iconOptions={{ - size: 22, - className: "mr-2 bottom-[2px]", + size: 16, + className: "mr-2", }} > {children} diff --git a/src/components/Status/LoadingStatus.tsx b/src/components/Status/LoadingStatus.tsx index 401aadcd50..b21e6409ac 100644 --- a/src/components/Status/LoadingStatus.tsx +++ b/src/components/Status/LoadingStatus.tsx @@ -13,6 +13,7 @@ export function LoadingStatus({ icon={ diff --git a/src/components/Status/types.ts b/src/components/Status/types.ts index c10b330f8b..a417b5274d 100644 --- a/src/components/Status/types.ts +++ b/src/components/Status/types.ts @@ -1,5 +1,5 @@ +import type { LucideProps } from "lucide-react"; import type { PropsWithChildren } from "react"; -import type { IconBaseProps } from "react-icons"; import type { IconType } from "../Icon"; export type StatusProps = PropsWithChildren<{ @@ -7,5 +7,5 @@ export type StatusProps = PropsWithChildren<{ inline?: boolean; classes?: string; gap?: string; - iconOptions?: T extends IconType ? IconBaseProps : never; + iconOptions?: T extends IconType ? LucideProps : never; }>; diff --git a/src/components/TokenField/TokenSelector/TokenSelector.tsx b/src/components/TokenField/TokenSelector/TokenSelector.tsx index 0eaae03bb6..efdf830ed0 100644 --- a/src/components/TokenField/TokenSelector/TokenSelector.tsx +++ b/src/components/TokenField/TokenSelector/TokenSelector.tsx @@ -15,7 +15,7 @@ export default function TokenSelector({ {({ open }) => ( <> {token.symbol} - + )} diff --git a/src/components/VerifiedIcon.tsx b/src/components/VerifiedIcon.tsx index 847685e604..78377c5f5e 100644 --- a/src/components/VerifiedIcon.tsx +++ b/src/components/VerifiedIcon.tsx @@ -12,7 +12,11 @@ export default function VerifiedIcon({ classes = "", size }: Props) { <>
- +
); diff --git a/src/components/admin/FormError.tsx b/src/components/admin/FormError.tsx index 9f9315a7f4..0fd648e211 100644 --- a/src/components/admin/FormError.tsx +++ b/src/components/admin/FormError.tsx @@ -4,7 +4,7 @@ import { DivContainer } from "./TemplateContainer"; export function FormError(props: { errorMessage: string }) { return ( -

+

{props.errorMessage}

diff --git a/src/components/donation/Steps/DonateMethods/Crypto/ChainSelector/ChainSelector.tsx b/src/components/donation/Steps/DonateMethods/Crypto/ChainSelector/ChainSelector.tsx index 38984eb920..c3498b5ffe 100644 --- a/src/components/donation/Steps/DonateMethods/Crypto/ChainSelector/ChainSelector.tsx +++ b/src/components/donation/Steps/DonateMethods/Crypto/ChainSelector/ChainSelector.tsx @@ -35,7 +35,7 @@ export const ChainSelector = forwardRef( /> - {({ open }) => } + {({ open }) => } diff --git a/src/components/donation/Steps/DonateMethods/DonateMethods.tsx b/src/components/donation/Steps/DonateMethods/DonateMethods.tsx index 54bff6443b..1436574699 100644 --- a/src/components/donation/Steps/DonateMethods/DonateMethods.tsx +++ b/src/components/donation/Steps/DonateMethods/DonateMethods.tsx @@ -20,7 +20,7 @@ const methods: { } = { stripe: { name: "Card/Bank", - icon: , + icon: , panel: Stripe, }, stocks: { @@ -35,7 +35,7 @@ const methods: { }, crypto: { name: "Crypto", - icon: , + icon: , panel: Crypto, }, }; diff --git a/src/components/donation/Steps/DonateMethods/Stripe/Frequency.tsx b/src/components/donation/Steps/DonateMethods/Stripe/Frequency.tsx index ef55caff11..a3d02f674a 100644 --- a/src/components/donation/Steps/DonateMethods/Stripe/Frequency.tsx +++ b/src/components/donation/Steps/DonateMethods/Stripe/Frequency.tsx @@ -5,7 +5,7 @@ import type { FormValues } from "./types"; type Freq = FormValues["frequency"]; const styles = { - icon: "hidden @[21rem]/frequency:block text-[1.3rem] ml-1 group-aria-checked:text-white text-transparent relative bottom-px", + icon: "hidden @[21rem]/frequency:block ml-1 group-aria-checked:text-white text-transparent relative bottom-px", option: "group border-gray-l3 rounded-lg px-2 @[21rem]/frequency:px-6 border h-[2.625rem] flex items-center justify-center @[21rem]/frequency:justify-start aria-checked:bg-[--accent-primary] aria-checked:text-white aria-checked:border-none select-none", }; @@ -28,11 +28,11 @@ export default function Frequency({ value, onChange, error }: Props) {
Give Monthly - + Give Once - +
{error &&

{error}

} diff --git a/src/components/donation/Steps/Submit/Crypto/TxSubmit/TxSubmit.tsx b/src/components/donation/Steps/Submit/Crypto/TxSubmit/TxSubmit.tsx index a59ab1c41b..d2f8e798f9 100644 --- a/src/components/donation/Steps/Submit/Crypto/TxSubmit/TxSubmit.tsx +++ b/src/components/donation/Steps/Submit/Crypto/TxSubmit/TxSubmit.tsx @@ -98,7 +98,7 @@ export default function TxSubmit({ wallet, donation, classes = "" }: Props) { An error occurred ) : isSuccess(estimate) ? (

- + {humanize(estimate.fee.amount, 6)} {estimate.fee.symbol} diff --git a/src/components/donation/Steps/common/BackBtn.tsx b/src/components/donation/Steps/common/BackBtn.tsx index e11202159e..380663fc80 100644 --- a/src/components/donation/Steps/common/BackBtn.tsx +++ b/src/components/donation/Steps/common/BackBtn.tsx @@ -10,7 +10,7 @@ export default function BackBtn({ {...props} className={`flex items-center gap-2 font-medium text-[color:var(--accent-primary)] disabled:text-navy-l5 aria-disabled:text-navy-l5 ${className}`} > - + Go Back ); diff --git a/src/components/donation/Steps/common/ContinueBtn.tsx b/src/components/donation/Steps/common/ContinueBtn.tsx index 9ccaec1a63..b71963916e 100644 --- a/src/components/donation/Steps/common/ContinueBtn.tsx +++ b/src/components/donation/Steps/common/ContinueBtn.tsx @@ -16,7 +16,7 @@ export default function ContinueBtn({ className={`btn-blue bg-[--accent-primary] hover:enabled:bg-[--accent-primary] btn-donate ${className}`} > {text} - + ); } diff --git a/src/components/donation/Steps/common/ProgramSelector.tsx b/src/components/donation/Steps/common/ProgramSelector.tsx index 9e2b7db828..86c46036bc 100644 --- a/src/components/donation/Steps/common/ProgramSelector.tsx +++ b/src/components/donation/Steps/common/ProgramSelector.tsx @@ -50,7 +50,7 @@ export function ProgramSelector({ {program.label} diff --git a/src/components/donation/Steps/common/Summary.tsx b/src/components/donation/Steps/common/Summary.tsx index 5ca7796a15..c228e8cb79 100644 --- a/src/components/donation/Steps/common/Summary.tsx +++ b/src/components/donation/Steps/common/Summary.tsx @@ -45,7 +45,7 @@ export default function Summary({

- + Your donation summary

{props.preSplitContent} diff --git a/src/contexts/Auth.tsx b/src/contexts/Auth.tsx index 14aceb7d71..88b3cddd74 100644 --- a/src/contexts/Auth.tsx +++ b/src/contexts/Auth.tsx @@ -34,7 +34,7 @@ export default function withAuth( if (!(requiredGroups || []).every((g) => user.groups.includes(g))) { return (
- +

Unauthorized

); diff --git a/src/errors/DefaultFallback.tsx b/src/errors/DefaultFallback.tsx index 42d0eb1de7..e3193e7169 100644 --- a/src/errors/DefaultFallback.tsx +++ b/src/errors/DefaultFallback.tsx @@ -4,7 +4,7 @@ import { GENERIC_ERROR_MESSAGE } from "constants/common"; export default function DefaultFallback() { return (
- +

{GENERIC_ERROR_MESSAGE}

); diff --git a/src/layout/DashboardLayout/Sidebar/SidebarOpener/SidebarOpener.tsx b/src/layout/DashboardLayout/Sidebar/SidebarOpener/SidebarOpener.tsx index ba1e167fee..d0f8c55e11 100644 --- a/src/layout/DashboardLayout/Sidebar/SidebarOpener/SidebarOpener.tsx +++ b/src/layout/DashboardLayout/Sidebar/SidebarOpener/SidebarOpener.tsx @@ -19,7 +19,7 @@ export function SidebarOpener({ > {activeLink.title} - + ); } diff --git a/src/pages/@sections/HeroBottom/HeroBottom.tsx b/src/pages/@sections/HeroBottom/HeroBottom.tsx index c9e3e1669c..4aca9d7d6a 100644 --- a/src/pages/@sections/HeroBottom/HeroBottom.tsx +++ b/src/pages/@sections/HeroBottom/HeroBottom.tsx @@ -39,7 +39,7 @@ const HeroBottom = ({ className = "" }) => { type="button" className="cause-prev p-4 bg-white text-blue-d1 rounded-full shadow-lg z-10 absolute top-1/2 -translate-y-1/2 left-[5%] xl:left-[15%]" > - +
- +
{message} diff --git a/src/pages/Admin/Charity/Banking/PayoutMethod/Prompt.tsx b/src/pages/Admin/Charity/Banking/PayoutMethod/Prompt.tsx index cdb3da2cb1..39f4d240dc 100644 --- a/src/pages/Admin/Charity/Banking/PayoutMethod/Prompt.tsx +++ b/src/pages/Admin/Charity/Banking/PayoutMethod/Prompt.tsx @@ -93,7 +93,7 @@ export default function Prompt({ verdict, uuid }: Props) {
Under review - + {verdict === "approve" ? ( Approved ) : ( diff --git a/src/pages/Admin/Charity/Banking/PayoutMethods/Table.tsx b/src/pages/Admin/Charity/Banking/PayoutMethods/Table.tsx index d0b4b23ddc..d59cc73a96 100644 --- a/src/pages/Admin/Charity/Banking/PayoutMethods/Table.tsx +++ b/src/pages/Admin/Charity/Banking/PayoutMethods/Table.tsx @@ -54,9 +54,9 @@ export default function Table({ methods, classes = "" }: Props) { className="text-center w-full inline-block hover:text-blue-d1" > diff --git a/src/pages/Admin/Charity/Donations/Table.tsx b/src/pages/Admin/Charity/Donations/Table.tsx index 5dea3db326..5309b4939b 100644 --- a/src/pages/Admin/Charity/Donations/Table.tsx +++ b/src/pages/Admin/Charity/Donations/Table.tsx @@ -79,7 +79,7 @@ export default function Table({ Donation Value USD diff --git a/src/pages/Admin/Charity/Media/Media.tsx b/src/pages/Admin/Charity/Media/Media.tsx index ac247fb287..11fd4d1747 100644 --- a/src/pages/Admin/Charity/Media/Media.tsx +++ b/src/pages/Admin/Charity/Media/Media.tsx @@ -20,7 +20,7 @@ export default function Media() { type="button" className="btn-outline-filled text-sm px-8 py-2 gap-1" > - + add video
diff --git a/src/pages/Admin/Charity/Media/VideoPreview.tsx b/src/pages/Admin/Charity/Media/VideoPreview.tsx index f7f11dd00f..5db57e5c9f 100644 --- a/src/pages/Admin/Charity/Media/VideoPreview.tsx +++ b/src/pages/Admin/Charity/Media/VideoPreview.tsx @@ -37,6 +37,7 @@ export default function VideoPreview(props: Media) { }} > - + - +
{/** render only thumbnails on lists */} diff --git a/src/pages/Admin/Charity/Media/Videos/Videos.tsx b/src/pages/Admin/Charity/Media/Videos/Videos.tsx index 7e2e48b5d8..3a762cce79 100644 --- a/src/pages/Admin/Charity/Media/Videos/Videos.tsx +++ b/src/pages/Admin/Charity/Media/Videos/Videos.tsx @@ -32,7 +32,7 @@ export default function Videos() { type="button" className="btn-outline-filled text-sm px-8 py-2 gap-1" > - + add video diff --git a/src/pages/Admin/Charity/Members/List.tsx b/src/pages/Admin/Charity/Members/List.tsx index 4c53fcda9f..80aa6f3c70 100644 --- a/src/pages/Admin/Charity/Members/List.tsx +++ b/src/pages/Admin/Charity/Members/List.tsx @@ -32,7 +32,7 @@ export default function List() { }) } > - + Invite user - + diff --git a/src/pages/Admin/Charity/ProgramEditor/Milestone/Milestone.tsx b/src/pages/Admin/Charity/ProgramEditor/Milestone/Milestone.tsx index d96f6aa8d0..322a25e7b5 100644 --- a/src/pages/Admin/Charity/ProgramEditor/Milestone/Milestone.tsx +++ b/src/pages/Admin/Charity/ProgramEditor/Milestone/Milestone.tsx @@ -48,7 +48,7 @@ export default function Milestone(props: Props) {
{props.title} - {({ open }) => } + {({ open }) => }
diff --git a/src/pages/Admin/Charity/ProgramEditor/Milestones.tsx b/src/pages/Admin/Charity/ProgramEditor/Milestones.tsx index b8954c1b9c..3ccaaf6ad6 100644 --- a/src/pages/Admin/Charity/ProgramEditor/Milestones.tsx +++ b/src/pages/Admin/Charity/ProgramEditor/Milestones.tsx @@ -42,7 +42,7 @@ export default function Milestones({ programId, milestones }: Props) { type="button" className="btn-outline-filled text-sm w-full @md:w-52 py-2" > - + {isLoading ? "Adding.." : "Add"} milestone diff --git a/src/pages/Admin/Context.tsx b/src/pages/Admin/Context.tsx index d85871d2e0..6a8c26edb7 100644 --- a/src/pages/Admin/Context.tsx +++ b/src/pages/Admin/Context.tsx @@ -16,7 +16,7 @@ export function Context({ if (!user.endowments.includes(idParamToNum(id))) { return (
- +

Unauthorized

); diff --git a/src/pages/Admin/constants.ts b/src/pages/Admin/constants.ts index ea675e013a..c887c261da 100644 --- a/src/pages/Admin/constants.ts +++ b/src/pages/Admin/constants.ts @@ -15,7 +15,7 @@ const linkGroup1: LinkGroup = { to: sidebarRoutes.dashboard, icon: { type: "Dashboard", - size: 24, + size: 20, }, end: true, }, @@ -24,7 +24,7 @@ const linkGroup1: LinkGroup = { to: sidebarRoutes.donations, icon: { type: "DollarCircle", - size: 24, + size: 22, }, }, ], @@ -46,7 +46,7 @@ const linkGroup2: LinkGroup = { to: sidebarRoutes.programs, icon: { type: "ListBox", - size: 24, + size: 22, }, }, { @@ -54,7 +54,7 @@ const linkGroup2: LinkGroup = { to: sidebarRoutes.media, icon: { type: "Picture", - size: 18, + size: 20, }, }, { @@ -62,7 +62,7 @@ const linkGroup2: LinkGroup = { to: sidebarRoutes.banking, icon: { type: "Wallet", - size: 21.7, + size: 20, }, }, ], @@ -84,7 +84,7 @@ const linkGroup3: LinkGroup = { to: "members", icon: { type: "Users", - size: 24, + size: 21, }, }, { @@ -92,7 +92,7 @@ const linkGroup3: LinkGroup = { to: sidebarRoutes.widget_config, icon: { type: "Widget", - size: 24, + size: 25, }, }, ], diff --git a/src/pages/Application/Container.tsx b/src/pages/Application/Container.tsx index 706ea62f4c..0a69f997b8 100644 --- a/src/pages/Application/Container.tsx +++ b/src/pages/Application/Container.tsx @@ -19,7 +19,7 @@ export default function Container({ title, children, classes = "" }: Props) { className="flex items-center justify-center p-px w-6 h-6 border border-gray-l4 rounded" aria-label="toggle section content's visibility" > - +

{title}

diff --git a/src/pages/Application/Prompt.tsx b/src/pages/Application/Prompt.tsx index c0b1221079..90e20c735a 100644 --- a/src/pages/Application/Prompt.tsx +++ b/src/pages/Application/Prompt.tsx @@ -81,7 +81,7 @@ export default function Prompt({ verdict, orgName, uuid }: Props) { )} - +

{verdict}
@@ -109,7 +109,7 @@ export default function Prompt({ verdict, orgName, uuid }: Props) {
Pending - + {verdict === "approve" ? ( Approved ) : ( diff --git a/src/pages/Applications/Applications.tsx b/src/pages/Applications/Applications.tsx index c93b98e8d6..c29fc0c9a8 100644 --- a/src/pages/Applications/Applications.tsx +++ b/src/pages/Applications/Applications.tsx @@ -29,7 +29,7 @@ function Applications() {
{({ open }) => ( <> - +
Filter
diff --git a/src/pages/Applications/Table.tsx b/src/pages/Applications/Table.tsx index 6158cccdf8..b8a2f0e7b9 100644 --- a/src/pages/Applications/Table.tsx +++ b/src/pages/Applications/Table.tsx @@ -102,9 +102,9 @@ export default function Table({ className="text-center w-full inline-block hover:text-blue-d1" > diff --git a/src/pages/BankingApplication/Prompt.tsx b/src/pages/BankingApplication/Prompt.tsx index 8c86b722e2..547087f07a 100644 --- a/src/pages/BankingApplication/Prompt.tsx +++ b/src/pages/BankingApplication/Prompt.tsx @@ -93,7 +93,7 @@ export default function Prompt({ verdict, uuid }: Props) {
Under review - + {verdict === "approve" ? ( Approved ) : ( diff --git a/src/pages/BankingApplications/Filter/index.tsx b/src/pages/BankingApplications/Filter/index.tsx index 0e7c7cd3f8..5afb8caba2 100644 --- a/src/pages/BankingApplications/Filter/index.tsx +++ b/src/pages/BankingApplications/Filter/index.tsx @@ -65,7 +65,7 @@ export default function Filter({ setParams, classes = "", isDisabled }: Props) { > {({ open }) => ( <> - +
Filter
diff --git a/src/pages/BankingApplications/Prompt.tsx b/src/pages/BankingApplications/Prompt.tsx index ffe51cd63c..4ce0d11ea5 100644 --- a/src/pages/BankingApplications/Prompt.tsx +++ b/src/pages/BankingApplications/Prompt.tsx @@ -93,7 +93,7 @@ export default function Prompt({ verdict, uuid }: Props) {
Under review - + {verdict === "approve" ? ( Approved ) : ( diff --git a/src/pages/BankingApplications/Table.tsx b/src/pages/BankingApplications/Table.tsx index bffb4bae1a..63dedbbcc8 100644 --- a/src/pages/BankingApplications/Table.tsx +++ b/src/pages/BankingApplications/Table.tsx @@ -58,9 +58,9 @@ export default function Table({ className="text-center w-full inline-block hover:text-blue-d1" > diff --git a/src/pages/Blog/Post.tsx b/src/pages/Blog/Post.tsx index e567f93272..7cb2ed3533 100644 --- a/src/pages/Blog/Post.tsx +++ b/src/pages/Blog/Post.tsx @@ -44,7 +44,7 @@ export function Component() { to={".."} className="flex items-center gap-2 font-medium text-blue-d1 hover:text-blue mt-6" > - + Go Back {faq.question} - + {open && ( { type="button" className="swip-prev p-4 bg-white text-blue-d1 rounded-full shadow-md z-10 absolute top-1/2 -translate-y-1/2 right-3/4" > - + { className="mt-8 justify-self-center btn-blue normal-case items-center px-10 py-3 gap-1 rounded-full text-lg font-heading" > Learn more - + ); diff --git a/src/pages/Home/Blogs/Blogs.tsx b/src/pages/Home/Blogs/Blogs.tsx index e9a17da01d..ce7c520a64 100644 --- a/src/pages/Home/Blogs/Blogs.tsx +++ b/src/pages/Home/Blogs/Blogs.tsx @@ -18,13 +18,13 @@ const Blogs = () => { type="button" className="blog-prev p-4 bg-white text-blue-d1 rounded-full shadow-md z-10 absolute top-1/2 -translate-y-1/2 left-10 md:left-[15%]" > - + { className="mt-8 isolate justify-self-center btn-blue normal-case inline-flex items-center px-10 py-3 gap-1 rounded-full text-lg font-heading relative" > Join us - + diff --git a/src/pages/Home/Testimonials/Testimonials.tsx b/src/pages/Home/Testimonials/Testimonials.tsx index 694531726b..b819dc8604 100644 --- a/src/pages/Home/Testimonials/Testimonials.tsx +++ b/src/pages/Home/Testimonials/Testimonials.tsx @@ -21,13 +21,13 @@ const Testimonials = () => { type="button" className="swip-prev p-4 bg-white text-blue-d1 rounded-full shadow-md z-10 absolute top-3/4 -translate-y-1/2 right-[90%]" > - + { return ( ); }; diff --git a/src/pages/Marketplace/Cards/Card.tsx b/src/pages/Marketplace/Cards/Card.tsx index 48a5fcda70..0e7e849541 100644 --- a/src/pages/Marketplace/Cards/Card.tsx +++ b/src/pages/Marketplace/Cards/Card.tsx @@ -35,7 +35,7 @@ export default function Card({ {claimed && ( )} {name} diff --git a/src/pages/Marketplace/Toolbar/Sorter.tsx b/src/pages/Marketplace/Toolbar/Sorter.tsx index b8838c90e4..affd13fa31 100644 --- a/src/pages/Marketplace/Toolbar/Sorter.tsx +++ b/src/pages/Marketplace/Toolbar/Sorter.tsx @@ -81,7 +81,9 @@ export default function Sorter() { onClick={() => toggleDirection(sort)} className="mr-3" > - + )} diff --git a/src/pages/Marketplace/Toolbar/index.tsx b/src/pages/Marketplace/Toolbar/index.tsx index eb7706537b..19dc2b1889 100644 --- a/src/pages/Marketplace/Toolbar/index.tsx +++ b/src/pages/Marketplace/Toolbar/index.tsx @@ -15,7 +15,7 @@ export default function Toolbar({ classes = "" }: { classes?: string }) { onClick={() => showModal(Filter, {})} className="btn-blue justify-start justify-self-start rounded-lg px-3 py-2 text-sm" > - + Filters diff --git a/src/pages/Profile/Body/Body.tsx b/src/pages/Profile/Body/Body.tsx index bfbe5a03ed..fed4804efe 100644 --- a/src/pages/Profile/Body/Body.tsx +++ b/src/pages/Profile/Body/Body.tsx @@ -36,7 +36,7 @@ function Body() { {(p.claimed ?? true) && ( )} {p.name} @@ -48,14 +48,14 @@ function Body() {
{p.hq_country && ( - + {p.hq_country} )} {p.url && ( - + - {endow_designation} + {endow_designation}
); diff --git a/src/pages/Profile/Body/GeneralInfo/DetailsColumn/Tags.tsx b/src/pages/Profile/Body/GeneralInfo/DetailsColumn/Tags.tsx index d760ce4399..db1e7abe16 100644 --- a/src/pages/Profile/Body/GeneralInfo/DetailsColumn/Tags.tsx +++ b/src/pages/Profile/Body/GeneralInfo/DetailsColumn/Tags.tsx @@ -1,5 +1,5 @@ -import Icon from "components/Icon"; import { unsdgs } from "constants/unsdgs"; +import { Fingerprint } from "lucide-react"; import type { PropsWithChildren } from "react"; import type { EndowmentProfile } from "types/aws"; import EndowDesignationTag from "./EndowDesignationTag"; @@ -10,7 +10,7 @@ export default function Tags(props: EndowmentProfile) { {} {props.kyc_donors_only && ( - Donor Verification required + Donor Verification required )} {props.sdgs.map((unsdg_num) => ( diff --git a/src/pages/Profile/Body/common/Container.tsx b/src/pages/Profile/Body/common/Container.tsx index 6c6ff54db4..1e3ff0c74e 100644 --- a/src/pages/Profile/Body/common/Container.tsx +++ b/src/pages/Profile/Body/common/Container.tsx @@ -63,7 +63,7 @@ function Header(props: { className="flex items-center justify-center p-px w-10 h-10 border border-gray-l4 rounded" aria-label="toggle section content's visibility" > - + ); diff --git a/src/pages/Profile/Unpublished.tsx b/src/pages/Profile/Unpublished.tsx index ac9f565662..3a186c60e3 100644 --- a/src/pages/Profile/Unpublished.tsx +++ b/src/pages/Profile/Unpublished.tsx @@ -5,7 +5,7 @@ import { Link } from "react-router-dom"; export default function Unpublished() { return (
- +

This nonprofit has no public profile

diff --git a/src/pages/Registration/Steps/Dashboard/EndowmentStatus.tsx b/src/pages/Registration/Steps/Dashboard/EndowmentStatus.tsx index 4117c21ec7..8c448260b5 100644 --- a/src/pages/Registration/Steps/Dashboard/EndowmentStatus.tsx +++ b/src/pages/Registration/Steps/Dashboard/EndowmentStatus.tsx @@ -55,6 +55,7 @@ export default function EndowmentStatus({ Your application has been submitted for review diff --git a/src/pages/Registration/Steps/ProgressIndicator.tsx b/src/pages/Registration/Steps/ProgressIndicator.tsx index d374d3e148..e273d49ca0 100644 --- a/src/pages/Registration/Steps/ProgressIndicator.tsx +++ b/src/pages/Registration/Steps/ProgressIndicator.tsx @@ -80,7 +80,7 @@ export default function ProgressIndicator({ step, classes = "" }: Props) { {topStep}
diff --git a/src/pages/Registration/Steps/Reference.tsx b/src/pages/Registration/Steps/Reference.tsx index cbeab0b114..c1fff39df9 100644 --- a/src/pages/Registration/Steps/Reference.tsx +++ b/src/pages/Registration/Steps/Reference.tsx @@ -28,7 +28,7 @@ export default function Reference({ id, classes = "" }: Props) { }} className="absolute -right-1 top-1/2 transform -translate-y-1/2 md:hidden" > - +
{isTooltipOpen && ( diff --git a/src/pages/UserDashboard/Donations/Filter/index.tsx b/src/pages/UserDashboard/Donations/Filter/index.tsx index 02213f7f98..da77806f54 100644 --- a/src/pages/UserDashboard/Donations/Filter/index.tsx +++ b/src/pages/UserDashboard/Donations/Filter/index.tsx @@ -72,7 +72,7 @@ export default function Filter({ > {({ open }) => ( <> - +
Filter
diff --git a/src/pages/UserDashboard/Donations/MobileTable.tsx b/src/pages/UserDashboard/Donations/MobileTable.tsx index 0b37c71689..f9565a6338 100644 --- a/src/pages/UserDashboard/Donations/MobileTable.tsx +++ b/src/pages/UserDashboard/Donations/MobileTable.tsx @@ -54,7 +54,7 @@ export default function MobileTable({ } w-full grid grid-cols-[auto_1fr_auto] divide-x divide-blue-l2`} > showKYCForm(props.id)}> - + ); } diff --git a/src/pages/UserDashboard/Donations/Table.tsx b/src/pages/UserDashboard/Donations/Table.tsx index 4a54cc255e..c4dae83304 100644 --- a/src/pages/UserDashboard/Donations/Table.tsx +++ b/src/pages/UserDashboard/Donations/Table.tsx @@ -182,7 +182,7 @@ function LastRowColContent( className="w-full flex justify-center" onClick={() => showKYCForm(props.id)} > - + ); } diff --git a/src/pages/UserDashboard/Donations/index.tsx b/src/pages/UserDashboard/Donations/index.tsx index 877cc17694..5582ae2422 100644 --- a/src/pages/UserDashboard/Donations/index.tsx +++ b/src/pages/UserDashboard/Donations/index.tsx @@ -73,7 +73,7 @@ export default function Donations() {
{({ open }) => ( - + )} diff --git a/src/pages/Widget/Configurer/Increments.tsx b/src/pages/Widget/Configurer/Increments.tsx index 02eb713677..79d84fb06c 100644 --- a/src/pages/Widget/Configurer/Increments.tsx +++ b/src/pages/Widget/Configurer/Increments.tsx @@ -20,6 +20,7 @@ export default function Increments({ classes = "" }) {
); diff --git a/src/pages/informational/DonorInfo/DonationFormInfo.tsx b/src/pages/informational/DonorInfo/DonationFormInfo.tsx index 537231b1e6..b05e29fca2 100644 --- a/src/pages/informational/DonorInfo/DonationFormInfo.tsx +++ b/src/pages/informational/DonorInfo/DonationFormInfo.tsx @@ -47,7 +47,7 @@ function ListItem(props: TListItem) { /> ) : ( )} diff --git a/yarn.lock b/yarn.lock index 5c9a31ba8a..5ade512b9a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4501,6 +4501,7 @@ __metadata: is-mobile: "npm:4.0.0" jsdom: "npm:24.1.0" lefthook: "npm:1.6.15" + lucide-react: "npm:0.436.0" mipd: "npm:0.0.7" msw: "npm:2.3.1" nprogress: "npm:0.2.0" @@ -4515,7 +4516,6 @@ __metadata: react-fast-marquee: "npm:1.6.4" react-helmet: "npm:6.1.0" react-hook-form: "npm:7.51.5" - react-icons: "npm:5.2.1" react-player: "npm:2.16.0" react-redux: "npm:9.1.2" react-router-dom: "npm:6.23.0" @@ -7215,6 +7215,15 @@ __metadata: languageName: node linkType: hard +"lucide-react@npm:0.436.0": + version: 0.436.0 + resolution: "lucide-react@npm:0.436.0" + peerDependencies: + react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc + checksum: 10/33ece64ea067a02d9d4eaf4b18f9334323db3e0b91746c5332c29b0aa2afd44858db9b48300a78a3406adcd99ffc15c14f94345b7a18a02070216741710c5751 + languageName: node + linkType: hard + "lz-string@npm:^1.5.0": version: 1.5.0 resolution: "lz-string@npm:1.5.0" @@ -8559,15 +8568,6 @@ __metadata: languageName: node linkType: hard -"react-icons@npm:5.2.1": - version: 5.2.1 - resolution: "react-icons@npm:5.2.1" - peerDependencies: - react: "*" - checksum: 10/8cdf49a9583488f9bb58cbab21f10a5e1993dd9d4f5a62f30fbbce249e4868e8e2c34eb1888adb22014a4319633d1035079bcf5d33b1a8596d745809632699c8 - languageName: node - linkType: hard - "react-is@npm:^16.12.0 || ^17.0.0 || ^18.0.0, react-is@npm:^18.0.0": version: 18.2.0 resolution: "react-is@npm:18.2.0"