allow setting a global link target

This commit is contained in:
Ben Phelps committed 2022-09-21 08:40:19 +03:00
1 parent 75244cc40e
commit 20ac15b18c
7 files changed
+26 -25

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@ const columnMap = [
"grid-cols-1 md:grid-cols-2 lg:grid-cols-8",
];
export default function List({ services, layout }) {
export default function List({ services, target, layout }) {
return (
<ul
className={classNames(
@@ -23,7 +23,7 @@ export default function List({ services, layout }) {
)}
>
{services.map((service) => (
<Item key={service.name} service={service} />
<Item key={service.name} target={target} service={service} />
))}
</ul>
);