This commit is contained in:
@@ -9,6 +9,7 @@ import { getLocalizedValue, type PortfolioProjectView } from "@/lib/portfolio";
|
||||
|
||||
type PortfolioProjectGridProps = {
|
||||
locale: AppLocale;
|
||||
defaultLocale: AppLocale;
|
||||
projects: PortfolioProjectView[];
|
||||
emptyLabel: string;
|
||||
openLabel: string;
|
||||
@@ -16,6 +17,7 @@ type PortfolioProjectGridProps = {
|
||||
|
||||
export function PortfolioProjectGrid({
|
||||
locale,
|
||||
defaultLocale,
|
||||
projects,
|
||||
emptyLabel,
|
||||
openLabel,
|
||||
@@ -27,7 +29,7 @@ export function PortfolioProjectGrid({
|
||||
<AppCard interactive>
|
||||
<CardContent className="p-5">
|
||||
<Link
|
||||
href={getLocalizedPath(locale, `/portfolio/${item.slug}`)}
|
||||
href={getLocalizedPath(locale, `/portfolio/${item.slug}`, defaultLocale)}
|
||||
className="group block"
|
||||
>
|
||||
<div className="flex items-center justify-between gap-3">
|
||||
|
||||
Reference in New Issue
Block a user