import { PRODUCT_INFO } from '@/shared/constants/data';
import { navSocialIcons } from '@/widgets/navbar/lib/data';
import Image from 'next/image';
import Link from 'next/link';
import React from 'react';

const LogoGridItem = () => {
  return (
    <div className="flex flex-col gap-2">
      <div className="flex items-center gap-1">
        <Image
          className="object-contain invert-100 brightness-0 w-[60px] h-[60px]"
          src={PRODUCT_INFO.logo}
          alt={PRODUCT_INFO.name}
          width={100}
          height={100}
        />
        <div className="text-[13px] font-semibold max-w-[150px]">
          {PRODUCT_INFO.logoTitle}
        </div>
      </div>
      <p className="my-[10px] font-semibold max-w-[300px]">
        Предлагаем свежие и качественные продукты каждый день.
      </p>
      <div className="flex items-center justify-start gap-1">
        {navSocialIcons.map(({ id, icon: Icon, link }) => (
          <Link key={id} href={link} target="blank">
            <div className="w-[35px] h-[35px] bg-green-950 hover:bg-white hover:text-accent duration-200 active:bg-accent rounded-full flex justify-center items-center">
              <Icon />
            </div>
          </Link>
        ))}
      </div>
    </div>
  );
};

export default LogoGridItem;
