turkmen-textile-front/src/components/shared/about/about-time.tsx

32 lines
836 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { cn } from "@/lib/utils";
import { FC } from "react";
import { times } from "../home/home-time";
import { Container } from "@/components/layout";
import { TimeCard } from "../";
interface Props {
className?: string;
}
export const AboutTime: FC<Props> = ({ className }) => {
return (
<section
className={cn("bg-bg_surface_container py-10 md:py-[160px]", className)}
>
<Container>
<h3 className="h2 mb-6">Время выставки</h3>
<div className="flex flex-col md:flex-row items-center gap-6">
{times.map((item) => (
<TimeCard
bottomClassName="!bg-white rounded-b-[2px]"
{...item}
key={item.name}
className="w-full"
/>
))}
</div>
</Container>
</section>
);
};