Skip to content
Merged
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
20 changes: 20 additions & 0 deletions headapps/Sugcon2024/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions headapps/Sugcon2024/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@fortawesome/free-regular-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@next/third-parties": "^15.4.1",
"@sitecore-feaas/clientside": "^0.5.5",
"@sitecore-jss/sitecore-jss-nextjs": "~21.5.3",
"@sitecore/engage": "^1.4.1",
Expand Down
5 changes: 5 additions & 0 deletions headapps/Sugcon2024/src/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { Default as Footer } from 'template/Footer';
import Scripts from 'src/Scripts';
import { ChakraProvider } from '@chakra-ui/react';
import theme from './Theme';
import { GoogleAnalytics } from '@next/third-parties/google';

interface LayoutProps {
layoutData: LayoutServiceData;
Expand Down Expand Up @@ -77,6 +78,10 @@ const Layout = ({ layoutData, headLinks }: LayoutProps): JSX.Element => {
))}
</Head>



{process.env.NEXT_PUBLIC_GTAG && <GoogleAnalytics gaId={process.env.NEXT_PUBLIC_GTAG} />}

<ChakraProvider theme={theme}>
{/* root placeholder for the app, which we add components to using route data */}
<Header route={route} />
Expand Down
Loading