diff --git a/docusaurus.config.js b/docusaurus.config.js index 11da6db124d27a665c401a3dc43d3ae87c7a9a28..a8ac9d74fa24bd21e2003fcd7b2532126d5bf916 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -28,7 +28,10 @@ module.exports = { { label: "🎠Antisèche git", position: "left", - href: "https://lydra.systeme.io/froggit-inscription", + // create a JS page, and add the link below + // href: "https://lydra.systeme.io/froggit-inscription", + //cf exemple rooting + to: "/antiseche", }, {label: "Communauté", position: "left", to: "/communaute"}, { diff --git a/src/pages/antiseche.js b/src/pages/antiseche.js new file mode 100644 index 0000000000000000000000000000000000000000..a1d3c799fbe60d5bc3a6a758e38509583f543490 --- /dev/null +++ b/src/pages/antiseche.js @@ -0,0 +1,25 @@ +import React from 'react'; +import Layout from "@theme/Layout"; +import Link from "@docusaurus/Link"; + +function GitAntiseche() { + return ( + <Layout title='=Mon antisèche Git' description='Page antisèche Git'> + <div + style={{ + display: 'flex', + justifyContent: 'center', + alignItems: 'center', + height: '50vh', + fontSize: '20px', + }}> + <p> + Ici, formulaire qu'on récupère pour avoir l'antisèche + </p> + <script id="form-script-tag-2235710" src="https://google.com/"></script> + </div> + </Layout> + ); +}; + +export default GitAntiseche; \ No newline at end of file diff --git a/src/pages/communaute.mdx b/src/pages/communaute.mdx deleted file mode 100644 index 13a4609a6e2d78303b786c08d05b26a133cf232c..0000000000000000000000000000000000000000 --- a/src/pages/communaute.mdx +++ /dev/null @@ -1,8 +0,0 @@ -# La communauté Git/Gitlab - -Froggit c'est aussi une communauté ! - -<div dangerouslySetInnerHTML = { - <script id="form-script-tag-2235710" src="https://systeme.io/public/remote/page/3299399c01759e24377bd1ead360e1cda40992e.js"></script> - }/> - diff --git a/src/pages/index.js b/src/pages/index.js index 1adbdf46efcb7ad2e646cfe45882ed85bd612207..925e2a8069cc44d8626e0a04b5159f4f4d4c4427 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -6,7 +6,7 @@ import HomepagePromises from "../components/HomepagePromises"; import HomepageFeatures from "../components/HomepageFeatures"; import Link from "@docusaurus/Link"; -function HomepageHeader() { +function HomepageHeader(){ const { siteConfig } = useDocusaurusContext(); return ( <header className={styles.heroBanner}>