feat: hotel technology landing page per owner brief
- new copy and sections for the five hotel services - form fields: name, work email, phone, company, service - reject free email providers on page and server - second form in the final CTA, mobile WhatsApp/call bar - schema: industry and message replaced by service Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfmHGGiYUjNcvJoyzdf
This commit is contained in:
1 parent
e73444e156
commit
c2ebee08df
5 files changed
+492
-256
No files matched your search
@@ -47,6 +47,6 @@ for(const r of rows)console.log(Object.values(r).map(q).join(','));
|
|||||||
|
|
||||||
Or copy the whole database file: `kubectl cp <pod>:/data/leads.db ./leads.db`.
|
Or copy the whole database file: `kubectl cp <pod>:/data/leads.db ./leads.db`.
|
||||||
|
|
||||||
Columns: `id, created_at (UTC), name, email, phone, company, industry, message, referrer, utm_source, utm_medium, utm_campaign`.
|
Columns: `id, created_at (UTC), name, email, phone, company, service, referrer, utm_source, utm_medium, utm_campaign`.
|
||||||
|
|
||||||
Leads contain personal data (PDPA). Keep exported files out of shared drives and delete them when done.
|
Leads contain personal data (PDPA). Keep exported files out of shared drives and delete them when done.
|
||||||
@@ -39,3 +39,17 @@ Admin portal, email notifications, CAPTCHA, analytics, CMS.
|
|||||||
## Left to the builder
|
## Left to the builder
|
||||||
|
|
||||||
Visual styling, exact section copy wording (from source site), field length limits.
|
Visual styling, exact section copy wording (from source site), field length limits.
|
||||||
|
|
||||||
|
## Revision 2026-12-01: hotel technology brief from the page owner
|
||||||
|
|
||||||
|
The page owner supplied a new brief. It replaces the page content and form; storage and deployment are unchanged.
|
||||||
|
|
||||||
|
- Audience: hotel, resort, serviced-apartment and co-living decision-makers. Positioning: "One partner for the connected hotel."
|
||||||
|
- Five services: WiFi Managed Services (Infinity OneBox), Cloud IP PABX (CloudExt), GRE IPTV, Digital Signage, QR Door Locks. Process: Design, Supply, Install, Manage.
|
||||||
|
- Sections: sticky header, hero with form, trust strip, services, how we work, why Infinity, FAQ, final CTA with a second form, footer. Optional "Meet us at" badge, disabled by default.
|
||||||
|
- Form fields, exactly: full name, work email, phone/WhatsApp, company (all required); service interested in (optional select). Free email providers (gmail, yahoo, hotmail, etc.) are rejected with a friendly message, on the page and on the server.
|
||||||
|
- No statistics or client claims; unknown facts use `[PLACEHOLDER]` with a code comment.
|
||||||
|
- Contact: +6019 365 6987, John.goh@infinitynetworks.com.my.
|
||||||
|
- Google Fonts allowed (owner request). Floating WhatsApp/call button on mobile.
|
||||||
|
- Decision (user, 2026-12-01): keep the existing database endpoint instead of the brief's `action="#"` placeholder.
|
||||||
|
- Schema: `industry` and `message` columns replaced by `service`. The local database held only throwaway test data and is recreated.
|
||||||
+447
-245
@@ -3,335 +3,537 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Infinity Networks Security | Wi-Fi & Network Solutions in Malaysia</title>
|
<title>Hotel Technology, One Partner | Infinity Networks Security</title>
|
||||||
<meta name="description" content="Managed guest Wi-Fi and network solutions for hotels, healthcare, education and F&B. Serving 200+ hotels since 2012. Talk to Infinity Networks Security.">
|
<meta name="description" content="WiFi, cloud phones, IPTV, digital signage and QR door locks for hotels, designed, supplied, installed and managed by one Malaysian team. Get a free consultation.">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:title" content="One partner for the connected hotel | Infinity Networks Security">
|
||||||
|
<meta property="og:description" content="WiFi, cloud phones, IPTV, digital signage and QR door locks for hotels, managed by one local team.">
|
||||||
|
<!-- [PLACEHOLDER] set og:url to the live page address -->
|
||||||
|
<meta property="og:url" content="https://www.infinitynetworks.com.my/">
|
||||||
|
<!-- [PLACEHOLDER] add a 1200x630 share image: <meta property="og:image" content="https://.../og-image.jpg"> -->
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--navy: #072f4f;
|
--midnight: #0a1a2c;
|
||||||
--navy-2: #20425e;
|
--navy: #10294a;
|
||||||
--yellow: #f4c70b;
|
--gold: #e0b04a;
|
||||||
--ink: #1f2933;
|
--gold-ink: #7d5a10;
|
||||||
--muted: #5b6770;
|
--ink: #1c2530;
|
||||||
--line: #e3e7eb;
|
--muted: #55616d;
|
||||||
--bg-alt: #f4f6f8;
|
--line: #e2e6ea;
|
||||||
|
--paper: #ffffff;
|
||||||
|
--mist: #f5f6f4;
|
||||||
--ok: #1d7a46;
|
--ok: #1d7a46;
|
||||||
--err: #b3261e;
|
--err: #b3261e;
|
||||||
|
--display: "Fraunces", Georgia, serif;
|
||||||
|
--body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
* { box-sizing: border-box; }
|
* { box-sizing: border-box; }
|
||||||
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: #fff; }
|
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
|
||||||
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
|
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
|
||||||
|
body { margin: 0; font: 16px/1.65 var(--body); color: var(--ink); background: var(--paper); }
|
||||||
|
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; }
|
||||||
|
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
|
||||||
|
h3 { font-size: 1.15rem; font-weight: 600; }
|
||||||
p { margin: 0 0 1em; }
|
p { margin: 0 0 1em; }
|
||||||
a { color: inherit; }
|
a { color: inherit; }
|
||||||
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
|
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
|
||||||
.btn { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 6px; border: 0; cursor: pointer; font-size: 1rem; }
|
.label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
|
||||||
.btn:hover { filter: brightness(.95); }
|
.on-dark .label { color: var(--gold); }
|
||||||
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
|
|
||||||
|
|
||||||
header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
|
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold); color: var(--midnight); font: 600 1rem var(--body); text-decoration: none; padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
|
||||||
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
|
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
|
||||||
header img { height: 44px; width: auto; display: block; }
|
.btn:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
|
||||||
header nav { display: flex; gap: 24px; align-items: center; }
|
|
||||||
header nav a:not(.btn) { text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; }
|
|
||||||
@media (max-width: 760px) { header nav a:not(.btn) { display: none; } }
|
|
||||||
|
|
||||||
.hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 64px 0; }
|
/* Header */
|
||||||
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
|
header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
|
||||||
.eyebrow { color: #7a5c00; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
|
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
|
||||||
.hero .eyebrow { color: var(--yellow); }
|
header img { height: 42px; width: auto; display: block; }
|
||||||
.hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
|
header .btn { padding: 10px 18px; font-size: .92rem; }
|
||||||
.hero .lead { font-size: 1.15rem; opacity: .9; max-width: 34em; }
|
@media (max-width: 420px) { header .btn { padding: 9px 14px; font-size: .85rem; } }
|
||||||
.hero ul { list-style: none; padding: 0; margin: 24px 0 0; }
|
|
||||||
.hero li { padding-left: 28px; position: relative; margin-bottom: 8px; }
|
|
||||||
.hero li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }
|
|
||||||
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
|
|
||||||
|
|
||||||
.card-form { background: #fff; color: var(--ink); border-radius: 10px; padding: 28px; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
|
/* Hero */
|
||||||
.card-form h2 { color: var(--navy); font-size: 1.4rem; }
|
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, #1d3f6b 0%, transparent 60%), linear-gradient(160deg, var(--navy), var(--midnight)); padding: 72px 0 88px; }
|
||||||
.card-form > p { color: var(--muted); font-size: .95rem; }
|
.hero .net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .18; pointer-events: none; }
|
||||||
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
|
||||||
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }
|
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
|
||||||
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
|
.hero .sub { font-size: 1.15rem; color: #d5dde6; max-width: 32em; }
|
||||||
label span { color: var(--err); }
|
.hero .points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: #e6ebf0; }
|
||||||
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid #c5ccd3; border-radius: 6px; font: inherit; color: inherit; background: #fff; }
|
.hero .points li { display: flex; gap: 10px; align-items: baseline; }
|
||||||
textarea { resize: vertical; min-height: 80px; }
|
.hero .points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }
|
||||||
|
.badge { display: inline-block; margin-bottom: 20px; padding: 6px 14px; border: 1px solid rgba(224,176,74,.5); border-radius: 999px; color: var(--gold); font-size: .85rem; }
|
||||||
|
@media (max-width: 920px) { .hero { padding: 48px 0 56px; } .hero .wrap { grid-template-columns: 1fr; gap: 32px; } }
|
||||||
|
|
||||||
|
/* Form */
|
||||||
|
.form-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
|
||||||
|
.form-card h2 { font-size: 1.5rem; color: var(--navy); margin-bottom: .25em; }
|
||||||
|
.form-card .intro { color: var(--muted); font-size: .95rem; }
|
||||||
|
.field { margin-bottom: 14px; }
|
||||||
|
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 4px; }
|
||||||
|
.field label .opt { font-weight: 400; color: var(--muted); }
|
||||||
|
.field input, .field select { display: block; width: 100%; padding: 12px 14px; border: 1px solid #c3cad2; border-radius: 10px; font: 1rem var(--body); color: inherit; background: #fff; min-height: 48px; }
|
||||||
|
.field input[aria-invalid="true"] { border-color: var(--err); }
|
||||||
|
.field .error { color: var(--err); font-size: .83rem; margin: 4px 0 0; }
|
||||||
|
.field .error:empty { display: none; }
|
||||||
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
|
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
|
||||||
.card-form .btn { width: 100%; margin-top: 4px; }
|
.lead-form .btn { width: 100%; padding: 15px; margin-top: 4px; }
|
||||||
.card-form .btn[disabled] { opacity: .6; cursor: wait; }
|
.lead-form .btn[disabled] { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
|
||||||
.status { margin: 12px 0 0; font-weight: 600; font-size: .95rem; }
|
.next { font-size: .85rem; color: var(--muted); margin: 12px 0 4px; }
|
||||||
.status.ok { color: var(--ok); }
|
.privacy { font-size: .78rem; color: var(--muted); margin: 0; }
|
||||||
.status.err { color: var(--err); }
|
.form-status { font-weight: 600; font-size: .95rem; margin: 12px 0 0; }
|
||||||
.fine { font-size: .78rem; color: var(--muted); margin: 12px 0 0; }
|
.form-status.err { color: var(--err); }
|
||||||
|
.form-status:empty { display: none; }
|
||||||
|
.success { text-align: center; padding: 24px 8px; }
|
||||||
|
.success svg { width: 56px; height: 56px; color: var(--ok); }
|
||||||
|
.success h3 { color: var(--navy); font-family: var(--display); font-size: 1.5rem; margin-top: 12px; }
|
||||||
|
|
||||||
.proof { background: var(--yellow); color: var(--navy); }
|
/* Trust strip */
|
||||||
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 24px; padding-bottom: 24px; text-align: center; }
|
.trust { background: var(--mist); border-bottom: 1px solid var(--line); }
|
||||||
.proof strong { display: block; font-size: 1.6rem; }
|
.trust ul { list-style: none; margin: 0 auto; padding: 22px 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-weight: 600; color: var(--navy); font-size: .95rem; text-align: center; }
|
||||||
.proof span { font-size: .9rem; font-weight: 600; }
|
|
||||||
@media (max-width: 700px) { .proof .wrap { grid-template-columns: 1fr 1fr; } }
|
|
||||||
|
|
||||||
section { padding: 72px 0; }
|
/* Sections */
|
||||||
section.alt { background: var(--bg-alt); }
|
section { padding: 88px 0; }
|
||||||
.section-head { max-width: 680px; margin-bottom: 40px; }
|
.head { max-width: 640px; margin-bottom: 44px; }
|
||||||
.section-head h2 { color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.1rem); }
|
.head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--navy); }
|
||||||
.section-head p { color: var(--muted); }
|
.head p { color: var(--muted); font-size: 1.05rem; }
|
||||||
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
|
@media (max-width: 700px) { section { padding: 64px 0; } }
|
||||||
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
|
|
||||||
.card h3 { color: var(--navy); font-size: 1.3rem; }
|
|
||||||
.card p { color: var(--muted); font-size: .95rem; }
|
|
||||||
.card ul { margin: 0; padding-left: 18px; font-size: .9rem; }
|
|
||||||
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
|
|
||||||
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
|
|
||||||
.ticks { list-style: none; padding: 0; margin: 0; }
|
|
||||||
.ticks li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; }
|
|
||||||
.ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--navy); font-weight: 800; }
|
|
||||||
.steps { counter-reset: s; }
|
|
||||||
.steps .card { counter-increment: s; }
|
|
||||||
.steps .card h3::before { content: counter(s, decimal-leading-zero) " "; color: var(--yellow); }
|
|
||||||
|
|
||||||
.cta { background: var(--navy); color: #fff; text-align: center; }
|
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
|
||||||
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
|
.svc { border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
|
||||||
.cta p { opacity: .85; }
|
.svc:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,41,74,.1); border-color: #cfd6de; }
|
||||||
|
.svc .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--midnight); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
|
||||||
|
.svc .icon svg { width: 24px; height: 24px; }
|
||||||
|
.svc h3 { color: var(--navy); margin-bottom: .35em; }
|
||||||
|
.svc .tag { font-size: .8rem; color: var(--muted); margin-bottom: .6em; }
|
||||||
|
.svc p { color: var(--muted); font-size: .95rem; margin: 0; }
|
||||||
|
.svc p.tag { margin-bottom: .6em; }
|
||||||
|
|
||||||
footer { background: #041f35; color: #c9d3dc; font-size: .9rem; padding: 48px 0 24px; }
|
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
|
||||||
footer .grid { gap: 32px; }
|
.steps li { counter-increment: s; position: relative; padding: 56px 24px 0 0; }
|
||||||
footer h3 { color: #fff; font-size: 1rem; }
|
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--midnight); font-weight: 700; display: grid; place-items: center; }
|
||||||
footer a { color: var(--yellow); text-decoration: none; }
|
.steps li::after { content: ""; position: absolute; top: 18px; left: 44px; right: 8px; height: 1px; background: rgba(255,255,255,.25); }
|
||||||
footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 16px; font-size: .8rem; opacity: .7; }
|
.steps li:last-child::after { display: none; }
|
||||||
|
.steps h3 { color: #fff; }
|
||||||
|
.steps p { color: #c7d1db; font-size: .95rem; }
|
||||||
|
@media (max-width: 800px) {
|
||||||
|
.steps { grid-template-columns: 1fr; gap: 28px; }
|
||||||
|
.steps li { padding: 0 0 0 56px; }
|
||||||
|
.steps li::after { top: 44px; bottom: -24px; left: 18px; right: auto; width: 1px; height: auto; }
|
||||||
|
}
|
||||||
|
.dark { background: linear-gradient(160deg, var(--navy), var(--midnight)); color: #fff; }
|
||||||
|
.dark .head h2 { color: #fff; }
|
||||||
|
.dark .head p { color: #c7d1db; }
|
||||||
|
|
||||||
|
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
|
||||||
|
.why ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
|
||||||
|
.why li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
|
||||||
|
.why li svg { width: 24px; height: 24px; color: var(--gold-ink); margin-top: 2px; }
|
||||||
|
.why li strong { display: block; color: var(--navy); }
|
||||||
|
.why li span { color: var(--muted); font-size: .95rem; }
|
||||||
|
.img-ph { aspect-ratio: 4 / 5; border-radius: 18px; border: 2px dashed #c3cad2; background: repeating-linear-gradient(135deg, var(--mist) 0 14px, #eef0ee 14px 28px); display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 20px; }
|
||||||
|
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } .img-ph { aspect-ratio: 16 / 9; } }
|
||||||
|
|
||||||
|
.faq { max-width: 780px; }
|
||||||
|
.faq details { border-bottom: 1px solid var(--line); }
|
||||||
|
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; color: var(--navy); position: relative; font-size: 1.05rem; }
|
||||||
|
.faq summary::-webkit-details-marker { display: none; }
|
||||||
|
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; color: var(--gold-ink); transition: transform .2s ease; }
|
||||||
|
.faq details[open] summary::after { transform: rotate(45deg); }
|
||||||
|
.faq details p { color: var(--muted); padding-right: 36px; }
|
||||||
|
|
||||||
|
.final .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
|
||||||
|
.final .reveal h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
|
||||||
|
.final .reveal p { color: #c7d1db; font-size: 1.05rem; }
|
||||||
|
@media (max-width: 920px) { .final .wrap { grid-template-columns: 1fr; gap: 32px; } }
|
||||||
|
|
||||||
|
footer { background: #061220; color: #b9c4cf; font-size: .92rem; padding: 48px 0 96px; }
|
||||||
|
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
|
||||||
|
footer strong { color: #fff; display: block; margin-bottom: 6px; }
|
||||||
|
footer a { color: var(--gold); text-decoration: none; }
|
||||||
|
footer a:hover { text-decoration: underline; }
|
||||||
|
footer .legal { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: #8f9eac; }
|
||||||
|
@media (min-width: 761px) { footer { padding-bottom: 32px; } }
|
||||||
|
|
||||||
|
/* Floating contact (mobile) */
|
||||||
|
.float { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; gap: 10px; }
|
||||||
|
.float a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 999px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
|
||||||
|
.float svg { width: 20px; height: 20px; }
|
||||||
|
.float .wa { background: #1f7a4d; color: #fff; }
|
||||||
|
.float .call { background: var(--midnight); color: #fff; }
|
||||||
|
@media (max-width: 760px) { .float { display: flex; } }
|
||||||
|
|
||||||
|
/* Scroll reveal: content stays visible if JS is off or motion is reduced */
|
||||||
|
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
|
||||||
|
.js .reveal.in { opacity: 1; transform: none; }
|
||||||
|
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<script>document.documentElement.classList.add('js');</script>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<a href="#top" aria-label="Infinity Networks Security home"><img src="/logo.png" alt="Infinity Networks Security" width="170" height="65"></a>
|
<a href="#top" aria-label="Infinity Networks Security, back to top"><img src="/logo.png" alt="Infinity Networks Security" width="170" height="65"></a>
|
||||||
<nav aria-label="Main">
|
<a class="btn" href="#consult">Get My Free Consultation</a>
|
||||||
<a href="#solutions">Solutions</a>
|
|
||||||
<a href="#onebox">OneBox</a>
|
|
||||||
<a href="#contact">Contact</a>
|
|
||||||
<a class="btn" href="#enquire">Get a free consultation</a>
|
|
||||||
</nav>
|
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main id="top">
|
<main id="top">
|
||||||
<section class="hero" aria-labelledby="hero-title">
|
<section class="hero on-dark" aria-labelledby="hero-title">
|
||||||
|
<!-- abstract connectivity pattern -->
|
||||||
|
<svg class="net" viewBox="0 0 1200 600" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
|
||||||
|
<g stroke="#e0b04a" stroke-width="1" fill="none">
|
||||||
|
<path d="M80 480 L260 360 L420 420 L600 260 L780 320 L960 160 L1140 220"/>
|
||||||
|
<path d="M260 360 L340 180 L600 260 M780 320 L860 500 L1040 420 L960 160"/>
|
||||||
|
<path d="M420 420 L520 560 M600 260 L700 80 L960 160"/>
|
||||||
|
</g>
|
||||||
|
<g fill="#e0b04a">
|
||||||
|
<circle cx="80" cy="480" r="4"/><circle cx="260" cy="360" r="5"/><circle cx="420" cy="420" r="4"/>
|
||||||
|
<circle cx="600" cy="260" r="6"/><circle cx="780" cy="320" r="4"/><circle cx="960" cy="160" r="5"/>
|
||||||
|
<circle cx="1140" cy="220" r="4"/><circle cx="340" cy="180" r="3"/><circle cx="860" cy="500" r="3"/>
|
||||||
|
<circle cx="1040" cy="420" r="4"/><circle cx="520" cy="560" r="3"/><circle cx="700" cy="80" r="4"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<div>
|
<div>
|
||||||
<p class="eyebrow">Wireless & network solutions</p>
|
<!-- [PLACEHOLDER] Optional event badge. To show it, move the line below out of this comment and fill it in.
|
||||||
<h1 id="hero-title">We bridge the gap between business and technology</h1>
|
<span class="badge">Meet us at [EVENT] · [DATE] · [VENUE]</span>
|
||||||
<p class="lead">Reliable, branded guest Wi-Fi and network infrastructure for hotels, hospitals, schools and restaurants, designed, installed and supported by our own engineers.</p>
|
-->
|
||||||
<ul>
|
<p class="label">Hotel technology, managed</p>
|
||||||
<li>Trusted by 200+ hotels since 2012</li>
|
<h1 id="hero-title">One partner for the connected hotel.</h1>
|
||||||
<li>Clients in more than 5 countries</li>
|
<p class="sub">WiFi, phones, in-room TV, signage and door locks, designed, installed and managed by one local team so yours can focus on guests.</p>
|
||||||
<li>24/7 support hotline</li>
|
<ul class="points">
|
||||||
<li>Represents more than 15 principal vendors</li>
|
<li>One accountable partner instead of five vendors</li>
|
||||||
|
<li>Cloud-managed, so updates and fixes happen remotely</li>
|
||||||
|
<li>Local support team in Malaysia</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="form-card" id="consult">
|
||||||
<div class="card-form" id="enquire">
|
<h2>Get a free consultation</h2>
|
||||||
<h2>Talk to our team</h2>
|
<p class="intro">Tell us about your property. It takes under a minute.</p>
|
||||||
<p>Tell us about your site and our team will get back to you.</p>
|
<!-- The form posts to this site's own server (POST /api/leads), which stores each lead in the database. -->
|
||||||
<form id="lead-form" novalidate>
|
<form class="lead-form" novalidate>
|
||||||
<div class="row">
|
<div class="field">
|
||||||
<label>Full name <span aria-hidden="true">*</span>
|
<label for="h-name">Full name</label>
|
||||||
<input name="name" required maxlength="200" autocomplete="name">
|
<input id="h-name" name="name" required maxlength="200" autocomplete="name">
|
||||||
</label>
|
<p class="error" id="h-name-err"></p>
|
||||||
<label>Company <span aria-hidden="true">*</span>
|
|
||||||
<input name="company" required maxlength="200" autocomplete="organization">
|
|
||||||
</label>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="field">
|
||||||
<label>Email <span aria-hidden="true">*</span>
|
<label for="h-email">Work email</label>
|
||||||
<input name="email" type="email" required maxlength="200" autocomplete="email">
|
<input id="h-email" name="email" type="email" required maxlength="200" autocomplete="email" inputmode="email">
|
||||||
</label>
|
<p class="error" id="h-email-err"></p>
|
||||||
<label>Phone <span aria-hidden="true">*</span>
|
|
||||||
<input name="phone" type="tel" required maxlength="200" autocomplete="tel">
|
|
||||||
</label>
|
|
||||||
</div>
|
</div>
|
||||||
<label>Industry
|
<div class="field">
|
||||||
<select name="industry">
|
<label for="h-phone">Phone / WhatsApp</label>
|
||||||
<option value="">Select your industry</option>
|
<input id="h-phone" name="phone" type="tel" required maxlength="200" autocomplete="tel" inputmode="tel">
|
||||||
<option>Hospitality</option>
|
<p class="error" id="h-phone-err"></p>
|
||||||
<option>Healthcare</option>
|
</div>
|
||||||
<option>Education</option>
|
<div class="field">
|
||||||
<option>Food & Beverage</option>
|
<label for="h-company">Company name</label>
|
||||||
<option>Other</option>
|
<input id="h-company" name="company" required maxlength="200" autocomplete="organization">
|
||||||
|
<p class="error" id="h-company-err"></p>
|
||||||
|
</div>
|
||||||
|
<div class="field">
|
||||||
|
<label for="h-service">Service interested in <span class="opt">(optional)</span></label>
|
||||||
|
<select id="h-service" name="service">
|
||||||
|
<option value="">Choose a service</option>
|
||||||
|
<option>WiFi Managed Services</option>
|
||||||
|
<option>Cloud IP PABX</option>
|
||||||
|
<option>GRE IPTV</option>
|
||||||
|
<option>Digital Signage</option>
|
||||||
|
<option>QR Door Locks</option>
|
||||||
|
<option>Not sure yet</option>
|
||||||
</select>
|
</select>
|
||||||
</label>
|
|
||||||
<label>How can we help?
|
|
||||||
<textarea name="message" maxlength="2000" placeholder="e.g. Guest Wi-Fi for a 120-room hotel"></textarea>
|
|
||||||
</label>
|
|
||||||
<div class="hp" aria-hidden="true">
|
|
||||||
<label>Leave this field blank <input name="website" tabindex="-1" autocomplete="off"></label>
|
|
||||||
</div>
|
</div>
|
||||||
<button class="btn" type="submit">Request a consultation</button>
|
<div class="hp" aria-hidden="true"><label>Leave blank <input name="website" tabindex="-1" autocomplete="off"></label></div>
|
||||||
<p class="status" id="form-status" role="status" aria-live="polite"></p>
|
<input type="hidden" name="utm_source"><input type="hidden" name="utm_medium"><input type="hidden" name="utm_campaign"><input type="hidden" name="referrer">
|
||||||
<p class="fine">We only use your details to respond to this enquiry.</p>
|
<button class="btn" type="submit">Get My Free Consultation</button>
|
||||||
|
<p class="form-status" role="alert"></p>
|
||||||
|
<!-- [PLACEHOLDER] confirm the follow-up timeframe (also in the second form below) -->
|
||||||
|
<p class="next">A specialist will call or WhatsApp you within [PLACEHOLDER: 1 business day] to understand your property.</p>
|
||||||
|
<p class="privacy">We only use your details to respond to this enquiry.</p>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="proof" aria-label="Track record">
|
<div class="trust" aria-label="Why hotels trust us">
|
||||||
<div class="wrap">
|
<ul class="wrap">
|
||||||
<div><strong>2012</strong><span>Established</span></div>
|
<li>Certified with LG · Samsung · Philips</li>
|
||||||
<div><strong>200+</strong><span>Hotels served</span></div>
|
<li>Design • Supply • Install • Manage</li>
|
||||||
<div><strong>100+</strong><span>F&B clients</span></div>
|
<li>Malaysian-based local support</li>
|
||||||
<div><strong>24/7</strong><span>Support</span></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<section id="solutions" aria-labelledby="sol-title">
|
|
||||||
<div class="wrap">
|
|
||||||
<div class="section-head">
|
|
||||||
<p class="eyebrow">Solutions for wireless operations</p>
|
|
||||||
<h2 id="sol-title">Built for the industries we know best</h2>
|
|
||||||
<p>Every deployment includes bandwidth management, multi-WAN load balancing and burstable bandwidth, tuned to how your venue actually runs.</p>
|
|
||||||
</div>
|
|
||||||
<div class="grid">
|
|
||||||
<article class="card">
|
|
||||||
<h3>Hospitality</h3>
|
|
||||||
<p>Guest Wi-Fi that keeps travellers coming back, plus tools for operations tracking and your customer database.</p>
|
|
||||||
<ul><li>Load balancing for up to 4 WAN lines</li><li>Scheduled & burstable bandwidth</li><li>Voucher printing</li></ul>
|
|
||||||
</article>
|
|
||||||
<article class="card">
|
|
||||||
<h3>Healthcare</h3>
|
|
||||||
<p>Dependable connectivity for operations, scheduling, stock and patient-facing Wi-Fi.</p>
|
|
||||||
<ul><li>User registration portal</li><li>Bandwidth management</li><li>4-WAN load balancer</li></ul>
|
|
||||||
</article>
|
|
||||||
<article class="card">
|
|
||||||
<h3>Education</h3>
|
|
||||||
<p>Campus Wi-Fi for data recording, staff intranet and online teaching and learning.</p>
|
|
||||||
<ul><li>LDAP integration</li><li>Burstable bandwidth</li><li>4-WAN load balancer</li></ul>
|
|
||||||
</article>
|
|
||||||
<article class="card">
|
|
||||||
<h3>Food & Beverage</h3>
|
|
||||||
<p>Diner Wi-Fi that markets for you, with stock control, staff schedules and POS connectivity.</p>
|
|
||||||
<ul><li>Advertisement portal</li><li>Centralised VPN across outlets</li><li>2-WAN load balancer</li></ul>
|
|
||||||
</article>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="alt" aria-labelledby="guest-title">
|
|
||||||
<div class="wrap split">
|
|
||||||
<div>
|
|
||||||
<p class="eyebrow">Guest Wi-Fi platform</p>
|
|
||||||
<h2 id="guest-title" style="color:var(--navy)">Beautiful, branded and seamless</h2>
|
|
||||||
<p>Give customers a login experience that carries your brand, at any of your venues, managed from one cloud platform.</p>
|
|
||||||
</div>
|
|
||||||
<ul class="ticks">
|
|
||||||
<li><strong>Tiered bandwidth.</strong> Offer free access or charge by time, data or speed tier.</li>
|
|
||||||
<li><strong>Content filtering.</strong> Block harmful URLs on the Internet Watch Foundation list, with category reports.</li>
|
|
||||||
<li><strong>Multilingual login.</strong> End-user login available in 24 languages.</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<section id="services" aria-labelledby="svc-title">
|
||||||
|
<div class="wrap">
|
||||||
|
<div class="head reveal">
|
||||||
|
<p class="label">Services</p>
|
||||||
|
<h2 id="svc-title">Everything your guests touch, handled by one team</h2>
|
||||||
|
<p>Pick one service or bring them all together. Either way, you get one point of contact.</p>
|
||||||
|
</div>
|
||||||
|
<div class="services">
|
||||||
|
<article class="svc reveal">
|
||||||
|
<div class="icon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M2 8.5a15 15 0 0 1 20 0"/><path d="M5 12a10 10 0 0 1 14 0"/><path d="M8.5 15.5a5 5 0 0 1 7 0"/><circle cx="12" cy="19" r="1" fill="currentColor"/></svg></div>
|
||||||
|
<h3>WiFi Managed Services</h3>
|
||||||
|
<p class="tag">Infinity OneBox</p>
|
||||||
|
<p>Fast, reliable WiFi in every room and back office, monitored around the clock so problems are fixed before guests complain.</p>
|
||||||
|
</article>
|
||||||
|
<article class="svc reveal">
|
||||||
|
<div class="icon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2"/></svg></div>
|
||||||
|
<h3>Cloud IP PABX</h3>
|
||||||
|
<p class="tag">CloudExt</p>
|
||||||
|
<p>Replace your ageing phone system without ripping it out. Front-desk features, wake-up calls and call reports, all in the cloud.</p>
|
||||||
|
</article>
|
||||||
|
<article class="svc reveal">
|
||||||
|
<div class="icon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="13" rx="2"/><path d="M8 21h8M12 17v4"/></svg></div>
|
||||||
|
<h3>GRE IPTV</h3>
|
||||||
|
<p class="tag">Works with LG, Samsung, Philips</p>
|
||||||
|
<p>In-room TV with your own welcome screen, and guests can cast from their phones, all over the network you already have.</p>
|
||||||
|
</article>
|
||||||
|
<article class="svc reveal">
|
||||||
|
<div class="icon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="12" rx="1.5"/><path d="M12 15v6M8 21h8M7 7h6M7 10h10"/></svg></div>
|
||||||
|
<h3>Digital Signage</h3>
|
||||||
|
<p class="tag">Lobby, meeting rooms, F&B</p>
|
||||||
|
<p>Keep meeting schedules, wayfinding, promotions and menus up to date from one dashboard, with no reprinting.</p>
|
||||||
|
</article>
|
||||||
|
<article class="svc reveal">
|
||||||
|
<div class="icon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="10" width="16" height="11" rx="2"/><path d="M8 10V7a4 4 0 0 1 8 0v3"/><path d="M9 14h2v2H9zM13 14h2M13 17h2v1"/></svg></div>
|
||||||
|
<h3>QR Door Locks</h3>
|
||||||
|
<p class="tag">Hotels, serviced apartments, co-living</p>
|
||||||
|
<p>Contactless entry. Issue or revoke keys remotely, with a full record of who opened which door and when.</p>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="onebox" aria-labelledby="onebox-title">
|
<section class="dark on-dark" aria-labelledby="how-title">
|
||||||
<div class="wrap split">
|
<div class="wrap">
|
||||||
<div>
|
<div class="head reveal">
|
||||||
<p class="eyebrow">Our own product</p>
|
<p class="label">How we work</p>
|
||||||
<h2 id="onebox-title" style="color:var(--navy)">OneBox Internet Gateway</h2>
|
<h2 id="how-title">From first survey to day-to-day care</h2>
|
||||||
<p>One gateway for wireless internet across your whole building, with authentication, bandwidth control, monitoring and accounting built in.</p>
|
<p>One team carries your project from start to finish, so nothing falls between vendors.</p>
|
||||||
<a class="btn" href="#enquire">Ask about OneBox</a>
|
|
||||||
</div>
|
</div>
|
||||||
<ul class="ticks">
|
<ol class="steps">
|
||||||
<li>Zero upfront hardware investment</li>
|
<li class="reveal"><h3>Design</h3><p>We survey your property and plan around your guests, your building and your budget.</p></li>
|
||||||
<li>Unlimited user licences</li>
|
<li class="reveal"><h3>Supply</h3><p>We source the right equipment, reusing what you already have where it makes sense.</p></li>
|
||||||
<li>Multiple internet lines with load balancing</li>
|
<li class="reveal"><h3>Install</h3><p>Our engineers install and test on site, scheduled around your occupancy.</p></li>
|
||||||
<li>Interfaces with major hotel billing systems</li>
|
<li class="reveal"><h3>Manage</h3><p>We monitor, update and support everything after go-live, so your team doesn't have to.</p></li>
|
||||||
<li>24/7 live support</li>
|
</ol>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section aria-labelledby="why-title">
|
||||||
|
<div class="wrap why">
|
||||||
|
<div>
|
||||||
|
<div class="head reveal" style="margin-bottom:32px">
|
||||||
|
<p class="label">Why Infinity</p>
|
||||||
|
<h2 id="why-title">Fewer vendors. Fewer headaches.</h2>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li class="reveal"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12l5 5L20 7"/></svg><div><strong>One accountable partner</strong><span>One number to call for WiFi, phones, TV, signage and locks.</span></div></li>
|
||||||
|
<li class="reveal"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12l5 5L20 7"/></svg><div><strong>Lower total cost</strong><span>Consolidating vendors cuts duplicated contracts and support fees.</span></div></li>
|
||||||
|
<li class="reveal"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12l5 5L20 7"/></svg><div><strong>Better guest experience</strong><span>Systems that work together, so guests notice comfort, not technology.</span></div></li>
|
||||||
|
<li class="reveal"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12l5 5L20 7"/></svg><div><strong>Cloud-managed, future-ready</strong><span>Remote updates and monitoring, with room to add services later.</span></div></li>
|
||||||
|
<li class="reveal"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12l5 5L20 7"/></svg><div><strong>Local support in Malaysia</strong><span>A team in your time zone who can be on site when needed.</span></div></li>
|
||||||
|
<li class="reveal"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12l5 5L20 7"/></svg><div><strong>Built for multiple properties</strong><span>A proven rollout playbook to bring every site up to the same standard.</span></div></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- [PLACEHOLDER] Replace with a hotel photo, e.g. <img src="/hotel.jpg" alt="..." style="width:100%;border-radius:18px">, and add the file to PAGES in server.js -->
|
||||||
|
<div class="img-ph reveal" role="img" aria-label="Hotel photo placeholder">Hotel photo placeholder<br>(lobby or guest room, 4:5)</div>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="alt" aria-labelledby="how-title">
|
<section style="background:var(--mist)" aria-labelledby="faq-title">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<div class="section-head">
|
<div class="head reveal">
|
||||||
<p class="eyebrow">Certified IT services</p>
|
<p class="label">FAQ</p>
|
||||||
<h2 id="how-title">From design to day-to-day support</h2>
|
<h2 id="faq-title">Questions hotels ask us</h2>
|
||||||
<p>We design, install, configure and support your network, and keep listening after go-live.</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="grid steps">
|
<div class="faq">
|
||||||
<div class="card"><h3>Analyze</h3><p>We study your site, users and existing infrastructure.</p></div>
|
<details>
|
||||||
<div class="card"><h3>Design</h3><p>We plan coverage, capacity and the right hardware for your budget.</p></div>
|
<summary>Can you work with our existing cabling and equipment?</summary>
|
||||||
<div class="card"><h3>Activate</h3><p>Our engineers install, configure and test everything on site.</p></div>
|
<p>Often, yes. We survey first and reuse cabling and equipment wherever it is sound. Our cloud phone migration, for example, is designed to avoid a rip-and-replace.</p>
|
||||||
<div class="card"><h3>Listen</h3><p>Round-the-clock support and continuous tuning as you grow.</p></div>
|
</details>
|
||||||
|
<details>
|
||||||
|
<summary>Do you support groups with multiple properties?</summary>
|
||||||
|
<p>Yes. We use a proven rollout playbook so every property gets the same setup and standard, and everything is managed centrally from the cloud.</p>
|
||||||
|
</details>
|
||||||
|
<details>
|
||||||
|
<summary>How long does installation take?</summary>
|
||||||
|
<!-- [PLACEHOLDER] confirm typical timelines with the delivery team -->
|
||||||
|
<p>It depends on the size of the property and the services you choose. As a guide, [PLACEHOLDER: typical timeline]. We schedule work around your occupancy to keep disruption to guests low.</p>
|
||||||
|
</details>
|
||||||
|
<details>
|
||||||
|
<summary>Is support local?</summary>
|
||||||
|
<p>Yes. Our team is based in Malaysia, with offices in Petaling Jaya and Penang.</p>
|
||||||
|
</details>
|
||||||
|
<details>
|
||||||
|
<summary>Can I choose just one service?</summary>
|
||||||
|
<p>Absolutely. Many hotels start with one service, such as WiFi or phones, and add more later. You still get one point of contact.</p>
|
||||||
|
</details>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="cta" aria-labelledby="cta-title">
|
<section class="dark on-dark final" aria-labelledby="final-title">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<h2 id="cta-title">Quality over quantity, always</h2>
|
<div class="reveal">
|
||||||
<p>Let's talk about the network your guests, patients, students or diners deserve.</p>
|
<p class="label">Free consultation</p>
|
||||||
<a class="btn" href="#enquire">Get a free consultation</a>
|
<h2 id="final-title">Let's make your hotel easier to run.</h2>
|
||||||
|
<p>Tell us what you have today and what's not working. We'll come back with a practical plan, with no obligation.</p>
|
||||||
|
</div>
|
||||||
|
<div class="form-card">
|
||||||
|
<h2>Get a free consultation</h2>
|
||||||
|
<p class="intro">Tell us about your property. It takes under a minute.</p>
|
||||||
|
<form class="lead-form" novalidate>
|
||||||
|
<div class="field">
|
||||||
|
<label for="f-name">Full name</label>
|
||||||
|
<input id="f-name" name="name" required maxlength="200" autocomplete="name">
|
||||||
|
<p class="error" id="f-name-err"></p>
|
||||||
|
</div>
|
||||||
|
<div class="field">
|
||||||
|
<label for="f-email">Work email</label>
|
||||||
|
<input id="f-email" name="email" type="email" required maxlength="200" autocomplete="email" inputmode="email">
|
||||||
|
<p class="error" id="f-email-err"></p>
|
||||||
|
</div>
|
||||||
|
<div class="field">
|
||||||
|
<label for="f-phone">Phone / WhatsApp</label>
|
||||||
|
<input id="f-phone" name="phone" type="tel" required maxlength="200" autocomplete="tel" inputmode="tel">
|
||||||
|
<p class="error" id="f-phone-err"></p>
|
||||||
|
</div>
|
||||||
|
<div class="field">
|
||||||
|
<label for="f-company">Company name</label>
|
||||||
|
<input id="f-company" name="company" required maxlength="200" autocomplete="organization">
|
||||||
|
<p class="error" id="f-company-err"></p>
|
||||||
|
</div>
|
||||||
|
<div class="field">
|
||||||
|
<label for="f-service">Service interested in <span class="opt">(optional)</span></label>
|
||||||
|
<select id="f-service" name="service">
|
||||||
|
<option value="">Choose a service</option>
|
||||||
|
<option>WiFi Managed Services</option>
|
||||||
|
<option>Cloud IP PABX</option>
|
||||||
|
<option>GRE IPTV</option>
|
||||||
|
<option>Digital Signage</option>
|
||||||
|
<option>QR Door Locks</option>
|
||||||
|
<option>Not sure yet</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="hp" aria-hidden="true"><label>Leave blank <input name="website" tabindex="-1" autocomplete="off"></label></div>
|
||||||
|
<input type="hidden" name="utm_source"><input type="hidden" name="utm_medium"><input type="hidden" name="utm_campaign"><input type="hidden" name="referrer">
|
||||||
|
<button class="btn" type="submit">Get My Free Consultation</button>
|
||||||
|
<p class="form-status" role="alert"></p>
|
||||||
|
<p class="next">A specialist will call or WhatsApp you within [PLACEHOLDER: 1 business day] to understand your property.</p>
|
||||||
|
<p class="privacy">We only use your details to respond to this enquiry.</p>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer id="contact">
|
<footer>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<div class="grid">
|
<div class="cols">
|
||||||
<div>
|
<div>
|
||||||
<h3>Headquarters</h3>
|
<strong>Infinity Networks Security Sdn Bhd</strong>
|
||||||
<p>Infinity Networks Security Sdn Bhd<br>Unit 2-6, Infinity Tower, No 28, Jalan SS 6/3,<br>47301 Petaling Jaya, Selangor, Malaysia</p>
|
Unit 2-6, Infinity Tower,<br>Petaling Jaya, Malaysia
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h3>Penang branch</h3>
|
<strong>Talk to us</strong>
|
||||||
<p>Infinity Networks Security (North) Sdn Bhd<br>266, Jalan Macalister,<br>10400 Pulau Pinang</p>
|
<a href="tel:+60193656987">+6019 365 6987</a><br>
|
||||||
|
<a href="mailto:John.goh@infinitynetworks.com.my">John.goh@infinitynetworks.com.my</a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h3>Get in touch</h3>
|
<strong>Website</strong>
|
||||||
<p>Phone: <a href="tel:+60376239807">+603-7623 9807</a><br>Email: <a href="mailto:info@infinitynetworks.com.my">info@infinitynetworks.com.my</a><br>Mon–Fri, 9:00 AM – 6:00 PM<br>Support: 24/7</p>
|
<a href="https://www.infinitynetworks.com.my/">www.infinitynetworks.com.my</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p class="legal">© <span id="year">2026</span> Infinity Networks Security Sdn Bhd (980756-K). All rights reserved.</p>
|
<p class="legal">© <span class="year">2026</span> Infinity Networks Security Sdn Bhd. All rights reserved.</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script>
|
<div class="float" aria-label="Quick contact">
|
||||||
document.getElementById('year').textContent = new Date().getFullYear();
|
<a class="wa" href="https://wa.me/60193656987" target="_blank" rel="noopener">
|
||||||
|
<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6a2.7 2.7 0 0 0 1.7-1.2 2.2 2.2 0 0 0 .2-1.2c-.1-.1-.3-.2-.5-.3z"/></svg>
|
||||||
|
WhatsApp
|
||||||
|
</a>
|
||||||
|
<a class="call" href="tel:+60193656987">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2"/></svg>
|
||||||
|
Call us
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
const form = document.getElementById('lead-form');
|
<script>
|
||||||
const status = document.getElementById('form-status');
|
document.querySelectorAll('.year').forEach((el) => { el.textContent = new Date().getFullYear(); });
|
||||||
const button = form.querySelector('button');
|
|
||||||
|
// Scroll reveal
|
||||||
|
if ('IntersectionObserver' in window) {
|
||||||
|
const io = new IntersectionObserver((entries) => entries.forEach((e) => {
|
||||||
|
if (e.isIntersecting) { e.target.classList.add('in'); io.unobserve(e.target); }
|
||||||
|
}), { threshold: 0.12 });
|
||||||
|
document.querySelectorAll('.reveal').forEach((el) => io.observe(el));
|
||||||
|
} else {
|
||||||
|
document.querySelectorAll('.reveal').forEach((el) => el.classList.add('in'));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Keep this list in sync with FREE_EMAIL in server.js
|
||||||
|
const FREE_EMAIL = /@(gmail|googlemail|yahoo|ymail|rocketmail|hotmail|outlook|live|msn|icloud|me|mac|aol|protonmail|proton|gmx|yandex|zoho)\.[a-z.]+$/i;
|
||||||
|
const EMAIL = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
||||||
|
|
||||||
|
function checkField(input) {
|
||||||
|
const v = input.value.trim();
|
||||||
|
let msg = '';
|
||||||
|
if (input.required && !v) msg = 'Please fill this in.';
|
||||||
|
else if (input.name === 'email' && !EMAIL.test(v)) msg = 'Please enter a valid email address.';
|
||||||
|
else if (input.name === 'email' && FREE_EMAIL.test(v)) msg = 'Please use your work email so our team can reach the right person.';
|
||||||
|
const err = document.getElementById(input.id + '-err');
|
||||||
|
if (err) err.textContent = msg;
|
||||||
|
input.setAttribute('aria-invalid', msg ? 'true' : 'false');
|
||||||
|
if (msg) input.setAttribute('aria-describedby', input.id + '-err'); else input.removeAttribute('aria-describedby');
|
||||||
|
return !msg;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Capture UTM parameters and the referring site into every form's hidden fields
|
||||||
|
const params = new URLSearchParams(location.search);
|
||||||
|
document.querySelectorAll('.lead-form').forEach((form) => {
|
||||||
|
for (const k of ['utm_source', 'utm_medium', 'utm_campaign']) form.elements[k].value = params.get(k) || '';
|
||||||
|
form.elements.referrer.value = document.referrer;
|
||||||
|
|
||||||
|
const inputs = [...form.querySelectorAll('input[required]')];
|
||||||
|
inputs.forEach((input) => {
|
||||||
|
input.addEventListener('blur', () => { if (input.value) checkField(input); });
|
||||||
|
input.addEventListener('input', () => { if (input.getAttribute('aria-invalid') === 'true') checkField(input); });
|
||||||
|
});
|
||||||
|
|
||||||
form.addEventListener('submit', async (e) => {
|
form.addEventListener('submit', async (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
status.className = 'status';
|
const status = form.querySelector('.form-status');
|
||||||
if (!form.checkValidity()) {
|
status.textContent = '';
|
||||||
form.reportValidity();
|
const bad = inputs.filter((i) => !checkField(i));
|
||||||
status.textContent = 'Please fill in the required fields.';
|
if (bad.length) { bad[0].focus(); return; }
|
||||||
status.classList.add('err');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
const data = Object.fromEntries(new FormData(form));
|
|
||||||
if (document.referrer) data.referrer = document.referrer;
|
|
||||||
const params = new URLSearchParams(location.search);
|
|
||||||
for (const k of ['utm_source', 'utm_medium', 'utm_campaign']) if (params.get(k)) data[k] = params.get(k);
|
|
||||||
|
|
||||||
|
const button = form.querySelector('button');
|
||||||
button.disabled = true;
|
button.disabled = true;
|
||||||
status.textContent = 'Sending…';
|
button.textContent = 'Sending…';
|
||||||
|
const data = Object.fromEntries([...new FormData(form)].filter(([, v]) => v !== ''));
|
||||||
try {
|
try {
|
||||||
const res = await fetch('/api/leads', {
|
const res = await fetch('/api/leads', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify(data) });
|
||||||
method: 'POST',
|
|
||||||
headers: { 'content-type': 'application/json' },
|
|
||||||
body: JSON.stringify(data),
|
|
||||||
});
|
|
||||||
const body = await res.json().catch(() => ({}));
|
const body = await res.json().catch(() => ({}));
|
||||||
if (!res.ok) throw new Error(body.error || 'Something went wrong');
|
if (!res.ok) throw new Error(body.error || 'Something went wrong');
|
||||||
form.reset();
|
const card = form.closest('.form-card');
|
||||||
status.textContent = "Thank you! Our team will contact you shortly.";
|
card.innerHTML = '<div class="success" tabindex="-1"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M7 12.5l3 3 7-7"/></svg><h3>Thanks! Our team will contact you shortly.</h3><p>Prefer to talk now? Call <a href="tel:+60193656987">+6019 365 6987</a>.</p></div>';
|
||||||
status.classList.add('ok');
|
card.querySelector('.success').focus();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
const why = err instanceof TypeError ? "connection problem" : err.message;
|
const why = err instanceof TypeError ? 'connection problem' : err.message;
|
||||||
status.textContent = `Sorry, we couldn't send your enquiry (${why}). Please try again or call +603-7623 9807.`;
|
status.textContent = `Sorry, we couldn't send your details (${why}). Please try again or call +6019 365 6987.`;
|
||||||
status.classList.add('err');
|
status.classList.add('err');
|
||||||
} finally {
|
|
||||||
button.disabled = false;
|
button.disabled = false;
|
||||||
|
button.textContent = 'Get My Free Consultation';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -5,9 +5,13 @@ const { DatabaseSync } = require('node:sqlite');
|
|||||||
|
|
||||||
const MAX_BODY = 10 * 1024;
|
const MAX_BODY = 10 * 1024;
|
||||||
const REQUIRED = ['name', 'email', 'phone', 'company'];
|
const REQUIRED = ['name', 'email', 'phone', 'company'];
|
||||||
const OPTIONAL = ['industry', 'message', 'referrer', 'utm_source', 'utm_medium', 'utm_campaign'];
|
const OPTIONAL = ['service', 'referrer', 'utm_source', 'utm_medium', 'utm_campaign'];
|
||||||
const MAX_LEN = { message: 2000, referrer: 500 };
|
const MAX_LEN = { referrer: 500 };
|
||||||
const EMAIL = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
const EMAIL = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
||||||
|
const SERVICES = ['WiFi Managed Services', 'Cloud IP PABX', 'GRE IPTV', 'Digital Signage', 'QR Door Locks', 'Not sure yet'];
|
||||||
|
// matches the domain's first label, so yahoo.com.my, hotmail.co.uk etc. are covered.
|
||||||
|
// ponytail: fixed list of the common providers; extend if sales sees others slip through.
|
||||||
|
const FREE_EMAIL = /@(gmail|googlemail|yahoo|ymail|rocketmail|hotmail|outlook|live|msn|icloud|me|mac|aol|protonmail|proton|gmx|yandex|zoho)\.[a-z.]+$/i;
|
||||||
const PAGES = { '/': ['index.html', 'text/html; charset=utf-8'], '/logo.png': ['logo.png', 'image/png'] };
|
const PAGES = { '/': ['index.html', 'text/html; charset=utf-8'], '/logo.png': ['logo.png', 'image/png'] };
|
||||||
|
|
||||||
function openDb(dbPath) {
|
function openDb(dbPath) {
|
||||||
@@ -20,7 +24,7 @@ function openDb(dbPath) {
|
|||||||
id INTEGER PRIMARY KEY,
|
id INTEGER PRIMARY KEY,
|
||||||
created_at TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
created_at TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
name TEXT NOT NULL, email TEXT NOT NULL, phone TEXT NOT NULL, company TEXT NOT NULL,
|
name TEXT NOT NULL, email TEXT NOT NULL, phone TEXT NOT NULL, company TEXT NOT NULL,
|
||||||
industry TEXT, message TEXT, referrer TEXT,
|
service TEXT, referrer TEXT,
|
||||||
utm_source TEXT, utm_medium TEXT, utm_campaign TEXT
|
utm_source TEXT, utm_medium TEXT, utm_campaign TEXT
|
||||||
)`);
|
)`);
|
||||||
return db;
|
return db;
|
||||||
@@ -36,6 +40,8 @@ function validate(lead) {
|
|||||||
if (v && v.length > (MAX_LEN[f] || 200)) return `${f} is too long`;
|
if (v && v.length > (MAX_LEN[f] || 200)) return `${f} is too long`;
|
||||||
}
|
}
|
||||||
if (!EMAIL.test(lead.email.trim())) return 'email is invalid';
|
if (!EMAIL.test(lead.email.trim())) return 'email is invalid';
|
||||||
|
if (FREE_EMAIL.test(lead.email.trim())) return 'Please use your work email address';
|
||||||
|
if (lead.service && !SERVICES.includes(lead.service)) return 'service is invalid';
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -67,8 +73,8 @@ function createServer(dbPath) {
|
|||||||
}
|
}
|
||||||
const db = openDb(dbPath);
|
const db = openDb(dbPath);
|
||||||
const insert = db.prepare(`INSERT INTO leads
|
const insert = db.prepare(`INSERT INTO leads
|
||||||
(name, email, phone, company, industry, message, referrer, utm_source, utm_medium, utm_campaign)
|
(name, email, phone, company, service, referrer, utm_source, utm_medium, utm_campaign)
|
||||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`);
|
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)`);
|
||||||
|
|
||||||
const server = http.createServer(async (req, res) => {
|
const server = http.createServer(async (req, res) => {
|
||||||
const url = req.url.split('?')[0];
|
const url = req.url.split('?')[0];
|
||||||
@@ -90,7 +96,7 @@ function createServer(dbPath) {
|
|||||||
if (error) return send(res, 400, { error });
|
if (error) return send(res, 400, { error });
|
||||||
try {
|
try {
|
||||||
const t = (f) => (lead[f] ? lead[f].trim() : null);
|
const t = (f) => (lead[f] ? lead[f].trim() : null);
|
||||||
insert.run(t('name'), t('email'), t('phone'), t('company'), t('industry'), t('message'),
|
insert.run(t('name'), t('email'), t('phone'), t('company'), t('service'),
|
||||||
t('referrer'), t('utm_source'), t('utm_medium'), t('utm_campaign'));
|
t('referrer'), t('utm_source'), t('utm_medium'), t('utm_campaign'));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error('lead insert failed:', e.message);
|
console.error('lead insert failed:', e.message);
|
||||||
|
|||||||
+18
-4
@@ -22,11 +22,10 @@ after(() => {
|
|||||||
|
|
||||||
const valid = {
|
const valid = {
|
||||||
name: 'Aisyah Rahman',
|
name: 'Aisyah Rahman',
|
||||||
email: 'aisyah@example.com',
|
email: 'aisyah@seripinang.com.my',
|
||||||
phone: '+60 12-345 6789',
|
phone: '+60 12-345 6789',
|
||||||
company: 'Hotel Seri Pinang',
|
company: 'Hotel Seri Pinang',
|
||||||
industry: 'Hospitality',
|
service: 'Cloud IP PABX',
|
||||||
message: 'Need guest Wi-Fi for 120 rooms',
|
|
||||||
utm_source: 'google',
|
utm_source: 'google',
|
||||||
referrer: 'https://www.google.com/',
|
referrer: 'https://www.google.com/',
|
||||||
};
|
};
|
||||||
@@ -58,6 +57,7 @@ test('valid lead is stored', async () => {
|
|||||||
assert.strictEqual(r.length, 1);
|
assert.strictEqual(r.length, 1);
|
||||||
assert.strictEqual(r[0].name, valid.name);
|
assert.strictEqual(r[0].name, valid.name);
|
||||||
assert.strictEqual(r[0].company, valid.company);
|
assert.strictEqual(r[0].company, valid.company);
|
||||||
|
assert.strictEqual(r[0].service, 'Cloud IP PABX');
|
||||||
assert.strictEqual(r[0].utm_source, 'google');
|
assert.strictEqual(r[0].utm_source, 'google');
|
||||||
assert.strictEqual(r[0].referrer, 'https://www.google.com/');
|
assert.strictEqual(r[0].referrer, 'https://www.google.com/');
|
||||||
assert.ok(r[0].created_at);
|
assert.ok(r[0].created_at);
|
||||||
@@ -75,6 +75,20 @@ test('invalid email is rejected', async () => {
|
|||||||
assert.strictEqual((await post({ ...valid, email: 'abc' })).status, 400);
|
assert.strictEqual((await post({ ...valid, email: 'abc' })).status, 400);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test('free email providers are rejected with a friendly message', async () => {
|
||||||
|
for (const email of ['a@gmail.com', 'a@Yahoo.com.my', 'a@hotmail.com', 'a@outlook.com', 'a@icloud.com']) {
|
||||||
|
const res = await post({ ...valid, email });
|
||||||
|
assert.strictEqual(res.status, 400, email);
|
||||||
|
assert.match((await res.json()).error, /work email/i);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
test('unknown service is rejected, missing service is allowed', async () => {
|
||||||
|
assert.strictEqual((await post({ ...valid, service: 'Plumbing' })).status, 400);
|
||||||
|
const { service, ...noService } = valid;
|
||||||
|
assert.strictEqual((await post(noService)).status, 201);
|
||||||
|
});
|
||||||
|
|
||||||
test('over-long field is rejected', async () => {
|
test('over-long field is rejected', async () => {
|
||||||
assert.strictEqual((await post({ ...valid, name: 'x'.repeat(201) })).status, 400);
|
assert.strictEqual((await post({ ...valid, name: 'x'.repeat(201) })).status, 400);
|
||||||
});
|
});
|
||||||
@@ -84,7 +98,7 @@ test('non-JSON body is rejected', async () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('oversized body is rejected', async () => {
|
test('oversized body is rejected', async () => {
|
||||||
assert.strictEqual((await post({ ...valid, message: 'x'.repeat(11000) })).status, 413);
|
assert.strictEqual((await post({ ...valid, company: 'x'.repeat(11000) })).status, 413);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('honeypot submission is accepted but not stored', async () => {
|
test('honeypot submission is accepted but not stored', async () => {
|
||||||
|
|||||||
Reference in new issue
Block a user