{REFERENCES.map((item) => {
const quoteText = getLocalizedValue(item.quote, locale);
- const quoteContent = lineClamp ? (
-
{quoteText}
- ) : (
- quoteText
- );
const card = (
);
@@ -47,7 +44,7 @@ export function ReferenceCards({ className, cardClassName, lineClamp }: Referenc
target="_blank"
rel="noreferrer"
aria-label={`${item.author} bağlantısı`}
- className="block h-full transition-transform hover:scale-[1.02]"
+ className="group block h-full"
>
{card}
diff --git a/components/references-detail-content.tsx b/components/references-detail-content.tsx
index c9f0379..385b0c8 100644
--- a/components/references-detail-content.tsx
+++ b/components/references-detail-content.tsx
@@ -6,7 +6,7 @@ export function ReferencesDetailContent() {
const t = useTranslations("About");
return (
-
+
import("@/components/search-command").then((mod) => mod.SearchCommand),
@@ -58,7 +58,7 @@ export function SiteNavbar() {
{TOP_ICON_LINKS.map((item) => {
- const href = item.id === "cv" ? `/resume-${locale}.pdf` : item.href;
+ const href = item.id === "cv" ? getResumeHref(locale) : item.href;
return (
full-stack products, shape experiences with AI systems, and explain technology-design-software through practical content.",
"sections": {
"recentPosts": "Recent Posts",
"references": "References",
diff --git a/messages/tr.json b/messages/tr.json
index 966d188..f97b7f7 100644
--- a/messages/tr.json
+++ b/messages/tr.json
@@ -14,7 +14,7 @@
"resume": "Özgeçmiş"
},
"Home": {
- "role": "Teknolojiyi merak eden bir genç. Yazılım geliştirme, yapay zeka ve teknoloji dünyasındaki gelişmeleri takip ediyor.",
+ "role": "Full-stack ürünler geliştiriyor, yapay zeka sistemleriyle deneyimler kuruyor ve teknoloji-tasarım-yazılımı uygulanabilir içeriklerle anlatıyorum.",
"sections": {
"recentPosts": "Son Yazılar",
"references": "Referanslar",
diff --git a/middleware.ts b/middleware.ts
index 7a5bd15..c400a88 100644
--- a/middleware.ts
+++ b/middleware.ts
@@ -4,6 +4,6 @@ import {routing} from "./i18n/routing";
export default createMiddleware(routing);
export const config = {
- // Match only internationalized pathnames
- matcher: ["/", "/(tr|en)/:path*", "/((?!_next|_vercel|.*\\..*).*)"]
+ // Match pages, but skip API/internal/static files like `/tr/resume.pdf`.
+ matcher: ["/((?!api|trpc|_next|_vercel|.*\\..*).*)"],
};
diff --git a/public/en/resume.pdf b/public/en/resume.pdf
new file mode 100644
index 0000000..2a21121
Binary files /dev/null and b/public/en/resume.pdf differ
diff --git a/public/resume-en.pdf b/public/resume-en.pdf
deleted file mode 100644
index 21832c8..0000000
Binary files a/public/resume-en.pdf and /dev/null differ
diff --git a/public/resume-tr.pdf b/public/resume-tr.pdf
deleted file mode 100644
index 3e07ecc..0000000
Binary files a/public/resume-tr.pdf and /dev/null differ
diff --git a/public/tr/resume.pdf b/public/tr/resume.pdf
new file mode 100644
index 0000000..c7d5fc1
Binary files /dev/null and b/public/tr/resume.pdf differ