= ({ data, className = '' }) => (
- `$${val.toLocaleString()}`} />
-
+ `$${val.toLocaleString()}`}
+ axisLine={false}
+ tickLine={false}
+ />
+ }
+ />
+
} />
diff --git a/src/components/Contact/types.ts b/src/components/Contact/types.ts
index 97e5c3c..3072972 100644
--- a/src/components/Contact/types.ts
+++ b/src/components/Contact/types.ts
@@ -1,16 +1,33 @@
-import type { LinkCategory, SocialLink } from '../../types';
+import type { IconType } from 'react-icons';
+// Define SocialLink type
+export interface SocialLink {
+ name: string;
+ icon: IconType; // Correct type for react-icons components
+ url: string;
+ username?: string; // Make this optional
+}
+
+// Define LinkCategory type
+export interface LinkCategory {
+ category: string;
+ links: SocialLink[];
+}
+
+// Update ContactProps to use LinkCategory[]
export interface ContactProps {
className?: string;
socialLinks?: LinkCategory[];
}
+// Update SocialLinkCardProps to extend SocialLink
export interface SocialLinkCardProps extends SocialLink {
className?: string;
}
+// Update CategorySectionProps to use the updated SocialLink type
export interface CategorySectionProps {
category: string;
links: SocialLink[];
className?: string;
-}
\ No newline at end of file
+}
diff --git a/src/components/Hero/index.tsx b/src/components/Hero/index.tsx
index 20907e3..354babd 100644
--- a/src/components/Hero/index.tsx
+++ b/src/components/Hero/index.tsx
@@ -12,7 +12,7 @@ const defaultIntroText = `> const profile = {
],
expertise: {
nuclear: "19+ years in Radiation Protection",
- web3: "Lead multiple DAOs, $150K+ in grants"
+ web3: "Lead multiple DAOs, $300K+ in grants"
}
};`;