overleaf-cep/services/web/app/views/layout-website-redesign.pug
Tim Down 0778bab910 Merge pull request #27254 from overleaf/td-project-dashboard-cookie-banner
Implement React cookie banner on project dashboard

GitOrigin-RevId: 95d2778d7ce7cb3054a06b06486b815a3453a623
2025-07-22 08:06:05 +00:00

40 lines
966 B
Text

extends ./layout-base
include ./_mixins/formMessages
include ./_mixins/bootstrap_js
block entrypointVar
- entrypoint = 'marketing'
block append meta
meta(name='ol-shouldLoadHotjar' data-type='boolean' content=shouldLoadHotjar)
block body
if typeof suppressNavbar == 'undefined'
if bootstrapVersion === 5
include layout/navbar-marketing-bootstrap-5
else
include layout/navbar-website-redesign
block content
if typeof suppressFooter == 'undefined'
if showThinFooter
if bootstrapVersion === 5
include layout/thin-footer-bootstrap-5
else
include layout/thin-footer
else
include layout/fat-footer-website-redesign
if typeof suppressPugCookieBanner == 'undefined'
include _cookie_banner
block contactModal
if bootstrapVersion === 5
!= moduleIncludes('contactModal-marketing-bootstrap-5', locals)
else
!= moduleIncludes('contactModal-marketing', locals)
block prepend foot-scripts
+bootstrap-js(bootstrapVersion)