Files
aragrp/components/footer.tsx
T
ar.azizan f7a163c4aa feat: add featured posts grid and update blog terminology
- Introduced a new FeaturedPostsGrid component to display featured posts on the homepage.
- Updated the Home component to fetch and render featured posts from the WordPress API.
- Changed instances of "بلاگ" to "دانشنامه" across various components for consistent terminology.
2026-02-08 20:33:07 +03:30

43 lines
1.1 KiB
TypeScript

import { Logo } from "@/components/logo";
import Link from "next/link";
const links = [
{
title: "درباره ما",
href: "/about",
},
{
title: "دانشنامه",
href: "/blog",
},
{
title: "راه حل‌ها",
href: "/solutions",
},
];
export default function FooterSection() {
return (
<footer className="py-16 md:py-16 bg-muted border-t">
<div className="mx-auto max-w-5xl px-6 flex items-center flex-col">
<Logo hasCaption className="mx-auto" />
<div className="my-4 flex flex-wrap justify-center gap-6 text-sm">
{links.map((link, index) => (
<Link
key={index}
href={link.href}
className="text-muted-foreground hover:text-accent transition-colors duration-150"
>
<span>{link.title}</span>
</Link>
))}
</div>
<span className="text-muted-foreground block text-center text-sm">
© 1404 فیپ، تمامی حقوق محفوظ است
</span>
</div>
</footer>
);
}