diff --git a/components/blog-content.tsx b/components/blog-content.tsx index e11334f..13968e3 100644 --- a/components/blog-content.tsx +++ b/components/blog-content.tsx @@ -156,7 +156,7 @@ export function BlogContent({ data, section = "blog" }: BlogContentProps) { readTime={post.readTime} href={post.href} className="rounded-sm border-border [&_h3]:line-clamp-2 [&_h3]:min-h-[2.5rem] [&_p]:line-clamp-3" - author={{ name: post.author, avatar: "/logo/logo.webp" }} + author={{ name: post.author, avatar: "/logo/logo-96.webp" }} /> ))} diff --git a/components/home-projects-section.tsx b/components/home-projects-section.tsx index 45db64f..27d1d21 100644 --- a/components/home-projects-section.tsx +++ b/components/home-projects-section.tsx @@ -43,7 +43,7 @@ export function HomeProjectsSection() {
- {projects.map((project) => ( + {projects.map((project, index) => ( ))}
diff --git a/components/links-content.tsx b/components/links-content.tsx index 84928be..b399e58 100644 --- a/components/links-content.tsx +++ b/components/links-content.tsx @@ -131,7 +131,7 @@ export function LinksContent({
- + PA diff --git a/components/project-card-with-popover.tsx b/components/project-card-with-popover.tsx index 7b1a308..e13d28a 100644 --- a/components/project-card-with-popover.tsx +++ b/components/project-card-with-popover.tsx @@ -1,10 +1,10 @@ "use client"; import { useEffect, useRef, useState } from "react"; +import Image from "next/image"; import { Icon } from "@iconify/react"; -import { Badge, Typography } from "poyraz-ui/atoms"; +import { Badge, Card, Typography } from "poyraz-ui/atoms"; import { - ImageCard, Popover, PopoverContent, PopoverTrigger, @@ -25,6 +25,7 @@ type ProjectCardWithPopoverProps = { architectureLabel: string; className?: string; triggerClassName?: string; + priority?: boolean; }; export function ProjectCardWithPopover({ @@ -41,6 +42,7 @@ export function ProjectCardWithPopover({ architectureLabel, className, triggerClassName, + priority = false, }: ProjectCardWithPopoverProps) { const [open, setOpen] = useState(false); const closeTimer = useRef | null>(null); @@ -69,13 +71,30 @@ export function ProjectCardWithPopover({ }, []); const card = ( - + + +
+ {badge ? ( + {badge} + ) : null} +
+

{title}

+ {description ? ( +

{description}

+ ) : null} +
+ ); const triggerClasses = `block ${triggerClassName ?? ""} text-inherit outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2`; diff --git a/components/reference-cards.tsx b/components/reference-cards.tsx index 57e3350..5720a2d 100644 --- a/components/reference-cards.tsx +++ b/components/reference-cards.tsx @@ -1,5 +1,7 @@ -import { TestimonialCard } from "poyraz-ui/molecules"; +import Image from "next/image"; +import { Card, CardContent } from "poyraz-ui/atoms"; +import { StarRating } from "poyraz-ui/molecules"; import { REFERENCES } from "@/data/references"; import { useLocale } from "next-intl"; import { getLocalizedValue } from "@/lib/locale"; @@ -27,14 +29,41 @@ export function ReferenceCards({ const quoteText = getLocalizedValue(item.quote, locale); const card = ( - + + + + “ + +
+ {quoteText} +
+ {showRating && item.rating != null ? ( + + ) : null} +
+ +
+
+ {item.author} +
+
+ {getLocalizedValue(item.role, locale)} +
+
+
+
+
); const href = item.documentHref || item.profileHref; diff --git a/public/logo/logo-96.webp b/public/logo/logo-96.webp new file mode 100644 index 0000000..8ea7e89 Binary files /dev/null and b/public/logo/logo-96.webp differ