diff --git a/app/components/Attribute.tsx b/app/components/Attribute.tsx index 91bf246..a1e1f0d 100644 --- a/app/components/Attribute.tsx +++ b/app/components/Attribute.tsx @@ -54,7 +54,7 @@ export default function Attribute({ }, 1000); }} > - {value} +

{value}

diff --git a/app/components/Link.tsx b/app/components/Link.tsx index e7c931c..9a44a76 100644 --- a/app/components/Link.tsx +++ b/app/components/Link.tsx @@ -1,14 +1,19 @@ -import { LinkExternalIcon } from '@primer/octicons-react'; +import { ExternalLink } from 'lucide-react'; import cn from '~/utils/cn'; -interface Props { +export interface LinkProps { to: string; name: string; children: string; className?: string; } -export default function Link({ to, name: alt, children, className }: Props) { +export default function Link({ + to, + name: alt, + children, + className, +}: LinkProps) { return ( {children} - + ); } diff --git a/app/components/Menu.tsx b/app/components/Menu.tsx index b2e2ce3..3df17dc 100644 --- a/app/components/Menu.tsx +++ b/app/components/Menu.tsx @@ -97,7 +97,10 @@ function MenuSection({ section, state }: MenuSectionProps) { {section.key !== state.collection.getFirstKey() ? (
  • ) : undefined}
  • diff --git a/app/components/Notice.tsx b/app/components/Notice.tsx index 83506b3..18cecde 100644 --- a/app/components/Notice.tsx +++ b/app/components/Notice.tsx @@ -1,23 +1,16 @@ -import { InfoIcon } from '@primer/octicons-react'; -import type { ReactNode } from 'react'; -import cn from '~/utils/cn'; +import { CircleSlash2 } from 'lucide-react'; +import React from 'react'; +import Card from '~/components/Card'; -interface Props { - className?: string; - children: ReactNode; +export interface NoticeProps { + children: React.ReactNode; } -export default function Notice({ children, className }: Props) { +export default function Notice({ children }: NoticeProps) { return ( -
    - + + {children} -
    + ); } diff --git a/app/components/Select.tsx b/app/components/Select.tsx index eebb148..79da75a 100644 --- a/app/components/Select.tsx +++ b/app/components/Select.tsx @@ -14,7 +14,9 @@ import { Item, ListState, Node, useComboBoxState } from 'react-stately'; import Popover from '~/components/Popover'; import cn from '~/utils/cn'; -export interface SelectProps extends AriaComboBoxProps {} +export interface SelectProps extends AriaComboBoxProps { + className?: string; +} function Select(props: SelectProps) { const { contains } = useFilter({ sensitivity: 'base' }); @@ -45,7 +47,7 @@ function Select(props: SelectProps) { const { buttonProps } = useButton(triggerProps, buttonRef); return ( -
    +