import React from "react";

import css from "./Banner.module.less";

export default function Banner({ brandTopImgInfo, selectedBrandInfo }) {
  const { topImgAlt, topImgPath } = brandTopImgInfo;
  const { logoImgAlt, logoImgPath, patncNm } = selectedBrandInfo;

  return (
    <div className={css.container}>
      <div>
        <img src={logoImgPath} alt={logoImgAlt} />
        <h2>{patncNm}</h2>
      </div>
      <img src={topImgPath} alt={topImgAlt} />
    </div>
  );
}
