Skip to content

Commit

Permalink
Added cookie management
Browse files Browse the repository at this point in the history
  • Loading branch information
l-alexandrov committed Aug 19, 2024
1 parent fe2676f commit 5e1592e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/@lekoarts/gatsby-theme-cara/templates/cara.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,20 @@ const Cara = () => (

export default Cara;

export const Head: HeadFC = () => <Seo />;
export const Head: HeadFC = () => (
<Seo
children={
process.env.NODE_ENV === "production" ? (
<>
{/* Start cookieyes banner */}
<script
id="cookieyes"
type="text/javascript"
src="https://cdn-cookieyes.com/client_data/406ed30202f70e7c0c8ae9c0/script.js"
></script>
{/* End cookieyes banner */}
</>
) : null
}
/>
);

0 comments on commit 5e1592e

Please sign in to comment.