diff --git a/themes/signpost/components/Grid.tsx b/themes/signpost/components/Grid.tsx index da29f20..c8f1da8 100644 --- a/themes/signpost/components/Grid.tsx +++ b/themes/signpost/components/Grid.tsx @@ -1,4 +1,5 @@ import type SectionType from './../types/section'; +import Link from './Link'; type Props = { sections: SectionType[]; @@ -14,28 +15,7 @@ const Grid = ({ sections }: Props) => ( diff --git a/themes/signpost/components/Link.tsx b/themes/signpost/components/Link.tsx new file mode 100644 index 0000000..82b31d5 --- /dev/null +++ b/themes/signpost/components/Link.tsx @@ -0,0 +1,31 @@ +type Props = { + url: string; + title: string; +}; + +const Link = ({ url, title }: Props) => ( + + {title} + +); + +export default Link;