Skip to content

Commit 6faaf41

Browse files
committed
chore:initial commit
1 parent ca25c10 commit 6faaf41

File tree

4 files changed

+33
-8
lines changed

4 files changed

+33
-8
lines changed

src/components/card/BDPCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const BDPCard: React.FC<CardProps> = ({
5353
}
5454
};
5555
return (
56-
<a href={link} className={className} onClick={onClick}>
56+
<a href={link} target="_blank" className={className} onClick={onClick} rel="noreferrer">
5757
<div className="flex flex-col rounded-xl border border-brand-stroke-on-base w-full min-h-full bg-brand-card-bg">
5858
<div
5959
className={`h-[126px] flex border border-l-0 border-r-0 border-t-0

src/components/search/Search.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { forwardRef, useState } from "react";
22
import PropTypes from "prop-types";
33
import { cn } from "../../utils/cn";
4-
import searchIcon from "../../assets/search-icon.svg";
4+
import { RebrandSearchIcon } from "../../icons";
55

66
export interface SearchProps
77
extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
@@ -67,15 +67,12 @@ export const Search = forwardRef<HTMLInputElement, SearchProps>(
6767
)}
6868
>
6969
{showIcon && (
70-
<img
71-
src={searchIcon}
72-
alt="Search"
73-
className={cn(
70+
<RebrandSearchIcon className={ cn(
7471
"absolute pointer-events-none",
7572
sizeStyles[size].icon,
7673
iconClassName,
77-
)}
78-
style={{ filter: "brightness(0)" }}
74+
)}
75+
style={{ filter: "brightness(0)" }}
7976
/>
8077
)}
8178
<input

src/icons.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export { default as MinusIcon } from "./icons/MinusIcon";
3131
export { default as MenuIcon } from "./icons/MenuIcon";
3232
export { default as Pangolins } from "./icons/Pangolins";
3333
export { default as RightArrowIcon } from "./icons/RightArrowIcon";
34+
export {default as RebrandSearchIcon} from "./icons/RebrandSearchIcon"
3435
export { default as XIcon } from "./icons/XIcon";
3536
export { default as SearchIcon } from "./icons/SearchIcon";
3637
export { default as SortIcon } from "./icons/SortIcon";

src/icons/RebrandSearchIcon.tsx

Lines changed: 27 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)