mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 02:18:47 +00:00
fix(docs): Fix Docsearch recordExtractors, sitemap, and cookie banner script load (#3512)
Fixes #1685
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/** @type {import('next-sitemap').IConfig} */
|
||||
module.exports = {
|
||||
siteUrl: process.env.SITE_URL || "https://firezone.dev",
|
||||
siteUrl: "https://www.firezone.dev",
|
||||
generateRobotsTxt: true, // (optional)
|
||||
// ...other options
|
||||
};
|
||||
|
||||
@@ -11,7 +11,6 @@ export default function Layout({ children }: { children: React.ReactNode }) {
|
||||
<Alert
|
||||
color="info"
|
||||
html={`
|
||||
<!-- TODO: Link to EOL blogpost -->
|
||||
You're viewing documentation for the legacy version of Firezone.
|
||||
<a href="/kb">View the latest docs here</a>.
|
||||
`}
|
||||
|
||||
@@ -5,6 +5,7 @@ export default function SearchForm() {
|
||||
return (
|
||||
<div className="pb-3 -ml-1 flex justify-start border-b border-neutral-200 ">
|
||||
<DocSearch
|
||||
insights
|
||||
appId="XXPZ9QVGFB"
|
||||
apiKey="66664e8765e1645ea0b500acebb0b0c2"
|
||||
indexName="firezone"
|
||||
|
||||
@@ -5,6 +5,7 @@ export default function SearchForm() {
|
||||
return (
|
||||
<div className="pb-3 -ml-1 flex justify-start border-b border-neutral-200 ">
|
||||
<DocSearch
|
||||
insights
|
||||
appId="XXPZ9QVGFB"
|
||||
apiKey="66664e8765e1645ea0b500acebb0b0c2"
|
||||
indexName="firezone"
|
||||
|
||||
@@ -7,10 +7,8 @@ export default function Provider({ children }) {
|
||||
const host = "https://t.firez.one";
|
||||
|
||||
return (
|
||||
<>
|
||||
<MixpanelProvider token={token} config={{ api_host: host }}>
|
||||
<HubspotProvider>{children}</HubspotProvider>
|
||||
</MixpanelProvider>
|
||||
</>
|
||||
<MixpanelProvider token={token} config={{ api_host: host }}>
|
||||
<HubspotProvider>{children}</HubspotProvider>
|
||||
</MixpanelProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ export default function RootLayout({
|
||||
<html lang="en">
|
||||
<Script
|
||||
src="https://app.termly.io/embed.min.js"
|
||||
data-auto-block="on"
|
||||
data-auto-block="off"
|
||||
data-website-uuid="c4df1a31-22d9-4000-82e6-a86cbec0bba0"
|
||||
></Script>
|
||||
<body className={source_sans_3.className}>
|
||||
@@ -58,6 +58,7 @@ export default function RootLayout({
|
||||
<Footer />
|
||||
</div>
|
||||
<Script
|
||||
strategy="lazyOnload"
|
||||
id="hs-script-loader"
|
||||
async
|
||||
defer
|
||||
|
||||
@@ -26,6 +26,7 @@ export default function SupportOptions() {
|
||||
<span className="self-center">Or try searching the docs:</span>
|
||||
<span className="ml-2">
|
||||
<DocSearch
|
||||
insights
|
||||
appId="XXPZ9QVGFB"
|
||||
apiKey="66664e8765e1645ea0b500acebb0b0c2"
|
||||
indexName="firezone"
|
||||
|
||||
Reference in New Issue
Block a user