import React from 'react'
import { cn } from '../utils/tw-merge'

const RouteIcon = ({ className }: { className?: string }) => {
  return (
    <div className={cn('relative w-full', className)}>
      {/* Dotted line */}
      <div className="absolute w-full border-b-2 border-solid border-blue-800 top-1/2 -translate-y-1/2" />

      {/* Start point (circle) */}
      <div className="absolute w-3 h-3 rounded-full bg-white border-2 border-blue-800 top-1/2 -translate-y-1/2 -left-1.5" />

      {/* End point (circle) */}
      <div className="absolute w-3 h-3 rounded-full bg-blue-800 top-1/2 -translate-y-1/2 -right-1.5" />
    </div>
  )
}

export default RouteIcon
