Refactor code structure for improved readability and maintainability; removed redundant code blocks and optimized function calls.
CI/CD / test-and-build (push) Waiting to run
CI/CD / deploy (push) Blocked by required conditions

This commit is contained in:
Najjar\NajjarV02
2026-05-20 18:03:42 +04:00
parent bfe589be27
commit 729ab71c2c
65 changed files with 217 additions and 216 deletions
@@ -1,7 +1,7 @@
"use client";
/**
* 4-image certificate gallery — each tile links to a PDF in a new tab.
* 4-image certificate gallery each tile links to a PDF in a new tab.
*
* Expected data shape:
* export type CertPage = {
@@ -65,7 +65,7 @@ function CertCard({ src, alt, title, page, document, href }: CertPage) {
href={href}
target="_blank"
rel="noopener noreferrer"
aria-label={`${title} — ${page}. Opens PDF in a new tab.`}
aria-label={`${title} ${page}. Opens PDF in a new tab.`}
className="group relative isolate flex h-full flex-col overflow-hidden rounded-2xl border border-bone/10 bg-graphite/40 backdrop-blur-sm transition-all duration-500 hover:-translate-y-1 hover:border-gold/35 hover:bg-graphite/60 focus:outline-none focus-visible:border-gold/60 focus-visible:ring-2 focus-visible:ring-gold/40"
>
<div className="relative aspect-[3/4] w-full overflow-hidden bg-obsidian">