Improve portfolio mobile and resume accessibility
This commit is contained in:
parent
fbde13b72c
commit
65f7f45f43
|
|
@ -217,6 +217,8 @@ function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $so
|
||||||
<html lang="<?php echo $lang; ?>">
|
<html lang="<?php echo $lang; ?>">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="description" content="Juvenal Diaz — platform engineering, site reliability, Kubernetes, and practical infrastructure automation.">
|
||||||
<title><?php echo $text['blog_title']; ?> - <?php echo $text['name']; ?></title>
|
<title><?php echo $text['blog_title']; ?> - <?php echo $text['name']; ?></title>
|
||||||
<link rel="stylesheet" href="<?php echo asset_url('styles.css'); ?>">
|
<link rel="stylesheet" href="<?php echo asset_url('styles.css'); ?>">
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,8 @@ $recruiterKeys = [
|
||||||
<html lang="<?php echo $lang; ?>">
|
<html lang="<?php echo $lang; ?>">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="description" content="Juvenal Diaz — platform engineering, site reliability, Kubernetes, and practical infrastructure automation.">
|
||||||
<title>CV - <?php echo $text['name']; ?></title>
|
<title>CV - <?php echo $text['name']; ?></title>
|
||||||
<link rel="stylesheet" href="<?php echo asset_url('styles.css'); ?>">
|
<link rel="stylesheet" href="<?php echo asset_url('styles.css'); ?>">
|
||||||
</head>
|
</head>
|
||||||
|
|
@ -98,7 +100,8 @@ $recruiterKeys = [
|
||||||
data-en="<?php echo htmlspecialchars($en['job_title']); ?>">
|
data-en="<?php echo htmlspecialchars($en['job_title']); ?>">
|
||||||
<?php echo $text['job_title']; ?>
|
<?php echo $text['job_title']; ?>
|
||||||
</p>
|
</p>
|
||||||
<p><?php echo $text['contacts']; ?></p>
|
<p><a href="mailto:juvenaldiaz522@gmail.com">juvenaldiaz522@gmail.com</a> · <a href="tel:+524492176833">+52 449 217 6833</a></p>
|
||||||
|
<button type="button" class="cv-print-button" onclick="window.print()"><?php echo htmlspecialchars($text['cv_print']); ?></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 data-translate data-key="cv_summary_title"
|
<h2 data-translate data-key="cv_summary_title"
|
||||||
|
|
@ -168,11 +171,6 @@ $recruiterKeys = [
|
||||||
data-en="<?php echo htmlspecialchars($en['home_cta_cases']); ?>">
|
data-en="<?php echo htmlspecialchars($en['home_cta_cases']); ?>">
|
||||||
<?php echo $text['home_cta_cases']; ?>
|
<?php echo $text['home_cta_cases']; ?>
|
||||||
</a>
|
</a>
|
||||||
<a href="/demo-apps/mlops-platform/"
|
|
||||||
data-translate data-key="home_cta_mlops"
|
|
||||||
data-en="<?php echo htmlspecialchars($en['home_cta_mlops']); ?>">
|
|
||||||
<?php echo $text['home_cta_mlops']; ?>
|
|
||||||
</a>
|
|
||||||
<a href="mailto:juvenaldiaz522@gmail.com"
|
<a href="mailto:juvenaldiaz522@gmail.com"
|
||||||
data-translate data-key="home_cta_email"
|
data-translate data-key="home_cta_email"
|
||||||
data-en="<?php echo htmlspecialchars($en['home_cta_email']); ?>">
|
data-en="<?php echo htmlspecialchars($en['home_cta_email']); ?>">
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,8 @@ $demoCards = [
|
||||||
<html lang="<?php echo $lang; ?>">
|
<html lang="<?php echo $lang; ?>">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="description" content="Juvenal Diaz — platform engineering, site reliability, Kubernetes, and practical infrastructure automation.">
|
||||||
<title><?php echo $text['demos_title']; ?> - <?php echo $text['name']; ?></title>
|
<title><?php echo $text['demos_title']; ?> - <?php echo $text['name']; ?></title>
|
||||||
<link rel="stylesheet" href="<?php echo asset_url('styles.css'); ?>">
|
<link rel="stylesheet" href="<?php echo asset_url('styles.css'); ?>">
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,8 @@ $blogHref = 'blog.php?lang=' . urlencode($lang);
|
||||||
<html lang="<?php echo $lang; ?>">
|
<html lang="<?php echo $lang; ?>">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="description" content="Juvenal Diaz — platform engineering, site reliability, Kubernetes, and practical infrastructure automation.">
|
||||||
<title><?php echo $text['tree_title']; ?> - <?php echo $text['name']; ?></title>
|
<title><?php echo $text['tree_title']; ?> - <?php echo $text['name']; ?></title>
|
||||||
<link rel="stylesheet" href="<?php echo asset_url('styles.css'); ?>">
|
<link rel="stylesheet" href="<?php echo asset_url('styles.css'); ?>">
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,8 @@ $homeProofCards = [
|
||||||
<html lang="<?php echo $lang; ?>">
|
<html lang="<?php echo $lang; ?>">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="description" content="Juvenal Diaz — platform engineering, site reliability, Kubernetes, and practical infrastructure automation.">
|
||||||
<title><?php echo $text['name']; ?></title>
|
<title><?php echo $text['name']; ?></title>
|
||||||
<link rel="stylesheet" href="<?php echo asset_url('styles.css'); ?>">
|
<link rel="stylesheet" href="<?php echo asset_url('styles.css'); ?>">
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ return [
|
||||||
'home_project_mlops_title' => 'Investigate, recover, improve',
|
'home_project_mlops_title' => 'Investigate, recover, improve',
|
||||||
'home_project_mlops_body' => 'Trace failures across storage, networking, and services, then turn lessons into repeatable operations.',
|
'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_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.',
|
'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',
|
'site_theme_label' => 'Theme',
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,8 @@ function getLang($supported) {
|
||||||
if (isset($_GET['lang']) && in_array($_GET['lang'], $supported, true)) {
|
if (isset($_GET['lang']) && in_array($_GET['lang'], $supported, true)) {
|
||||||
return $_GET['lang'];
|
return $_GET['lang'];
|
||||||
}
|
}
|
||||||
$browser = strtolower(substr($_SERVER['HTTP_ACCEPT_LANGUAGE'] ?? 'nah', 0, 2));
|
$browser = strtolower(substr($_SERVER['HTTP_ACCEPT_LANGUAGE'] ?? 'en', 0, 2));
|
||||||
return in_array($browser, $supported, true) ? $browser : 'nah';
|
return in_array($browser, $supported, true) ? $browser : 'en';
|
||||||
}
|
}
|
||||||
|
|
||||||
function cleanRuntimeTranslation(string $value, int $maxLength = 2000): string {
|
function cleanRuntimeTranslation(string $value, int $maxLength = 2000): string {
|
||||||
|
|
|
||||||
|
|
@ -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; }
|
.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-overview { line-height: 1.7; font-weight: 700; }
|
||||||
.architecture-details summary { cursor: pointer; margin-bottom: 1rem; }
|
.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; }
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue