Add direct sales and security contact block to enterprise section
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 1m45s
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 1m45s
Two-card grid above the enterprise box — sales (enterprise@) and security (security@) — with email links and one-line descriptions. Visible without filling out the form, which is what enterprise and security teams look for first.
This commit is contained in:
+64
-2
@@ -189,6 +189,22 @@ fn enterprise() -> String {
|
||||
)
|
||||
)
|
||||
|
||||
let contact_block: String = el_div(
|
||||
"class=\"ent-contact-block reveal\"",
|
||||
el_div(
|
||||
"class=\"ent-contact-card\"",
|
||||
el_p("class=\"ent-contact-role\"", "Sales") +
|
||||
el_a("mailto:enterprise@neurontechnologies.ai", "class=\"ent-contact-email\"", "enterprise@neurontechnologies.ai") +
|
||||
el_p("class=\"ent-contact-desc\"", "Pricing, deployment options, and enterprise agreements.")
|
||||
) +
|
||||
el_div(
|
||||
"class=\"ent-contact-card\"",
|
||||
el_p("class=\"ent-contact-role\"", "Security") +
|
||||
el_a("mailto:security@neurontechnologies.ai", "class=\"ent-contact-email\"", "security@neurontechnologies.ai") +
|
||||
el_p("class=\"ent-contact-desc\"", "Vulnerability disclosure, compliance review, and security documentation.")
|
||||
)
|
||||
)
|
||||
|
||||
let enterprise_box: String = el_div(
|
||||
"class=\"enterprise-box reveal\"",
|
||||
el_p("class=\"ent-who-label\"", "Who I work with") +
|
||||
@@ -203,7 +219,53 @@ fn enterprise() -> String {
|
||||
enterprise_inquiry_form()
|
||||
)
|
||||
|
||||
let style_css: String = ".ent-inquiry-form {
|
||||
let style_css: String = ".ent-contact-block {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1rem;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
.ent-contact-card {
|
||||
padding: 1.5rem;
|
||||
border: 1px solid rgba(0,82,160,.18);
|
||||
background: rgba(0,82,160,.03);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: .4rem;
|
||||
}
|
||||
.ent-contact-role {
|
||||
font-family: var(--body);
|
||||
font-size: .65rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: .16em;
|
||||
text-transform: uppercase;
|
||||
color: var(--navy);
|
||||
margin-bottom: .1rem;
|
||||
}
|
||||
.ent-contact-email {
|
||||
font-family: var(--body);
|
||||
font-size: .9375rem;
|
||||
font-weight: 500;
|
||||
color: var(--t1);
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid rgba(0,82,160,.25);
|
||||
padding-bottom: .1rem;
|
||||
transition: border-color 200ms, color 200ms;
|
||||
width: fit-content;
|
||||
}
|
||||
.ent-contact-email:hover { color: var(--navy); border-color: var(--navy); }
|
||||
.ent-contact-desc {
|
||||
font-family: var(--body);
|
||||
font-size: .8125rem;
|
||||
font-weight: 300;
|
||||
color: var(--t3);
|
||||
line-height: 1.55;
|
||||
margin-top: .25rem;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
.ent-contact-block { grid-template-columns: 1fr; }
|
||||
}
|
||||
.ent-inquiry-form {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1rem;
|
||||
@@ -216,7 +278,7 @@ fn enterprise() -> String {
|
||||
|
||||
el_section(
|
||||
"id=\"enterprise\" aria-label=\"Enterprise\"",
|
||||
el_div("class=\"container\"", header + enterprise_cap_cards() + enterprise_box) +
|
||||
el_div("class=\"container\"", header + enterprise_cap_cards() + contact_block + enterprise_box) +
|
||||
"<style>" + style_css + "</style>" +
|
||||
el_script_src("/js/enterprise.js", true)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user