From d13ceb4819cf13ea6aafe1fc531ec5ef3f285ce8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julie=20Th=C3=A9z=C3=A9nas?= <julie@lydra.fr>
Date: Sat, 2 Apr 2022 21:54:54 +0200
Subject: [PATCH] page qui fonctionne - antiseche maj

---
 docusaurus.config.js     |  5 ++++-
 src/pages/antiseche.js   | 25 +++++++++++++++++++++++++
 src/pages/communaute.mdx |  8 --------
 src/pages/index.js       |  2 +-
 4 files changed, 30 insertions(+), 10 deletions(-)
 create mode 100644 src/pages/antiseche.js
 delete mode 100644 src/pages/communaute.mdx

diff --git a/docusaurus.config.js b/docusaurus.config.js
index 11da6db..a8ac9d7 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 0000000..a1d3c79
--- /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 13a4609..0000000
--- 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 1adbdf4..925e2a8 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}>
-- 
GitLab