diff --git a/public/vite.svg b/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/Achievements/index.tsx b/src/components/Achievements/index.tsx index f412f00..e448e43 100644 --- a/src/components/Achievements/index.tsx +++ b/src/components/Achievements/index.tsx @@ -5,19 +5,19 @@ import { AchievementsProps, GrantChartProps, AchievementCardProps, TooltipProps import { Grant, Achievement } from '../../types'; const defaultGrants: Grant[] = [ - { name: 'DAOMasons(Plurality Labs)', amount: 150000, color: '#2aae91' }, - { name: 'DAOHaus(Moloch DAO)', amount: 90000, color: '#6366f1' }, - { name: 'DAOhaus(Optimism)', amount: 90000, color: '#ec4899' }, - { name: 'Farcastle(Public Nouns)', amount: 17000, color: '#06b6d4' }, + { name: 'DAOMasons (Plurality Labs)', amount: 150000, color: '#2aae91' }, + { name: 'DAOHaus (Moloch DAO)', amount: 90000, color: '#6366f1' }, + { name: 'DAOhaus (Optimism)', amount: 90000, color: '#ec4899' }, + { name: 'Farcastle (Public Nouns)', amount: 17000, color: '#06b6d4' }, ]; const defaultAchievements: Achievement[] = [ { title: "Grant Ships Launch", description: "Distributed $100K ARB tokens to fund Web3 game development on Arbitrum", date: "2024" }, - { title: "DAO Masons", description: "Co-founded DAO Masons, a product and sevices DAO, designed to make DAOs better", date: "2023" }, + { title: "DAO Masons", description: "Co-founded DAO Masons, a product and services DAO, designed to make DAOs better", date: "2023" }, { title: "Public HAUS Champion", description: "Led governance activities and secured multiple major grants", date: "2022" }, - { title: "Metaguide", description: "Guided Web3 projects in securing grants, building communities, and facilitating funding for innovative blockchain initiatives.", date: "2021" }, + { title: "Metaguide", description: "Guided Web3 projects in securing grants, building communities, and facilitating funding for blockchain initiatives.", date: "2021" }, { title: "Radiation Protection Technician: EPRI Certification", description: "Qualified as Radiation Protection Technician at OPG and later at Bruce Power", date: "2016/2019" }, - { title: "Boilermaker Red Seal", description: "Completed Boilermaker apprenticship and passed Red Seal Exam", date: "2006" }, + { title: "Boilermaker Red Seal", description: "Completed Boilermaker apprenticeship and passed Red Seal Exam", date: "2006" }, ]; const CustomTooltip: React.FC = ({ active, payload }) => { @@ -41,7 +41,7 @@ interface CustomYAxisTickProps { const CustomYAxisTick: React.FC = ({ x, y, payload }) => { const truncatedText = payload.value.length > 20 ? `${payload.value.slice(0, 20)}...` : payload.value; return ( - + {truncatedText} ); @@ -51,8 +51,20 @@ const GrantChart: React.FC = ({ 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" } };`;