mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-18 12:39:54 +00:00
* implement reverse proxy --------- Co-authored-by: Alisdair MacLeod <git@alisdairmacleod.co.uk> Co-authored-by: mlsmaycon <mlsmaycon@gmail.com> Co-authored-by: Eduard Gert <kontakt@eduardgert.de> Co-authored-by: Viktor Liu <viktor@netbird.io> Co-authored-by: Diego Noguês <diego.sure@gmail.com> Co-authored-by: Diego Noguês <49420+diegocn@users.noreply.github.com> Co-authored-by: Bethuel Mmbaga <bethuelmbaga12@gmail.com> Co-authored-by: Zoltan Papp <zoltan.pmail@gmail.com> Co-authored-by: Ashley Mensah <ashleyamo982@gmail.com>
27 lines
817 B
TypeScript
27 lines
817 B
TypeScript
import { X } from "lucide-react";
|
|
|
|
interface ConnectionLineProps {
|
|
success?: boolean;
|
|
}
|
|
|
|
export function ConnectionLine({ success = true }: Readonly<ConnectionLineProps>) {
|
|
if (success) {
|
|
return (
|
|
<div className="flex-1 flex items-center justify-center h-12 w-full px-5">
|
|
<div className="w-full border-t-2 border-dashed border-green-500" />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
return (
|
|
<div className="flex-1 flex items-center justify-center h-12 min-w-10 px-5 relative">
|
|
<div className="w-full border-t-2 border-dashed border-nb-gray-900" />
|
|
<div className="absolute inset-0 flex items-center justify-center">
|
|
<div className="w-8 h-8 rounded-full flex items-center justify-center">
|
|
<X size={18} className="text-netbird" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|