shahrbin-citizen/components/Polls/Poll.tsx

22 lines
685 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import Link from "next/link";
import React from "react";
import { FaRegChartBar } from "react-icons/fa6";
const Poll = () => {
return (
<Link
href={"#"}
className="flex flex-col items-start justify-around w-72 h-48 bg-white shadow-[0_0_2px_1px_rgba(0,0,0,0.1)] rounded-lg p-3"
>
<FaRegChartBar className="text-2xl text-blue mb-3" />
<p className="text-lg font-bold text-black mb-3">عنوان</p>
<p className="text-[15px] text-gray-400 mb-3">سوال</p>
<p className="text-xs w-full mt-3 pt-3 border-t-[1px] border-t-gray-200 font-bold text-gray-400">
تاریخ و زمان
</p>
</Link>
);
};
export default Poll;