feat(projects): render dynamic bilingual project description and role details in modal
Deploy Frontend / deploy (push) Successful in 1m19s

This commit is contained in:
Parsa Aghayi committed 2026-11-02 11:43:58 +00:00
1 parent 3f47fc5e0e
commit ecad3849a2
2 files changed
+5 -10

No files matched your search

@@ -337,19 +337,13 @@ export default function Projects({ dict }: MyProjectsProps) {
<span className="px-3 py-1 rounded-full text-xs font-mono border border-primary/30 bg-primary/10 text-primary">
{selectedProject.category}
</span>
<span className="px-3 py-1 rounded-full text-xs font-mono border border-muted-foreground/30 bg-muted text-muted-foreground">
{isRTL ? "طراحی وب" : "Web Design"}
</span>
<span className="px-3 py-1 rounded-full text-xs font-mono border border-muted-foreground/30 bg-muted text-muted-foreground">
{isRTL ? "توسعه" : "Development"}
</span>
</div>
</div>
<p className="max-h-[250px] overflow-y-auto pr-2 custom-scrollbar text-muted-foreground leading-relaxed text-sm md:text-base">
{isRTL
? "این پروژه با استفاده از آخرین تکنولوژی‌های وب توسعه یافته است. تیم ما با دقت و توجه به جزئیات، راهکاری scalable و maintainable ارائه داده است که نیازهای کسب و کار را به بهترین شکل برآورده می‌کند. از طراحی رابط کاربری گرفته تا بهینه‌سازی performance، تمامی جنبه‌های این پروژه با بالاترین استانداردها پیاده‌سازی شده است."
: "This project was built using the latest web technologies. Our team delivered a scalable and maintainable solution with meticulous attention to detail, meeting business requirements effectively. From UI/UX design to performance optimization, every aspect was implemented to the highest standards."}
<p className="max-h-[250px] overflow-y-auto pr-2 custom-scrollbar text-muted-foreground leading-relaxed text-sm md:text-base whitespace-pre-line">
{selectedProject.description || (isRTL
? "این پروژه با بالاترین استانداردهای مهندسی نرم‌افزار، مقیاس‌پذیری و پرفورمنس پیاده‌سازی شده است."
: "This project was built with the highest engineering, scalability, and performance standards.")}
</p>
<div className="flex-shrink-0">
+1
View File
@@ -324,6 +324,7 @@ export interface Image {
export interface Project {
id: number;
title: string;
description?: string | null;
category: string | null;
category_id: number | null;
images: Image[];