fix(types): fix typescript errors breaking the pipeline
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 18s
Build & Deploy / 🧪 QA (push) Successful in 59s
Build & Deploy / 🏗️ Build (push) Failing after 1m19s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 18s
Build & Deploy / 🧪 QA (push) Successful in 59s
Build & Deploy / 🏗️ Build (push) Failing after 1m19s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -169,7 +169,7 @@ export default async function Page(props: { params: Promise<{ locale: string; sl
|
|||||||
id: r.slug,
|
id: r.slug,
|
||||||
slug: r.slug,
|
slug: r.slug,
|
||||||
title: r.frontmatter.title,
|
title: r.frontmatter.title,
|
||||||
category: r.frontmatter.category || 'Projekt',
|
category: Array.isArray(r.frontmatter.category) ? r.frontmatter.category[0] : (r.frontmatter.category || 'Projekt'),
|
||||||
image: r.frontmatter.featuredImage
|
image: r.frontmatter.featuredImage
|
||||||
}))} />,
|
}))} />,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ export function CertificatesBlock({ badge, title, description, certificates = de
|
|||||||
|
|
||||||
const itemVariants = {
|
const itemVariants = {
|
||||||
hidden: { opacity: 0, y: 20 },
|
hidden: { opacity: 0, y: 20 },
|
||||||
show: { opacity: 1, y: 0, transition: { duration: 0.5, ease: 'easeOut' } },
|
show: { opacity: 1, y: 0, transition: { duration: 0.5, ease: 'easeOut' as const } },
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!isMounted) {
|
if (!isMounted) {
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ export interface ReferenceFrontmatter {
|
|||||||
dateString?: string;
|
dateString?: string;
|
||||||
featuredImage?: string | null;
|
featuredImage?: string | null;
|
||||||
location: string;
|
location: string;
|
||||||
|
category?: string | string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ReferenceData {
|
export interface ReferenceData {
|
||||||
|
|||||||
Reference in New Issue
Block a user