Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions partials/_accordion_nav.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@
</dd>
</dl>
</li>
<% elsif page[:cookie_prefs] %>
<%# Reopens the PostHog consent banner (posthog-consent.js wires
#footer-cookie-prefs). Rendered only when PostHog is built in;
hidden until the JS un-hides it for in-scope visitors. %>
<% if ENV["POSTHOG_API_KEY"].to_s.strip != "" %>
<li><a id="footer-cookie-prefs" href="#" hidden><span class="truncate pointer-events-none"><%= page[:text] %></span></a></li>
<% end %>
<% else %>
<li>
<% if page[:type] == "flyctl" %>
Expand Down
3 changes: 2 additions & 1 deletion partials/_firecracker_nav.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@
{ text: "Open Source", path: "/docs/about/open-source/" },
{ text: "Using Our Brand", path: "/docs/about/brand/" },
{ text: "Privacy Policy", path: "/legal/privacy-policy/" },
{ text: "Terms of Service", path: "/legal/terms-of-service/" }
{ text: "Terms of Service", path: "/legal/terms-of-service/" },
{ text: "Cookie preferences", cookie_prefs: true }
]
}
]
Expand Down
Loading