autotq-modern-ejs/views/layout.ejs

74 lines
4.4 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<%
const brandName = config?.brand?.name || 'AutoTQ';
const defaultSiteUrl = 'https://autotq-modern.sites.corben.world';
const pageMeta = {
home: {
title: 'Automatic Tourniquet Readiness for Emergency Response',
description: 'AutoTQ by Golden Hour Medical focuses on practical hemorrhage-response readiness with one-button activation and guided operation for high-stress moments.'
},
'about-autotq': {
title: 'About AutoTQ Technology and Mission',
description: 'Learn how AutoTQ is designed for simpler bleeding-control response, including two-step application, guided prompts, and referenced research context.'
},
about: {
title: 'About AutoTQ Technology and Mission',
description: 'Learn how AutoTQ is designed for simpler bleeding-control response, including two-step application, guided prompts, and referenced research context.'
},
company: {
title: 'Company Overview | Golden Hour Medical',
description: 'Explore Golden Hour Medicals mission, operating focus, and leadership team supporting AutoTQ emergency preparedness initiatives.'
},
research: {
title: 'Research Sources and Evidence References',
description: 'Review AutoTQ research references, linked source pages, and cautious evidence-oriented summaries for first-time-user and occlusion findings.'
},
literature: {
title: 'Literature and PDF Resources',
description: 'Access AutoTQ literature, booklet, IFU, flyer, and related reference materials for deployment and training planning.'
},
testimonials: {
title: 'Testimonials from Safety and Medical Professionals',
description: 'Read real AutoTQ testimonials from emergency, EMS, and public-safety stakeholders discussing usability and deployment readiness.'
},
news: {
title: 'AutoTQ News and Press Coverage',
description: 'See recent AutoTQ media mentions, interviews, and press links from external news and healthcare/public-safety sources.'
},
contact: {
title: 'Contact AutoTQ',
description: 'Contact Golden Hour Medical to discuss AutoTQ deployment planning, organizational readiness, and implementation support.'
}
};
const resolvedMeta = pageMeta[(typeof pageName !== 'undefined' && pageName) ? pageName : 'home'] || pageMeta.home;
const resolvedTitle = (typeof pageTitle !== 'undefined' && pageTitle) ? pageTitle : resolvedMeta.title;
const resolvedDescription = (typeof metaDescription !== 'undefined' && metaDescription) ? metaDescription : resolvedMeta.description;
const canonicalUrl = `${defaultSiteUrl}${((typeof pageName !== 'undefined' && pageName && pageName !== 'home') ? `/${pageName === 'about' ? 'about-autotq' : pageName}` : '')}`;
%>
<title><%= `${resolvedTitle} | ${brandName}` %></title>
<meta name="description" content="<%= resolvedDescription %>" />
<link rel="canonical" href="<%= canonicalUrl %>" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="<%= brandName %>" />
<meta property="og:title" content="<%= `${resolvedTitle} | ${brandName}` %>" />
<meta property="og:description" content="<%= resolvedDescription %>" />
<meta property="og:url" content="<%= canonicalUrl %>" />
<meta property="og:image" content="<%= config?.assets?.images?.hero || config?.assets?.logo || '' %>" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="<%= `${resolvedTitle} | ${brandName}` %>" />
<meta name="twitter:description" content="<%= resolvedDescription %>" />
<meta name="twitter:image" content="<%= config?.assets?.images?.hero || config?.assets?.logo || '' %>" />
<link rel="stylesheet" href="/css/style.css" />
</head>
<% const _pageName = (typeof pageName !== 'undefined' && pageName) ? pageName : 'default'; %>
<body class="page-<%= _pageName %>">
<%- include('partials/header', { config, pageName: _pageName }) %>
<%- body %>
<%- include('partials/footer', { config }) %>
<script src="/js/main.js" defer></script>
</body>
</html>