Skip to content

Commit

Permalink
add vica to skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangohjw committed Jan 13, 2025
1 parent bf1578b commit 4608ab5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./Vica"
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export { SkipToContent } from "./SkipToContent"
export { default as TableOfContents } from "./TableOfContents"
export { default as UnsupportedBrowserBanner } from "./UnsupportedBrowserBanner"
export { Wogaa } from "./Wogaa"
export { VicaStylesheet, VicaWidget } from "./Vica"
export { BackToTopLink } from "./BackToTopLink"
export {
GoogleTagManagerHeader,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import {
Notification,
SkipToContent,
UnsupportedBrowserBanner,
VicaStylesheet,
VicaWidget,
Wogaa,
} from "../../components/internal"
import { SKIP_TO_CONTENT_ANCHOR_ID } from "../../constants"
Expand Down Expand Up @@ -48,6 +50,8 @@ export const Skeleton = ({

{!isStaging && <DatadogRum />}

{site.vica && <VicaStylesheet />}

<header>
<SkipToContent LinkComponent={LinkComponent} />

Expand Down Expand Up @@ -92,13 +96,15 @@ export const Skeleton = ({
{...site.footerItems}
/>

{/* needs to be the last element in the body */}
{shouldIncludeGTM && (
<GoogleTagManagerBody
siteGtmId={site.siteGtmId}
isomerGtmId={site.isomerGtmId}
/>
)}

{/* Ensures that the webchat widget only loads after the page has loaded */}
{site.vica && <VicaWidget {...site.vica} />}
</>
)
}

0 comments on commit 4608ab5

Please sign in to comment.