mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-18 02:29:49 +00:00
allow setting a global link target
This commit is contained in:
parent
75244cc40e
commit
20ac15b18c
7 changed files with 26 additions and 25 deletions
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue