diff --git a/public/img/logo.png b/public/img/logo.png deleted file mode 100644 index 9519e7d..0000000 Binary files a/public/img/logo.png and /dev/null differ diff --git a/public/js/constants.js b/public/js/constants.js deleted file mode 100644 index de364ee..0000000 --- a/public/js/constants.js +++ /dev/null @@ -1 +0,0 @@ -export const ADDRESS = "92.132.64.175:950" diff --git a/public/js/index.js b/public/js/index.js deleted file mode 100644 index 6fc66e5..0000000 --- a/public/js/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -// Wait for the deviceready event before using any of Cordova's device APIs. -// See https://cordova.apache.org/docs/en/latest/cordova/events/events.html#deviceready -document.addEventListener('deviceready', onDeviceReady, false); - -function onDeviceReady() { - // Cordova is now initialized. Have fun! - - console.log('Running cordova-' + cordova.platformId + '@' + cordova.version); - document.getElementById('deviceready').classList.add('ready'); -} diff --git a/public/js/utils.js b/public/js/utils.js deleted file mode 100644 index e69de29..0000000 diff --git a/public/login/index.html b/public/login/index.html index f67b43e..44a8a38 100644 --- a/public/login/index.html +++ b/public/login/index.html @@ -3,44 +3,11 @@ Connection - + -
-
-

Se connecter :

-
- Identifiant (eMail) -
-
- -
- -
-
-
- Mot de passe -
-
- -
- -
-
- -
-
- -
-
- J'ai oublier mon mot de passe -
Je n'ai pas encore de compte -
-
\ No newline at end of file diff --git a/public/main.html b/public/main.html index c72a856..27b540e 100644 --- a/public/main.html +++ b/public/main.html @@ -3,7 +3,7 @@ Accueil - +
@@ -29,27 +29,27 @@
- +

Equipe 1

- +

Equipe 2

- +

Equipe 3

- +

Equipe 3

- +

Equipe 3

- +

Equipe 3

diff --git a/public/register/index.html b/public/register/index.html index dadeaf5..44a8a38 100644 --- a/public/register/index.html +++ b/public/register/index.html @@ -3,70 +3,11 @@ Connection - + -
-
-

S'inscrire :

-
- Adresse e-mail -
-
- -
- -
-
-
- Nom -
-
- -
- -
-
-
- Prénom -
-
- -
- -
-
-
- Mot de passe -
-
- -
- -
-
-
- Confirmer le mot de passe -
-
- -
- -
-
- -
-
- -
-
-
J'ai déjà un compte -
-
\ No newline at end of file diff --git a/src/App.css b/src/App.css index 74b5e05..3e03c12 100644 --- a/src/App.css +++ b/src/App.css @@ -9,7 +9,7 @@ @media (prefers-reduced-motion: no-preference) { .App-logo { - animation: App-logo-spin infinite 20s linear; + animation: App-logo-spin infinite 5s linear; } } diff --git a/src/App.js b/src/App.js index 3784575..793b186 100644 --- a/src/App.js +++ b/src/App.js @@ -1,24 +1,14 @@ import logo from './logo.svg'; import './App.css'; +import {Register} from './register/Register' +import {Login} from "./login/Login"; +import {MainPage} from "./main/Main"; function App() { return ( -
-
- logo -

- Edit src/App.js and save to reload. -

- - Learn React - -
-
+ + // + // ); } diff --git a/public/css/index.css b/src/css/index.css similarity index 100% rename from public/css/index.css rename to src/css/index.css diff --git a/public/login/login.css b/src/css/login.css similarity index 100% rename from public/login/login.css rename to src/css/login.css diff --git a/public/css/main.css b/src/css/main.css similarity index 100% rename from public/css/main.css rename to src/css/main.css diff --git a/public/img/background-login.jpg b/src/img/background-login.jpg similarity index 100% rename from public/img/background-login.jpg rename to src/img/background-login.jpg diff --git a/public/img/logo2.png b/src/img/logo2.png similarity index 100% rename from public/img/logo2.png rename to src/img/logo2.png diff --git a/src/login/Login.js b/src/login/Login.js new file mode 100644 index 0000000..f2972fe --- /dev/null +++ b/src/login/Login.js @@ -0,0 +1,43 @@ +import React from 'react' +import '../css/login.css' + +export function Login() { + return (<> +
+
+

Se connecter :

+
+ Identifiant (eMail) +
+
+ +
+ +
+
+
+ Mot de passe +
+
+ +
+ +
+
+ +
+
+ +
+
+ + J'ai oublier mon mot de passe + Je n'ai pas encore de compte +
+
+ ) +} \ No newline at end of file diff --git a/src/main/Main.js b/src/main/Main.js new file mode 100644 index 0000000..9613d94 --- /dev/null +++ b/src/main/Main.js @@ -0,0 +1,71 @@ +import React from 'react' +import '../css/main.css' + +export function MainPage() { + return (<> +
+
+ logo +
+
+

Bienvenue, Prénom Nom

+
+
+ +
+
+
+
+

Mes équipes

+
+
+ {/*afficher la liste des équipes*/} +
+ +

Equipe 1

+
+
+ +

Equipe 2

+
+
+ +

Equipe 3

+
+
+ +

Equipe 3

+
+
+ +

Equipe 3

+
+
+ +

Equipe 3

+
+
+
+ +
+

Mes schémas

+
+ + {/*
*/} + {/* */} + {/*

Shéma 1

*/} + {/*
*/} + {/*
*/} + {/* */} + {/*

Shéma 2

*/} + {/*
*/} + {/*
*/} + {/* */} + {/*

Shéma 3

*/} + {/*
*/} + +
+
+ +) +} \ No newline at end of file diff --git a/src/register/Register.js b/src/register/Register.js new file mode 100644 index 0000000..8ca8526 --- /dev/null +++ b/src/register/Register.js @@ -0,0 +1,73 @@ +import React from 'react' +import '../css/login.css' +export function Register() { + return ( + <> +
+
+

S'inscrire :

+
+ Adresse e-mail +
+
+ +
+ +
+
+
+ Nom +
+
+ +
+ +
+
+
+ Prénom +
+
+ +
+ +
+
+ +
+ Mot de passe +
+
+ +
+ +
+
+
+ Confirmer le mot de passe +
+
+ +
+ +
+
+ +
+
+ +
+
+ J'ai déjà un compte +
+
+ + + ) +} \ No newline at end of file