import React from "react";

export default function Header({ bodyshop }) {
  return (
    <table>
      <tr>
        <td>
          <img alt='' src={bodyshop.logo_img_path} />
        </td>
        <td>
          <div>
            <strong>{`${bodyshop.shopname}`}</strong>
          </div>
          <div>{`${bodyshop.address1} ${bodyshop.address2} ${bodyshop.city} ${bodyshop.state} ${bodyshop.zip_post}`}</div>
          <div>
            <a href={`mailto:${bodyshop.email}`}>{bodyshop.email}</a>{" "}
            {` |  ${bodyshop.ph1}`}
          </div>
        </td>
      </tr>
    </table>
  );
}
