chore: upgrade to React 19 and use images.remotePatterns
CI and Deploy / Build site (push) Failing after 19s
CI and Deploy / Build and push image (push) Skipped
CI and Deploy / Deploy to Kubernetes (push) Skipped

Fixes Next.js 16 deprecation warnings for React 18 and images.domains.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jesse Egbosionu
2026-10-24 21:42:40 +02:00
co-authored by Claude Opus 5.5
parent c6b6c31df6
commit c5ff89f4e5
4 changed files with 24 additions and 87 deletions
-48
View File
@@ -1,48 +0,0 @@
import Link from 'next/link';
import Icon from './Icon';
export default function ProjectCard({ project }) {
const { title, description, tags, href, repo, featured, internal } = project;
const primaryHref = href || repo;
return (
<article className={`project-card ${featured ? 'is-featured' : ''}`}>
<div className="project-top">
{featured ? (
<span className="pill pill-accent">
<span className="live-dot" /> Live
</span>
) : (
<Icon name="github" size={20} className="project-glyph" />
)}
{repo && href && (
<a href={repo} target="_blank" rel="noopener noreferrer" className="project-repo" aria-label={`${title} source code`}>
<Icon name="github" size={16} />
</a>
)}
</div>
<h3 className="project-title">
{internal ? (
<Link href={primaryHref} className="project-link">
{title}
</Link>
) : (
<a href={primaryHref} target="_blank" rel="noopener noreferrer" className="project-link">
{title}
</a>
)}
<Icon name="arrowUpRight" size={18} className="project-arrow" />
</h3>
<p className="project-description">{description}</p>
<ul className="tag-list">
{tags.map((tag) => (
<li key={tag} className="tag">
{tag}
</li>
))}
</ul>
</article>
);
}