diff --git a/apps/website/blog.php b/apps/website/blog.php index 667e2ab..78695b1 100644 --- a/apps/website/blog.php +++ b/apps/website/blog.php @@ -217,6 +217,8 @@ function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $so + + <?php echo $text['blog_title']; ?> - <?php echo $text['name']; ?> diff --git a/apps/website/cv.php b/apps/website/cv.php index bcbe963..be95858 100644 --- a/apps/website/cv.php +++ b/apps/website/cv.php @@ -37,6 +37,8 @@ $recruiterKeys = [ + + CV - <?php echo $text['name']; ?> @@ -98,7 +100,8 @@ $recruiterKeys = [ data-en="">

-

+

juvenaldiaz522@gmail.com · +52 449 217 6833

+

- - - diff --git a/apps/website/demos.php b/apps/website/demos.php index 5b171a5..92ded33 100644 --- a/apps/website/demos.php +++ b/apps/website/demos.php @@ -71,6 +71,8 @@ $demoCards = [ + + <?php echo $text['demos_title']; ?> - <?php echo $text['name']; ?> diff --git a/apps/website/homelab-tree.php b/apps/website/homelab-tree.php index ecc7fc5..fcf25ed 100644 --- a/apps/website/homelab-tree.php +++ b/apps/website/homelab-tree.php @@ -7,6 +7,8 @@ $blogHref = 'blog.php?lang=' . urlencode($lang); + + <?php echo $text['tree_title']; ?> - <?php echo $text['name']; ?> diff --git a/apps/website/index.php b/apps/website/index.php index 542faf0..7aae687 100644 --- a/apps/website/index.php +++ b/apps/website/index.php @@ -26,6 +26,8 @@ $homeProofCards = [ + + <?php echo $text['name']; ?> diff --git a/apps/website/lang/en.php b/apps/website/lang/en.php index 853d09e..fb3dc86 100644 --- a/apps/website/lang/en.php +++ b/apps/website/lang/en.php @@ -34,6 +34,7 @@ return [ 'home_project_mlops_title' => 'Investigate, recover, improve', 'home_project_mlops_body' => 'Trace failures across storage, networking, and services, then turn lessons into repeatable operations.', + 'cv_print' => 'Print or save as PDF', 'cv_summary_title' => 'Professional Summary', 'cv_summary' => 'Senior infrastructure and reliability engineer with 12+ years of experience across Linux, Kubernetes-based platforms, cloud operations, incident response, automation, and production support. Currently operating a Kubernetes/Terraform PaaS used by 20,000+ internal developers, with hands-on work in maintenance, emergency changes, tooling, documentation, GitOps-style delivery, and continuous improvement. Targeting senior remote DevOps, SRE, platform, and MLOps roles where reliability, automation, and clear operations matter.', 'site_theme_label' => 'Theme', diff --git a/apps/website/lang_helper.php b/apps/website/lang_helper.php index 6259c7d..22077d3 100644 --- a/apps/website/lang_helper.php +++ b/apps/website/lang_helper.php @@ -21,8 +21,8 @@ function getLang($supported) { if (isset($_GET['lang']) && in_array($_GET['lang'], $supported, true)) { return $_GET['lang']; } - $browser = strtolower(substr($_SERVER['HTTP_ACCEPT_LANGUAGE'] ?? 'nah', 0, 2)); - return in_array($browser, $supported, true) ? $browser : 'nah'; + $browser = strtolower(substr($_SERVER['HTTP_ACCEPT_LANGUAGE'] ?? 'en', 0, 2)); + return in_array($browser, $supported, true) ? $browser : 'en'; } function cleanRuntimeTranslation(string $value, int $maxLength = 2000): string { diff --git a/apps/website/styles.css b/apps/website/styles.css index 4cb8de6..96cff8f 100644 --- a/apps/website/styles.css +++ b/apps/website/styles.css @@ -2366,3 +2366,12 @@ body.theme-light .architecture-icon::after { .case-card .case-detail { display: inline; color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; } .architecture-overview { line-height: 1.7; font-weight: 700; } .architecture-details summary { cursor: pointer; margin-bottom: 1rem; } + +.cv-print-button { cursor: pointer; padding: 0.65rem 1rem; border-radius: 6px; font: inherit; font-weight: 700; } +@media print { + .top-nav, .theme-toolbar, .cv-print-button, .cv-portrait-orbit, .cv-recruiter-actions, .translation-ui { display: none !important; } + body.cv-page, .cv-page .container { color: #111 !important; background: #fff !important; box-shadow: none !important; } + .cv-page .container { width: auto; max-width: none; margin: 0; padding: 0; } + .cv-page h1, .cv-page h2, .cv-page h3, .cv-page p, .cv-page li, .cv-page a { color: #111 !important; } + .cv-page article, .cv-page section { break-inside: avoid; } +}