Next.js+React web interface for controlling HAProxy clusters (groups of servers), in conjunction with with https://gitgud.io/fatchan/haproxy-protection.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
518 B

import Link from 'next/link';
export default function MapLink({ map }) {
return (
<Link href={`/map/[name]?name=${map.name}`} as={`/map/${map.name}`} className='list-group-item list-group-item-action d-flex align-items-start'>
<span className='ms-2 me-auto'>
<span className='fw-bold'>
{map.fname}
<span className='fw-normal'>
{' '}- {map.description}
</span>
</span>
</span>
{/*<span className="badge bg-primary rounded-pill">
{map.count}
</span>*/}
</Link>
);
}