feat: redesign landing page with brand system and section blocks
Build & Push Docker Image / build (push) Has been cancelled

Refresh the homepage around new hero/services/roadmap sections, shared design tokens, and updated brand assets.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ar.badiei
2026-07-23 17:00:55 +03:30
co-authored by Cursor
parent f0c290786e
commit c2376b3b9e
352 changed files with 34442 additions and 2760 deletions
+25 -15
View File
@@ -1,7 +1,9 @@
import Link from "next/link";
import Image from "next/image";
import { Calendar, Clock, ArrowLeft } from "lucide-react";
import { Calendar, Clock } from "lucide-react";
import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card";
import { type } from "@/lib/typography";
import { cn } from "@/lib/utils";
interface BlogCardProps {
slug: string;
@@ -23,9 +25,8 @@ export function BlogCard({
image,
}: BlogCardProps) {
return (
<Link href={`/blog/${slug}`} className="group block h-full">
<Card className="h-full flex flex-col overflow-hidden transition-all duration-300 hover:shadow-lg hover:-translate-y-1 dark:border-transparent">
{/* Image with 3:2 aspect ratio */}
<Link href="#" className="group block h-full">
<Card className="flex h-full flex-col overflow-hidden transition-all duration-200 hover:-translate-y-1 hover:shadow-lg">
<div className="relative aspect-[5/3] w-full overflow-hidden bg-muted">
<Image
src={image}
@@ -35,27 +36,39 @@ export function BlogCard({
quality={100}
sizes="(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 400px"
/>
{/* Category Badge */}
<div className="absolute top-4 right-4">
<span className="inline-flex items-center px-3 py-1 rounded-full text-xs font-medium bg-primary/90 text-primary-foreground backdrop-blur-sm">
<span
className={cn(
type.caption,
"inline-flex items-center rounded-full bg-primary/90 px-3 py-1 font-medium text-primary-foreground backdrop-blur-sm"
)}
>
{category}
</span>
</div>
</div>
<CardHeader className="flex-1 flex flex-col">
<h3 className="text-base py-2 font-bold leading-tight tracking-normal group-hover:text-primary transition-colors line-clamp-2">
<CardHeader className="flex flex-1 flex-col">
<h3
className={cn(
type["card-title"],
"py-2 font-bold transition-colors group-hover:text-primary line-clamp-2"
)}
>
{title}
</h3>
</CardHeader>
<CardContent className="flex-1">
<p className="text-muted-foreground leading-relaxed tracking-normal line-clamp-3 text-sm">
{excerpt}
</p>
<p className={cn(type["card-desc"], "line-clamp-3")}>{excerpt}</p>
</CardContent>
<CardFooter className="flex items-center justify-between gap-4 text-xs text-muted-foreground border-t pt-4">
<CardFooter
className={cn(
type.caption,
"flex items-center justify-between gap-4 border-t pt-4"
)}
>
<div className="flex items-center gap-2">
<Calendar className="size-4" />
<span>{date}</span>
@@ -69,6 +82,3 @@ export function BlogCard({
</Link>
);
}