diff --git a/app/projects/hybrid/page.mdx b/app/projects/hybrid/page.mdx index 7a58cc4..a32244f 100644 --- a/app/projects/hybrid/page.mdx +++ b/app/projects/hybrid/page.mdx @@ -1,5 +1,5 @@ import { AuthorList } from '@/components/utils' -import { BadgeContainer, GithubBadge, ArxivBadge } from '@/components/badges' +import { BadgeContainer, GithubBadge, ArxivBadge, PdfBadge, VenueBadge } from '@/components/badges' # Learning High-Order Relationships of Brain Regions @@ -15,8 +15,10 @@ import { BadgeContainer, GithubBadge, ArxivBadge } from '@/components/badges' /> + + ## Introduction diff --git a/components/badges.tsx b/components/badges.tsx index 821d597..cab55ad 100644 --- a/components/badges.tsx +++ b/components/badges.tsx @@ -1,5 +1,5 @@ import { Chip } from '@nextui-org/chip'; -import { GithubIcon, ArxivIcon } from './icons'; +import { GithubIcon, ArxivIcon, PaperIcon } from './icons'; type BadgeProps = { @@ -34,6 +34,15 @@ export function ArxivBadge({ link }: { link: string }) { return } label="ArXiv" />; } +export function PdfBadge({ link }: { link: string }) { + return } label="Paper" />; +} + +// The VenueBadge component is used to display the venue of a paper. +export function VenueBadge ({ venue }: { venue: string }) { + return ; +} + import { ReactNode } from 'react'; export const BadgeContainer = ({ children }: { children: ReactNode }) => { diff --git a/components/icons.tsx b/components/icons.tsx index 57587cd..18819fc 100644 --- a/components/icons.tsx +++ b/components/icons.tsx @@ -115,6 +115,28 @@ export const ArxivIcon: React.FC = ({ ); } + +export const PaperIcon: React.FC = ({ + size = 22, + width, + height, + ...props +}) => { + return ( + + + + ); +} + export const MoonFilledIcon = ({ size = 24, width,