fix: build and test stability for design overhaul

Fixed missing types, import errors, and updated test suites to match the new editorial design. Verified Docker container build.
This commit is contained in:
denshooter
2026-02-16 02:54:02 +01:00
parent 6213a4875a
commit 6f62b37c3a
17 changed files with 296 additions and 577 deletions
+5 -3
View File
@@ -1,7 +1,6 @@
"use client";
import { motion } from "framer-motion";
import { ExternalLink, Calendar, ArrowLeft, Github as GithubIcon, Share2, Code } from "lucide-react";
import { ExternalLink, ArrowLeft, Github as GithubIcon, Calendar } from "lucide-react";
import Link from "next/link";
import { useEffect, useState } from "react";
import ReactMarkdown from "react-markdown";
@@ -19,12 +18,15 @@ export type ProjectDetailData = {
tags: string[];
featured: boolean;
category: string;
date: string;
date?: string;
created_at?: string;
github?: string | null;
github_url?: string | null;
live?: string | null;
button_live_label?: string | null;
button_github_label?: string | null;
imageUrl?: string | null;
image_url?: string | null;
technologies?: string[];
};
+2 -2
View File
@@ -4,7 +4,7 @@ import { useEffect, useMemo, useState } from "react";
import { motion } from "framer-motion";
import { ArrowUpRight, ArrowLeft, Search } from "lucide-react";
import Link from "next/link";
import { useLocale, useTranslations } from "next-intl";
import { useTranslations } from "next-intl";
import Image from "next/image";
import { Skeleton } from "../components/ui/Skeleton";
@@ -15,7 +15,7 @@ export type ProjectListItem = {
description: string;
tags: string[];
category: string;
date: string;
date?: string;
imageUrl?: string | null;
};