Files
Eric ce47cb924a Website: Update contact form for users who visit the page from "Get a demo" buttons (#49929)
Closes:  https://github.com/fleetdm/fleet/issues/47653

Changes:
- Updated the contact page to only display the "Talk to us" form if a
user visits it with a `?talkToUs` query string.
- Updated all "Get a demo" buttons to go to `/contact?talkToUs`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
  * Added a dedicated “Talk to us” contact experience.
* Updated “Get a demo,” “Talk to sales,” and “Talk to an engineer” links
across the site to open the appropriate contact form directly.
* **Bug Fixes**
* Improved contact form selection so the requested form displays
consistently across supported pages.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-07-24 18:27:11 -05:00

44 lines
2.2 KiB
Plaintext
Vendored

<div id="script-details" v-cloak>
<div purpose="page-container">
<div purpose="page-content">
<docs-nav-and-search search-filter="controls" current-section="controls" :algolia-public-key="algoliaPublicKey"></docs-nav-and-search>
<div purpose="breadcrumbs" class="d-flex flex-row align-items-start">
<div>
<a purpose="breadcrumbs-category" class="text-nowrap" :href="'/scripts#'+thisScript.platform">Scripts</a>/
</div>
<div purpose="breadcrumbs-title">
<span><%- thisScript.name %></span>
</div>
</div>
<div purpose="script-details-and-sidebar" class="d-flex flex-lg-row flex-column">
<div purpose="script-details" class="d-flex flex-column">
<h2 purpose="script-name"><%- thisScript.name %></h2>
<p purpose="script-description"><%- thisScript.description %></p>
<div purpose="script-check">
<div purpose="codeblock">
<div purpose="codeblock-tabs" >
<a purpose="codeblock-tab" class="selected"><%= thisScript.platform === 'windows' ? 'PowerShell' : 'Bash'%></a>
<div purpose="copy-button-tab">
<div purpose="copy-button"></div>
</div>
</div>
<%if(thisScript.platform === 'windows'){%>
<pre><code class="hljs ps has-linebreaks"><%= thisScript.script %></code></pre>
<%} else {%>
<pre><code class="hljs sh has-linebreaks"><%= thisScript.script %></code></pre>
<%}%>
</div>
</div>
</div>
<div purpose="right-sidebar" class="d-flex flex-column">
<div purpose="docs-links" class="order-3">
<a purpose="sidebar-link" target="_blank" href="https://github.com/fleetdm/fleet/tree/main/docs/scripts.yml" no-icon> <img src="/images/icon-edit-16x16@2x.png" alt="Suggest an edit">Edit</a>
<a purpose="sidebar-link" href="/contact?talkToUs"><img alt="Talk to an engineer" src="/images/icon-contact-16x16@2x.png">Get a demo</a>
</div>
</div>
</div>
</div>
</div>
</div>
<%- /* Expose server-rendered data as window.SAILS_LOCALS :: */ exposeLocalsToBrowser() %>