diff --git a/components/Button.tsx b/components/Button.tsx new file mode 100644 index 0000000..82b559f --- /dev/null +++ b/components/Button.tsx @@ -0,0 +1,24 @@ +import { FunctionComponent } from "preact"; + +type Props = { + href: string; + title: string; + extraClasses?: string; +}; + +const Button: FunctionComponent = ({ + children, + title, + href, + extraClasses, +}) => ( + + {children} + +); + +export default Button; diff --git a/islands/Header.tsx b/islands/Header.tsx index c8fb30a..43ff929 100644 --- a/islands/Header.tsx +++ b/islands/Header.tsx @@ -11,7 +11,9 @@ export default function Header({ active, nav }: Props) { return (
- devICT logo + + devICT logo +