diff --git a/src/components/RetroactionUsager.jsx b/src/components/RetroactionUsager.jsx deleted file mode 100644 index 49ba7c4..0000000 --- a/src/components/RetroactionUsager.jsx +++ /dev/null @@ -1,23 +0,0 @@ -import { useEffect } from 'react' -import { Container } from '@mui/material' - -export default function RetroactionUsager({ formId = '20e7ff6aa4aeadadbea8aa877a806bb9' }) { - useEffect(() => { - const script = document.createElement('script') - - script.src = `https://umontreal.libwizard.com/form_loader.php?id=${formId}&noheader=0` - script.async = true - - document.body.appendChild(script) - - return () => { - document.body.removeChild(script) - } - }, []) - - return ( - -
-
- ) -} diff --git a/src/templates/PageTemplate.jsx b/src/templates/PageTemplate.jsx index 69db0c7..20ce875 100644 --- a/src/templates/PageTemplate.jsx +++ b/src/templates/PageTemplate.jsx @@ -5,17 +5,22 @@ import AppBar from '@/components/AppBar' import Footer from '@/components/Footer' import Link from '@/components/Link' import SEO from '@/components/SEO' -import RetroactionUsager from '@/components/RetroactionUsager' const shortcodes = { Link, Accordion, AccordionDetails, AccordionSummary, Button, Box, Divider, Tab, Tabs } // Provide common components here export default function PageTemplate({ children }) { return ( + - {children} - + + {children} + + + + +