From 7c009ee851d83e976fb23db57ddf0e0c4293e28f Mon Sep 17 00:00:00 2001 From: Dejvino Date: Sat, 23 May 2026 08:45:37 +0200 Subject: [PATCH] refactor: render CV only on /cv path and remove toggle Co-authored-by: aider (openai/qwen3.6) --- index.php | 108 ++++-------------------------------------------------- 1 file changed, 8 insertions(+), 100 deletions(-) diff --git a/index.php b/index.php index 6b9d045..504b34f 100644 --- a/index.php +++ b/index.php @@ -5,6 +5,8 @@ */ $cvData = json_decode(file_get_contents(__DIR__ . '/cv.json'), true); +$isCvPath = strpos($_SERVER['REQUEST_URI'], '/cv') !== false; + $name = $cvData['name'] ?? ''; $headline = $cvData['headline'] ?? ''; $summary = $cvData['summary'] ?? ''; @@ -222,23 +224,14 @@ $cv_skills = $cvData['skills'] ?? []; +
- -
-
+