Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=375, initial-scale=1, maximum-scale=1, user-scalable=no">
- <title>Momentum AI — Automate Your Workflow. Unleash Your Potential.</title>
- <meta name="description" content="Momentum AI: Automate your workflow with intelligent task routing, predictive analytics, and seamless integration. Unleash your team's potential.">
- <!-- CSS Custom Properties: Colors, Fonts, Sizes -->
- <style>
- :root {
- --color-primary: #2071e4;
- --color-primary-dark: #1451a3;
- --color-secondary: #28c8c8;
- --color-bg: #f8fafc;
- --color-bg-alt: #ffffff;
- --color-text: #172133;
- --color-text-light: #48506a;
- --color-accent: #f6b930;
- --color-focus: #fdcf44;
- --font-display: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
- --font-body: 'Inter', system-ui, sans-serif;
- /* Responsive font sizes with clamp() */
- --fs-h1: clamp(2.2rem, 5vw + 1rem, 4rem);
- --fs-h2: clamp(1.3rem, 2vw + 1rem, 2.2rem);
- --fs-h3: clamp(1.1rem, 1.6vw + .9rem, 1.35rem);
- --fs-body: clamp(1rem, 1vw + .7rem, 1.15rem);
- --fs-small: clamp(0.89rem, 0.5vw + .75rem, 1rem);
- /* Spacing */
- --space-xs: 0.75rem;
- --space-sm: 1.25rem;
- --space-md: 2rem;
- --space-lg: 3.5rem;
- --space-xl: 5rem;
- /* Rounded corners */
- --radius: 0.7rem;
- /* Shadows */
- --shadow-lg: 0 4px 20px 0 rgba(32, 113, 228, 0.13);
- --shadow-sm: 0 1.5px 6px 0 rgba(72, 80, 106, 0.06);
- }
- html {
- scroll-behavior: smooth;
- background: var(--color-bg);
- font-size: 16px;
- box-sizing: border-box;
- }
- *, *::before, *::after {
- box-sizing: inherit;
- }
- body {
- margin: 0;
- font-family: var(--font-body);
- color: var(--color-text);
- background: var(--color-bg);
- min-height: 100vh;
- line-height: 1.55;
- -webkit-font-smoothing: antialiased;
- font-size: var(--fs-body);
- letter-spacing: -.005em;
- }
- /* Header & Navigation */
- header {
- background: var(--color-bg-alt);
- box-shadow: var(--shadow-sm);
- position: sticky;
- top: 0; left: 0; right: 0;
- z-index: 9000;
- }
- .container {
- width: 100%;
- max-width: 1160px;
- margin: 0 auto;
- padding: 0 var(--space-sm);
- }
- nav {
- display: flex;
- align-items: center;
- justify-content: space-between;
- min-height: 64px;
- gap: var(--space-sm);
- }
- .logo {
- display: flex;
- align-items: center;
- gap: 0.7em;
- font-size: 1.38rem;
- font-family: var(--font-display);
- font-weight: 700;
- color: var(--color-primary);
- letter-spacing: -0.03em;
- text-decoration: none;
- }
- .logo-mark {
- background: linear-gradient(135deg, var(--color-primary), var(--color-secondary) 90%);
- height: 2.25em;
- width: 2.25em;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #fff;
- font-size: 1.03em;
- font-weight: 800;
- box-shadow: var(--shadow-sm);
- }
- .nav-links {
- display: flex;
- gap: var(--space-md);
- align-items: center;
- }
- .nav-link {
- background: none;
- border: none;
- padding: 0;
- font-family: inherit;
- font-size: 1rem;
- color: var(--color-text);
- text-decoration: none;
- line-height: 1;
- cursor: pointer;
- position: relative;
- font-weight: 500;
- outline: none;
- transition: color 0.2s;
- }
- .nav-link[aria-current="true"], .nav-link:hover, .nav-link:focus-visible {
- color: var(--color-primary);
- }
- .nav-link:focus-visible {
- outline: 3px solid var(--color-focus);
- border-radius: 6px;
- outline-offset: 1px;
- }
- /* Hero Section */
- .hero {
- display: grid;
- grid-template-columns: 1fr;
- align-items: center;
- gap: var(--space-lg);
- min-height: 75vh;
- padding: var(--space-lg) 0 var(--space-xl);
- background: var(--color-bg);
- }
- @media (min-width: 768px) {
- .hero {
- grid-template-columns: 1fr 1fr;
- gap: var(--space-xl);
- padding-top: var(--space-xl);
- }
- }
- .hero-text {
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- gap: var(--space-md);
- z-index: 2;
- }
- .hero-title {
- font-size: var(--fs-h1);
- font-family: var(--font-display);
- font-weight: 800;
- margin: 0;
- color: var(--color-text);
- line-height: 1.08;
- letter-spacing: -0.01em;
- max-width: 660px;
- }
- .hero-tagline {
- font-size: var(--fs-h2);
- color: var(--color-primary-dark);
- font-weight: 500;
- margin: 0 0 var(--space-md) 0;
- letter-spacing: 0.01em;
- line-height: 1.19;
- max-width: 520px;
- }
- .hero-cta {
- margin-top: var(--space-sm);
- }
- /* CTA Button */
- .btn-primary {
- display: inline-block;
- background: linear-gradient(90deg, var(--color-primary), var(--color-secondary) 90%);
- color: #fff;
- font-family: var(--font-display);
- font-weight: 600;
- font-size: 1.13rem;
- padding: 0.85em 2.3em;
- border: none;
- border-radius: var(--radius);
- box-shadow: var(--shadow-lg);
- cursor: pointer;
- transition: background 0.27s, transform 0.08s, box-shadow 0.16s;
- outline: none;
- text-align: center;
- letter-spacing: -0.01em;
- position: relative;
- }
- .btn-primary:active {
- transform: translateY(2px) scale(0.99);
- box-shadow: 0 2px 10px 0 rgba(32, 113, 228, 0.07);
- }
- .btn-primary:focus-visible {
- outline: 3px solid var(--color-focus);
- outline-offset: 3px;
- box-shadow: 0 0 0 3px var(--color-focus), var(--shadow-lg);
- }
- .hero-image {
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 1;
- min-width: 0;
- }
- .hero-image img {
- width: 100%;
- max-width: 420px;
- height: auto;
- border-radius: var(--radius);
- box-shadow: var(--shadow-lg);
- object-fit: cover;
- }
- /* Features Section using CSS Grid for layout */
- .features-section {
- background: var(--color-bg-alt);
- padding: var(--space-lg) 0;
- }
- .features-header {
- margin: 0 auto var(--space-md) auto;
- text-align: center;
- max-width: 700px;
- }
- .features-title {
- font-family: var(--font-display);
- font-size: var(--fs-h2);
- font-weight: 700;
- color: var(--color-text);
- margin-bottom: var(--space-xs);
- margin-top: 0;
- }
- .features-text {
- color: var(--color-text-light);
- font-size: var(--fs-body);
- margin-bottom: 0;
- margin-top: 0;
- }
- .features-grid {
- display: grid;
- gap: var(--space-md) var(--space-lg);
- margin-top: var(--space-md);
- max-width: 1100px;
- margin-left: auto;
- margin-right: auto;
- /* Responsive columns */
- grid-template-columns: 1fr;
- }
- @media (min-width: 640px) {
- .features-grid {
- grid-template-columns: 1fr 1fr;
- }
- }
- @media (min-width: 1024px) {
- .features-grid {
- grid-template-columns: 1fr 1fr 1fr;
- }
- }
- .feature-article {
- background: var(--color-bg);
- border-radius: var(--radius);
- box-shadow: var(--shadow-sm);
- padding: var(--space-md) var(--space-sm) var(--space-sm) var(--space-sm);
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- gap: var(--space-sm);
- outline: none;
- transition: box-shadow 0.2s, transform 0.15s;
- }
- .feature-article:focus-visible {
- box-shadow: 0 0 0 3px var(--color-focus), var(--shadow-sm);
- }
- .feature-icon {
- width: 54px;
- height: 54px;
- border-radius: 13px;
- background: linear-gradient(135deg, var(--color-secondary) 45%, var(--color-primary) 99%);
- display: flex;
- align-items: center;
- justify-content: center;
- color: white;
- font-size: 1.8rem;
- margin-bottom: var(--space-xs);
- box-shadow: 0 2px 8px 0 rgba(32,113,228,.07);
- flex-shrink: 0;
- }
- .feature-title {
- font-size: var(--fs-h3);
- font-family: var(--font-display);
- font-weight: 700;
- margin: 0 0 .3em 0;
- color: var(--color-primary-dark);
- }
- .feature-desc {
- color: var(--color-text);
- margin: 0;
- font-size: var(--fs-body);
- font-weight: 400;
- flex: 1 0 auto;
- }
- /* Integrations Section (uses flexbox for two-column layout on desktop) */
- .integrations-section {
- background: var(--color-bg);
- padding: var(--space-lg) 0 var(--space-xl);
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .integrations-container {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: var(--space-md);
- width: 100%;
- max-width: 980px;
- padding: 0 var(--space-sm);
- }
- @media (min-width: 850px) {
- .integrations-container {
- flex-direction: row;
- align-items: stretch;
- gap: var(--space-xl);
- }
- .integrations-img-col {
- flex: 0 0 350px;
- }
- .integrations-text-col {
- flex: 1 1 0%;
- min-width: 0;
- }
- }
- .integrations-img-col {
- margin-bottom: var(--space-md);
- display: flex;
- align-items: center;
- justify-content: center;
- max-width: 350px;
- width: 100%;
- }
- .integrations-img-col img {
- width: 100%;
- height: auto;
- border-radius: var(--radius);
- box-shadow: var(--shadow-lg);
- object-fit: cover;
- }
- .integrations-text-col {
- display: flex;
- flex-direction: column;
- justify-content: center;
- gap: var(--space-xs);
- max-width: 440px;
- }
- .integrations-title {
- margin: 0 0 var(--space-xs) 0;
- font-family: var(--font-display);
- font-size: var(--fs-h3);
- font-weight: 700;
- color: var(--color-primary-dark);
- }
- .integrations-desc {
- color: var(--color-text);
- margin: 0;
- font-size: var(--fs-body);
- font-weight: 400;
- }
- .integrations-tools-logos {
- display: flex;
- gap: 1em;
- flex-wrap: wrap;
- margin-top: var(--space-xs);
- align-items: center;
- }
- .logo-badge {
- background: var(--color-bg-alt);
- padding: 0.35em 0.8em;
- border-radius: 22px;
- box-shadow: var(--shadow-sm);
- font-size: var(--fs-small);
- color: var(--color-text-light);
- font-weight: 500;
- display: flex;
- align-items: center;
- gap: 0.5em;
- }
- /* Footer */
- footer {
- background: var(--color-bg-alt);
- border-top: 1px solid #ecf0f8;
- padding: var(--space-md) 0;
- margin-top: var(--space-md);
- }
- .footer-content {
- max-width: 1160px;
- margin: 0 auto;
- text-align: center;
- color: var(--color-text-light);
- font-size: var(--fs-small);
- display: flex;
- justify-content: center;
- align-items: center;
- flex-wrap: wrap;
- gap: 0.6em;
- }
- .footer-link {
- color: var(--color-primary);
- text-decoration: underline;
- font-weight: 500;
- font-size: inherit;
- outline: none;
- border-radius: 4px;
- padding: .1em .3em;
- transition: background 0.1s, color 0.13s;
- }
- .footer-link:focus-visible {
- outline: 2.5px solid var(--color-focus);
- background: var(--color-focus);
- color: var(--color-text);
- }
- /* Fade-in-on-scroll effect base styles */
- .fade-section {
- opacity: 0;
- transform: translateY(22px) scale(0.98);
- transition: opacity 0.7s cubic-bezier(.7,.23,.35,1), transform 0.7s cubic-bezier(.7,.23,.35,1);
- will-change: opacity, transform;
- }
- .fade-section.inview {
- opacity: 1 !important;
- transform: none !important;
- }
- /* Focus visible debugging if Tab is pressed */
- :focus-visible {
- /* provides clear focus indication on any element, overridden as needed */
- outline: 2px solid var(--color-focus);
- outline-offset: 2px;
- }
- /* Responsive Typography/Spacing Adjustments */
- @media (max-width: 480px) {
- .nav-links {
- gap: var(--space-sm);
- }
- .container {
- padding-left: .5em;
- padding-right: .5em;
- }
- }
- /* Hide skip link until focused */
- .skip-link {
- position: absolute;
- top: -40px; left: 0;
- background: var(--color-focus);
- color: var(--color-text);
- padding: .7em 1.1em;
- z-index: 9999;
- border-radius: 0 0 9px 0;
- font-weight: 600;
- text-decoration: none;
- outline: none;
- transition: top 0.19s;
- }
- .skip-link:focus {
- top: 0;
- outline: 3px solid var(--color-primary);
- }
- /* Tablet & Above: Take advantage of grid and larger spacing */
- @media (min-width: 768px) {
- .container {
- padding: 0 var(--space-md);
- }
- .features-section {
- padding: var(--space-xl) 0;
- }
- .features-header {
- margin-bottom: var(--space-lg);
- }
- .integrations-section {
- padding-top: var(--space-xl);
- padding-bottom: var(--space-xl);
- }
- }
- /* Desktop: extra-wide paddings */
- @media (min-width: 1200px) {
- .container {
- padding: 0;
- }
- }
- </style>
- </head>
- <body>
- <!-- Skip to main content link for accessibility -->
- <a href="#main-content" class="skip-link">Skip to main content</a>
- <!-- HEADER & NAVIGATION -->
- <header>
- <nav class="container" aria-label="Main navigation">
- <a href="/" class="logo" aria-label="Momentum AI homepage">
- <span class="logo-mark" aria-hidden="true">M</span> Momentum AI
- </a>
- <ul class="nav-links" role="menubar">
- <li role="none">
- <a class="nav-link" href="#features" aria-label="Show Features section" role="menuitem">Features</a>
- </li>
- <li role="none">
- <a class="nav-link" href="#integrations" aria-label="Show Integrations section" role="menuitem">Integrations</a>
- </li>
- <li role="none">
- <a class="nav-link" href="#request-demo" aria-label="Request a demo" role="menuitem">Request a Demo</a>
- </li>
- </ul>
- </nav>
- </header>
- <!-- MAIN CONTENT -->
- <main id="main-content" tabindex="-1">
- <!-- HERO SECTION -->
- <section class="hero fade-section" aria-label="Welcome to Momentum AI">
- <div class="hero-text">
- <h1 class="hero-title">Momentum AI</h1>
- <p class="hero-tagline">Automate Your Workflow. Unleash Your Potential.</p>
- <a href="#request-demo" class="btn-primary hero-cta"
- aria-label="Request a demo of Momentum AI">Request a Demo</a>
- </div>
- <div class="hero-image" aria-hidden="true">
- <img
- src="https://placehold.co/420x330/2071e4/fff?text=AI+Dashboard"
- alt="Illustration showing an AI workflow dashboard visualization"
- width="420" height="330"
- />
- </div>
- </section>
- <!-- FEATURES SECTION -->
- <section id="features" class="features-section fade-section" aria-label="Key Features">
- <header class="features-header">
- <h2 class="features-title">Key Features</h2>
- <p class="features-text">Make your team unstoppable with AI-driven automation and deep project foresight.</p>
- </header>
- <div class="features-grid">
- <article class="feature-article" tabindex="0">
- <span class="feature-icon" aria-hidden="true">
- <!-- Task Routing Icon (Direction Arrows) SVG -->
- <svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true" focusable="false">
- <path fill="currentColor" d="M13.5 7.25V19H8L12.94 23.94a1 1 0 001.41 0l4.94-4.94h-5.86V7.25a.75.75 0 10-1.5 0z"/>
- <path fill="currentColor" d="M22.53 13.03a.75.75 0 00-1.06 0l-4 4a.75.75 0 101.06 1.06l2.72-2.72V24a.75.75 0 001.5 0V15.37l2.72 2.72a.75.75 0 101.06-1.06l-4-4z"/>
- </svg>
- </span>
- <h3 class="feature-title">Intelligent Task Routing</h3>
- <p class="feature-desc">
- Automatically assigns tasks to the right team member based on priority and real-time workload. Increase efficiency without the micromanagement.
- </p>
- </article>
- <article class="feature-article" tabindex="0">
- <span class="feature-icon" aria-hidden="true">
- <!-- Analytics Icon (Chart) SVG -->
- <svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true" focusable="false">
- <path fill="currentColor" d="M22.5 24.25h-15a.75.75 0 010-1.5h1V9a.75.75 0 011.5 0v13.75h3V13.5a.75.75 0 011.5 0v9.25h3V17a.75.75 0 011.5 0v5.25h2a.75.75 0 010 1.5z"/>
- <circle fill="currentColor" cx="19" cy="11" r="2"/>
- </svg>
- </span>
- <h3 class="feature-title">Predictive Analytics</h3>
- <p class="feature-desc">
- Forecast project deadlines and resource needs with 95% accuracy, using machine learning trained on thousands of team projects.
- </p>
- </article>
- <article class="feature-article" tabindex="0">
- <span class="feature-icon" aria-hidden="true">
- <!-- Integration Link Icon (Chain) SVG -->
- <svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true" focusable="false">
- <path fill="currentColor" d="M21.1 8.9a5.52 5.52 0 010 7.8l-3.18 3.18a5.52 5.52 0 01-7.8-7.8l1.35-1.35a.75.75 0 111.06 1.06l-1.35 1.35a4.02 4.02 0 005.68 5.68l3.18-3.18a4.02 4.02 0 00-5.68-5.68L11 10.95A.75.75 0 019.94 9.9l1.35-1.35a5.52 5.52 0 017.8 0z"/>
- </svg>
- </span>
- <h3 class="feature-title">Seamless Integration</h3>
- <p class="feature-desc">
- Connect effortlessly with over 200+ tools like Slack, Jira, Asana, Trello, Microsoft Teams, and more—all in one unified workspace.
- </p>
- </article>
- </div>
- </section>
- <!-- INTEGRATIONS SECTION -->
- <section id="integrations" class="integrations-section fade-section" aria-label="Integrations Overview">
- <div class="integrations-container">
- <div class="integrations-img-col" aria-hidden="true">
- <img
- src="https://placehold.co/350x270/28c8c8/fff?text=App+Integrations"
- alt="Collage showing app and service integrations"
- width="350" height="270"
- />
- </div>
- <div class="integrations-text-col">
- <h2 class="integrations-title">Seamless Connections</h2>
- <p class="integrations-desc">
- Integrate with your favorite tools in just a few clicks—Momentum AI connects to 200+ major platforms without the hassle.
- </p>
- <div class="integrations-tools-logos" aria-label="Popular Integrations">
- <span class="logo-badge">
- <img src="https://placehold.co/24x24/fff/2071e4?text=S" alt="" width="24" height="24" aria-hidden="true" style="border-radius:6px;margin-right:.2em;">
- Slack
- </span>
- <span class="logo-badge">
- <img src="https://placehold.co/24x24/fff/28c8c8?text=J" alt="" width="24" height="24" aria-hidden="true" style="border-radius:6px;margin-right:.2em;">
- Jira
- </span>
- <span class="logo-badge">
- <img src="https://placehold.co/24x24/fff/846afd?text=A" alt="" width="24" height="24" aria-hidden="true" style="border-radius:6px;margin-right:.2em;">
- Asana
- </span>
- <span class="logo-badge">
- <img src="https://placehold.co/24x24/fff/55bb67?text=T" alt="" width="24" height="24" aria-hidden="true" style="border-radius:6px;margin-right:.2em;">
- Trello
- </span>
- <span class="logo-badge">
- <img src="https://placehold.co/24x24/fff/242e4e?text=MT" alt="" width="24" height="24" aria-hidden="true" style="border-radius:6px;margin-right:.2em;">
- MS Teams
- </span>
- </div>
- </div>
- </div>
- </section>
- <!-- CALL-TO-ACTION / REQUEST DEMO SECTION -->
- <section id="request-demo" class="fade-section" aria-label="Request a Demo" style="padding: var(--space-xl) 0 var(--space-lg) 0; background:var(--color-bg-alt);">
- <div class="container" style="display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-md);">
- <h2 style="font-size: var(--fs-h2); font-family: var(--font-display); font-weight: 700; margin: 0; color: var(--color-primary-dark);">Ready to Unleash Your Potential?</h2>
- <p style="color: var(--color-text-light); max-width: 500px; margin: 0 auto; font-size: var(--fs-body);">
- Get a personalized demo, tailored to your workflow. See how Momentum AI can automate your operations and empower your team.
- </p>
- <form aria-label="Request a demo form" style="margin-top: var(--space-sm); display: flex; gap: var(--space-sm); flex-direction: column; align-items: center; width: 100%; max-width: 380px;">
- <label for="email" style="align-self: flex-start; font-size: var(--fs-small); font-weight: 600; margin-bottom:0.4em; color: var(--color-text);">Work Email</label>
- <input
- type="email"
- id="email"
- name="email"
- inputmode="email"
- required
- autocomplete="email"
- placeholder="[email protected]"
- aria-label="Enter your work email"
- style="
- width: 100%;
- padding: .87em 1.15em;
- border: 1.5px solid #c3d5ef;
- border-radius: var(--radius);
- font-family: inherit;
- font-size: 1.09rem;
- outline: none;
- margin-bottom: var(--space-sm);
- background: #fff;
- color: var(--color-text);
- box-shadow: var(--shadow-sm);
- transition: border 0.19s;
- "
- onfocus="this.style.borderColor='var(--color-primary)';"
- onblur="this.style.borderColor='#c3d5ef';"
- >
- <button
- type="submit"
- class="btn-primary"
- aria-label="Request a demo"
- style="width:100%;margin-top:.4em;"
- >
- Request a Demo
- </button>
- </form>
- </div>
- </section>
- </main>
- <!-- FOOTER -->
- <footer>
- <div class="footer-content">
- © <span id="copyright-year">2024</span> Momentum AI.
- <span aria-hidden="true">•</span>
- <a href="#request-demo" class="footer-link" aria-label="Request a demo in footer">Request a Demo</a>
- <span aria-hidden="true">•</span>
- <a href="#main-content" class="footer-link" aria-label="Back to top">Back to Top</a>
- </div>
- </footer>
- <!-- JavaScript: Smooth scroll for nav links & fade-in-on-scroll effect -->
- <script>
- // --- CURRENT YEAR for copyright (accessibility: not strictly required, but nice UX)
- document.getElementById('copyright-year').textContent = new Date().getFullYear();
- // --- Smooth scrolling for internal navigation links ---
- // Only for on-page anchor links starting with '#'
- document.querySelectorAll('a.nav-link, .footer-link, .btn-primary.hero-cta').forEach(function(link) {
- link.addEventListener('click', function(e) {
- var href = link.getAttribute('href');
- if(href && href.startsWith('#')) {
- var target = document.getElementById(href.substring(1));
- if(target) {
- e.preventDefault();
- target.scrollIntoView({behavior: 'smooth', block: 'start'});
- // Move keyboard focus to target section for accessibility
- if(target.tabIndex !== 0) target.setAttribute('tabindex', '-1');
- target.focus({preventScroll:true});
- }
- }
- });
- });
- // --- Fade-in-on-scroll effect for main sections ---
- // Uses IntersectionObserver for efficiency
- // Adds the .inview class to fade-section when at least 20% visible
- (function() {
- var fadeSections = Array.prototype.slice.call(document.querySelectorAll('.fade-section'));
- if(!('IntersectionObserver' in window)) {
- // Fallback: just show all
- fadeSections.forEach(function(sec){ sec.classList.add('inview'); });
- return;
- }
- var observer = new window.IntersectionObserver(function(entries) {
- entries.forEach(function(entry) {
- if(entry.isIntersecting) {
- entry.target.classList.add('inview');
- // Only animate once
- observer.unobserve(entry.target);
- }
- });
- }, { threshold: 0.2 });
- fadeSections.forEach(function(sec){
- observer.observe(sec);
- });
- })();
- // --- Ensure skip link focus works in all browsers (tabindex on main set appropriately) ---
- // Already done by adding tabindex="-1" to #main-content
- // --- Prevent form submission for the demo (non-functional placeholder) ---
- document.querySelector('form[aria-label="Request a demo form"]').addEventListener('submit', function(e) {
- e.preventDefault();
- var email = this.elements['email'].value;
- if(email) {
- alert('Thank you! We will reach out soon at ' + email + ' 🎉');
- this.reset();
- }
- });
- </script>
- </body>
- </html>
- ```
Advertisement
Add Comment
Please, Sign In to add comment