
diff --git a/src/Controller/Controleur.php b/src/Controller/Controleur.php
deleted file mode 100755
index 4f8e905..0000000
--- a/src/Controller/Controleur.php
+++ /dev/null
@@ -1,145 +0,0 @@
-Reinit();
- break;
-
-
- case "validationFormulaire":
- $this->ValidationFormulaire($dVueEreur);
- break;
-
- case "redirectionLogin":
- $this->redirectionLogin($dVueEreur);
- break;
-
- case "redirectionInscription":
- $this->redirectionInscription($dVueEreur);
- break;
-
- case "seConnecter":
- $this->seConnecter($dVueEreur);
- break;
-
- case "ConsulterListe":
- $this->ConsulterListe();
- break;
-
-//mauvaise action
-default:
-$dVueEreur[] = "Erreur d'appel php";
-require ($rep.$vues['home']);
-break;
-}
-
-} catch (PDOException $e)
-{
- //si erreur BD, pas le cas ici
- $dVueEreur[] = "Erreur inattendue!!! ";
- require ($rep.$vues['erreur']);
-
-}
-catch (Exception $e2)
- {
- $dVueEreur[] = "Erreur inattendue!!! ";
- require ($rep.$vues['erreur']);
- }
-
-
-//fin
-exit(0);
-}//fin constructeur
-
-
-function Reinit() {
-global $rep,$vues;
-
-$dVue = array (
- 'nom' => "",
- 'age' => 0,
- );
- require ($rep.$vues['Home']);
-}
-
-function ValidationFormulaire(array $dVueEreur) {
-global $rep,$vues;
-
-
-//si exception, ca remonte !!!
-$nom=$_POST['txtNom']; // txtNom = nom du champ texte dans le formulaire
-$age=$_POST['txtAge'];
-\config\Validation::val_form($nom,$age,$dVueEreur);
-
-$model = new \Modele\Simplemodel();
-$data=$model->get_data();
-
-$dVue = array (
- 'nom' => $nom,
- 'age' => $age,
- 'data' => $data,
- );
- require ($rep.$vues['inscription']);
-}
-
-
-function redirectionLogin(array $dVueEreur) {
- global $rep,$vues;
- require ($rep.$vues['login']);
-}
-
-function redirectionInscription(array $dVueEreur) {
- global $rep,$vues;
- require ($rep.$vues['inscription']);
-}
-
-function seConnecter(array $dVueEreur) {
- global $rep,$vues;
-
-
- //si exception, ca remonte !!!
- $mail=$_POST['mail']; // txtNom = nom du champ texte dans le formulaire
- $password=$_POST['password'];
- \config\Validation::val_connection($nom,$age,$dVueEreur);
- require ($rep.$vues['login']);
-}
-
-function ConsulterListe(){
- global $rep,$vues;
- $con=new Connection("mysql:host=localhost;dbname=dbrahassou","rahassou","achanger");
- $model = new ListeGateway($con);
- $results=array();
- $results=$model->getListePublic(0,10);
- $dVue = array (
- 'results' => $results
- );
- require ($rep.$vues['listeVue']);
- }
-
-
-}//fin class
-
-?>
diff --git a/src/Controller/CtrlUtilisateur b/src/Controller/CtrlUtilisateur.php
similarity index 100%
rename from src/Controller/CtrlUtilisateur
rename to src/Controller/CtrlUtilisateur.php
diff --git a/src/Controller/CtrlVisiteur.php b/src/Controller/CtrlVisiteur.php
new file mode 100644
index 0000000..a806253
--- /dev/null
+++ b/src/Controller/CtrlVisiteur.php
@@ -0,0 +1,100 @@
+Reinit();
+ break;
+
+ case "validationFormulaire":
+ $this->ValidationFormulaire($dVueEreur);
+ break;
+
+ case "redirectionLogin":
+ $this->redirectionLogin($dVueEreur);
+ break;
+
+ case "redirectionInscription":
+ $this->redirectionInscription($dVueEreur);
+ break;
+
+ case "seConnecter":
+ $this->seConnecter($dVueEreur);
+ break;
+
+ case "ConsulterListe":
+ $this->ConsulterListe();
+ break;
+
+ //mauvaise action
+ default:
+ $dVueEreur[] = "Erreur d'appel php";
+ require ($rep.$vues['home']);
+ break;
+ }
+
+ } catch (PDOException $e)
+ {
+ //si erreur BD, pas le cas ici
+ $dVueEreur[] = "Erreur inattendue!!! ";
+ require ($rep.$vues['erreur']);
+
+ }
+ catch (Exception $e2)
+ {
+ $dVueEreur[] = "Erreur inattendue!!! ";
+ require ($rep.$vues['erreur']);
+ }
+
+
+ //fin
+ exit(0);
+ }//fin constructeur
+
+
+ function Reinit() {
+ require ($rep.$vues['Home']);
+ }
+
+ function ValidationFormulaire(array $dVueEreur) {
+ require ($rep.$vues['inscription']);
+ }
+
+
+ function redirectionLogin(array $dVueEreur) {
+ require ($rep.$vues['login']);
+ }
+
+ function redirectionInscription(array $dVueEreur) {
+ require ($rep.$vues['inscription']);
+ }
+
+ function seConnecter(array $dVueEreur) {
+ require ($rep.$vues['login']);
+ }
+
+ function ConsulterListe(){
+ require ($rep.$vues['listeVue']);
+ }
+
+
+}//fin class
+
+?>
diff --git a/src/Controller/FrontControleur.php b/src/Controller/FrontControleur.php
new file mode 100644
index 0000000..274afb7
--- /dev/null
+++ b/src/Controller/FrontControleur.php
@@ -0,0 +1,22 @@
+
diff --git a/src/Modele/Classe/Liste.php b/src/Modele/Classe/Liste.php
new file mode 100644
index 0000000..f3ba958
--- /dev/null
+++ b/src/Modele/Classe/Liste.php
@@ -0,0 +1,67 @@
+id = $id;
+ $this->nom = $nom;
+ $this->description = $description;
+ $this->dateCreation = $dateCreation;
+ $this->estPublic = $estPublic;
+ $this->idUser = $idUser;
+ }
+
+ //Id
+ public function getId(){
+ return $this->id;
+ }
+
+ public function setId($id){
+ $this->id=$id;
+ }
+
+ //Nom
+ public function getNom(){
+ return $this->nom;
+ }
+
+ public function setNom($nom){
+ $this->nom=$nom;
+ }
+
+ //DateCreation
+ public function getDateCreation(){
+ return $this->dateCreation;
+ }
+
+ public function setDateCreation($dateCreation){
+ $this->dateCreation = $dateCreation;
+ }
+
+ //EstPublic
+ public function getEstPublic(){
+ return $this->estPublic;
+ }
+
+ public function setEstPublic($estPublic){
+ $this->estPublic = $estPublic;
+ }
+
+ //IdUser
+ public function getIdUser(){
+ return $this->idUser;
+ }
+
+ public function setIdUser($idUser){
+ $this->idUser = $idUser;
+ }
+
+}
diff --git a/src/Modele/Classe/ModeleVisiteur.php b/src/Modele/Classe/ModeleVisiteur.php
new file mode 100644
index 0000000..23541ab
--- /dev/null
+++ b/src/Modele/Classe/ModeleVisiteur.php
@@ -0,0 +1,22 @@
+id = $id;
+ $this->nom = $nom;
+ $this->description = $description;
+ $this->dateCreation = $dateCreation;
+ $this->estValide = $estValide;
+ $this->idListe = $idListe;
+ }
+
+ //Id
+ public function getid(){
+ return $this->id;
+ }
+
+ public function setId($id){
+ $this->id=$id;
+ }
+
+ //Nom
+ public function getNom(){
+ return $this->nom;
+ }
+
+ public function setNom($nom){
+ $this->nom=$nom;
+ }
+
+ //Description
+ public function getDescription(){
+ return $this->description;
+ }
+
+ public function setDescription($description){
+ $this->description=$description;
+ }
+
+ //DateCreation
+ public function getDateCreation(){
+ return $this->dateCreation;
+ }
+
+ public function setDateCreation($dateCreation){
+ $this->dateCreation = $dateCreation;
+ }
+
+ //EstValide
+ public function getEstValide(){
+ return $this->estValide;
+ }
+
+ public function setEstValide($estValide){
+ $this->estValide = $estValide;
+ }
+
+ //idList
+ public function getIdListe(){
+ return $this->estValide;
+ }
+
+ public function setIdListe($idListe){
+ $this->idListe = $idListe;
+ }
+
+}
diff --git a/src/Modele/Utilisateur.php b/src/Modele/Classe/Utilisateur.php
similarity index 59%
rename from src/Modele/Utilisateur.php
rename to src/Modele/Classe/Utilisateur.php
index 3f0c917..256990a 100644
--- a/src/Modele/Utilisateur.php
+++ b/src/Modele/Classe/Utilisateur.php
@@ -4,13 +4,13 @@ namespace modeles;
class Utilisateur
{
- private string $id;
- private string $nom;
- private string $prenom;
- private string $pseudo;
- private string $email;
+ private $id;
+ private $nom;
+ private $prenom;
+ private $pseudo;
+ private $email;
- public function __construct(string $id, string $nom, string $prenom, string $pseudo, string $email,string $motDePasse, bool $isAdmin){
+ public function __construct($id, $nom, $prenom, $pseudo, $email, $motDePasse, $isAdmin){
$this->id = $id;
$this->nom = $nom;
$this->prenom = $prenom;
@@ -23,7 +23,7 @@ class Utilisateur
return $this->id;
}
- public function setId(string $id){
+ public function setId($id){
$this->nom = $id;
}
@@ -32,7 +32,7 @@ class Utilisateur
return $this->nom;
}
- public function setNom(string $nom){
+ public function setNom($nom){
$this->nom = $nom;
}
@@ -41,7 +41,7 @@ class Utilisateur
return $this->prenom;
}
- public function setPrenom(string $prenom){
+ public function setPrenom($prenom){
$this->prenom = $prenom;
}
@@ -50,7 +50,7 @@ class Utilisateur
return $this->pseudo;
}
- public function setPseudo(string $pseudo){
+ public function setPseudo($pseudo){
$this->pseudo = $pseudo;
}
@@ -59,7 +59,7 @@ class Utilisateur
return $this->email;
}
- public function setEmail(string $email){
+ public function setEmail($email){
$this->email = $email;
}
diff --git a/src/Modele/Liste.php b/src/Modele/Liste.php
deleted file mode 100644
index b7b5856..0000000
--- a/src/Modele/Liste.php
+++ /dev/null
@@ -1,47 +0,0 @@
-id = $id;
- $this->nom = $nom;
- $this->description = $description;
- $this->dateCreation = $dateCreation;
- $this->estValide = false;
- $this->liste = $liste;
- }
-
- //Nom
- public function getNom(){
- return $this->nom;
- }
-
- //Id
- public function getid(){
- return $this->id;
- }
-
- //DateCreation
- public function getDateCreation(){
- return $this->dateCreation;
- }
-
- //EstValide
- public function getEstValide(){
- return $this->estValide;
- }
-
- public function getListe(){
- return $this->liste;
- }
-
-
-}
diff --git a/src/Modele/ListeGateway.php b/src/Modele/ListeGateway.php
index 92de164..04fb9e5 100644
--- a/src/Modele/ListeGateway.php
+++ b/src/Modele/ListeGateway.php
@@ -21,9 +21,9 @@ class ListeGateway{
$this->con->executeQuery($query, array('nom' => array($Liste->getNom(), PDO::PARAM_STRING)), array('id' => array($Liste->getId()),PDO::PARAM_INT));
}
- public function Supprimer(Liste $liste){
+ public function Supprimer(int $id){
$query='DELETE FROM ToDoListe_Liste WHERE id=:id';
- $this->con->executeQuery($query,'id' => array($liste->id, PDO::PARAM_STRING)));
+ $this->con->executeQuery($query,'id' => array($id, PDO::PARAM_STRING)));
}
public function getListe(int $offset, int $limit){
@@ -41,7 +41,7 @@ class ListeGateway{
}
public function getListePublic($offset,$limit){
- $query = "SELECT * FROM ToDoListe_Liste AND isPublic LIMITS $offset,$limit";
+ $query = "SELECT * FROM ToDoListe_Liste AND estPublic LIMITS $offset,$limit";
$this->con->executeQuery($query);
$results=$this->con->getResults();
return $results;
diff --git a/src/Modele/ModeleUtilisateur.php b/src/Modele/ModeleUtilisateur.php
new file mode 100644
index 0000000..f1a22f6
--- /dev/null
+++ b/src/Modele/ModeleUtilisateur.php
@@ -0,0 +1,28 @@
+AjouterUtilisateur();
+ }
+
+
+
+
+
+
+
+}
diff --git a/src/Modele/Tache.php b/src/Modele/Tache.php
deleted file mode 100644
index 3a76aba..0000000
--- a/src/Modele/Tache.php
+++ /dev/null
@@ -1,47 +0,0 @@
-id = $id;
- $this->nom = $nom;
- $this->description = $description;
- $this->dateCreation = $dateCreation;
- $this->estValide = false;
- }
-
- //Nom
- public function getNom(){
- return $this->nom;
- }
-
- //Id
- public function getid(){
- return $this->id;
- }
-
- //Description
- public function getDescription(){
- return $this->description;
- }
-
- //DateCreation
- public function getDateCreation(){
- return $this->dateCreation;
- }
-
- //EstValide
- public function getEstValide(){
- return $this->estValide;
- }
-
-
-}
diff --git a/src/Modele/UtilisateurGateway.php b/src/Modele/UtilisateurGateway.php
index 7e708fc..fcd6e9c 100644
--- a/src/Modele/UtilisateurGateway.php
+++ b/src/Modele/UtilisateurGateway.php
@@ -1,11 +1,11 @@
con=$con;
+ public function __construct(){
+ $this->con=new Connection($dsn,$user,$pass);
}
- public function CreerUtilisateur(string $nom,string $prenom, string $pseudo, string $email, string $mdp){
+ public function AjouterUtilisateur(string $nom,string $prenom, string $pseudo, string $email, string $mdp){
$query='INSERT INTO ToDoList_Utilisateur(nom,prenom,pseudo,email,motDePasse) values (:nom,:prenom,:pseudo,:email,:mdp);';
$this->con->executeQuery($query, array(
'nom' => array($nom, PDO::PARAM_STRING),
@@ -15,10 +15,18 @@ class UtilisateurGateway{
'mdp' => array($mdp, PDO::PARAM_STRING)));
}
- public function Supprimer(Utilisateur $user){
+ public function SupprimerUtilisateur(int $id){
$query='DELETE FROM ToDoList_Utilisateur WHERE id=:id;';
$this->con->executeQuery($query, array(
- 'id' => array($user->getNom(), PDO::PARAM_STRING)));
+ 'id' => array($id, PDO::PARAM_STRING)));
+ }
+
+ public function RechercheUtilisateurViaPseudo(string $pseudo){
+
+ }
+
+ public function RechercheUtilisateurViaEmail(string $pseudo){
+
}
}
?>
\ No newline at end of file
diff --git a/src/Vue/css/home.css b/src/Vue/css/home.css
deleted file mode 100644
index cfabfd4..0000000
--- a/src/Vue/css/home.css
+++ /dev/null
@@ -1,15 +0,0 @@
-.button-home{
- color: white;
- background-color: transparent;
- font-family: JetBrains Mono,Menlo,Droid Sans Mono,monospace;
- border-color: transparent;
- font-weight: 600;
-}
-
-.button-home:hover{
- color: #6a52fd;
-}
-
-.navbar-home{
- margin-left: 10%;
-}
\ No newline at end of file
diff --git a/src/Vue/css/inscription.css b/src/Vue/css/inscription.css
index 7baaa66..2830096 100644
--- a/src/Vue/css/inscription.css
+++ b/src/Vue/css/inscription.css
@@ -11,289 +11,3 @@ body::before {
transform: rotate(-5deg);
z-index: -1;
}
-
-.form-redirection{
- margin-top: -25px;
-}
-
-.main-logo{
- display: flex;
- flex-direction: column;
- margin-left: auto;
- margin-right: auto;
- align-items: center;
-}
-
-.main-logo img{
- width: 50%;
-}
-
-body fieldset {
- box-shadow: 0 8px 10px #29a329;
-}
-
-body.error {
- background: #f04000;
-}
-body.error fieldset {
- box-shadow: 0 8px 10px #bd3200;
-}
-
-h2 {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-family: sans-serif;
- text-transform: uppercase;
- letter-spacing: 2px;
-}
-
-h1 {
- color: white;
- font-size: 100%;
- /*transform: translateX(-50%);*/
- font-family: sans-serif;
- text-transform: uppercase;
-}
-
-h2 {
- top: 44px;
- color: white;
- font-size: 10px;
- opacity: 0.7;
-}
-
-ul.items {
- position: absolute;
- width: 30px;
- height: auto;
- top: 50%;
- left: -60px;
- transform: translateY(-50%);
-}
-ul.items li {
- width: 8px;
- height: 8px;
- margin: 10px 0;
- background: white;
- border-radius: 50%;
- opacity: 0.4;
- cursor: pointer;
-}
-ul.items li.active {
- opacity: 1;
-}
-
-form {
- position: absolute;
- width: 300px;
- height: 60px;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
-}
-form fieldset {
- position: absolute;
- width: 300px;
- height: 60px;
- background: white;
- border-radius: 3px;
- opacity: 0;
- transform: scale(0.2);
- transition: all 0.4s ease-in-out;
-}
-form fieldset input, form fieldset p {
- display: inline-block;
- width: 200px;
- margin-left: 50px;
- color: #333333;
- font-size: 16px;
- letter-spacing: 1px;
-}
-form fieldset p {
- margin-top: 22px;
- text-align: center;
-}
-form fieldset input {
- height: 40px;
- margin-top: 8px;
- border: none;
- outline: none;
-}
-form fieldset .icon {
- position: absolute;
- width: 30px;
- height: 30px;
- top: 15px;
- transition: all 0.4s ease;
-}
-form fieldset .icon i {
- position: absolute;
- display: block;
-}
-form fieldset .icon i::before, form fieldset .icon i::after {
- position: absolute;
- content: "";
-}
-form fieldset .icon.left {
- left: 10px;
-}
-form fieldset .icon.right {
- right: 10px;
- cursor: pointer;
-}
-form fieldset .icon.button:hover {
- background: #f2f2f2;
- border-radius: 3px;
- transition: all 0.4s ease;
-}
-form fieldset.enable {
- z-index: 1;
- opacity: 1;
- transition: all 0.5s ease-out 0.2s;
- transform: scale(1);
- animation: enable 0.5s ease-out 0.2s;
-}
-form fieldset.disable {
- opacity: 0;
- transition: all 0.3s ease-in;
- transform: translateY(120px) scale(0.9);
-}
-
-body.error fieldset {
- transform-origin: 50% 100%;
- animation: error 0.3s ease-out;
-}
-
-@keyframes enable {
- 0% {
- opacity: 0;
- transform: scale(0.2);
- }
- 60% {
- transform: scale(1.1);
- }
- 100% {
- opacity: 1;
- transform: scale(1);
- }
-}
-@keyframes error {
- 0%, 50%, 100% {
- transform: rotate(0deg);
- }
- 25% {
- transform: rotate(-3deg);
- }
- 75% {
- transform: rotate(3deg);
- }
-}
-/**
- * * Icons in CSS, long as f****
- * */
-.icon .arrow {
- width: 2px;
- height: 17px;
- top: 5px;
- left: 14px;
- background: #333333;
-}
-.icon .arrow::before {
- width: 6px;
- height: 6px;
- bottom: -1px;
- left: -3px;
- border-color: #333333;
- border-right: 2px solid;
- border-bottom: 2px solid;
- transform: rotate(45deg);
-}
-
-.icon .user {
- width: 20px;
- height: 10px;
- bottom: 5px;
- left: 5px;
- box-shadow: 0 0 0 2px #333333 inset;
- border-radius: 6px 6px 3px 3px;
-}
-.icon .user::before {
- width: 10px;
- height: 10px;
- top: -9px;
- left: 5px;
- box-shadow: 0 0 0 2px #333333 inset;
- border-radius: 50%;
-}
-
-.icon .letter {
- width: 20px;
- height: 12px;
- top: 9px;
- left: 5px;
- box-shadow: 0 0 0 2px #333333 inset;
- border-radius: 3px;
-}
-.icon .letter::before, .icon .letter::after {
- width: 11px;
- height: 2px;
- top: 4px;
- background: #333333;
-}
-.icon .letter::before {
- left: 0;
- transform: rotate(30deg);
-}
-.icon .letter::after {
- right: 0;
- transform: rotate(-30deg);
-}
-
-.icon .lock {
- width: 20px;
- height: 16px;
- top: 9px;
- left: 5px;
- box-shadow: 0 0 0 2px #333333 inset;
- border-radius: 3px;
-}
-.icon .lock::before {
- width: 8px;
- height: 8px;
- top: -4px;
- left: 4px;
- border: 2px solid transparent;
- border-top: 2px solid #333333;
- border-right: 2px solid #333333;
- border-radius: 50%;
- transform: rotate(-45deg);
-}
-.icon .lock::after {
- width: 6px;
- height: 7px;
- top: 4px;
- left: 7px;
- box-shadow: 0 0 0 2px #333333 inset;
-}
-
-.icon .heart {
- width: 10px;
- height: 10px;
- top: 11px;
- left: 7px;
- background: #ff5233;
- transform: rotate(45deg);
-}
-.icon .heart::before, .icon .heart::after {
- width: 10px;
- height: 10px;
- border-radius: 50%;
- background: #ff5233;
-}
-.icon .heart::before {
- left: -6px;
-}
-.icon .heart::after {
- top: -6px;
-}
\ No newline at end of file
diff --git a/src/Vue/css/profil.css b/src/Vue/css/profil.css
deleted file mode 100644
index d30f5c5..0000000
--- a/src/Vue/css/profil.css
+++ /dev/null
@@ -1,233 +0,0 @@
-@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap');
-
-body {
- font: 18px "Nunito", sans-serif;
- color: black;
- min-height: 100vh;
- padding: 2rem;
- display: flex;
- justify-content: center;
- align-items: center;
-}
-
-body::before {
- content: '';
- position: fixed;
- inset: 0;
- z-index: -1;
- pointer-events: none;
- background: url("../Images/Back(2).jpg") no-repeat center;
- background-size: cover;
- animation: backgroundZoomAnimate 20s forwards;
-}
-
-@keyframes backgroundZoomAnimate {
- from {
- transform: scale(1);
- }
- to {
- transform: scale(1.3);
- }
-}
-
-.profil-card {
- box-shadow: 0 18px 200px -60px black;
- border-radius: 50px;
- width: 650px;
- position: relative;
- backdrop-filter: blur(15px);
- border: 2px solid #ffffff40;
- padding: 3rem 5rem;
- display: flex;
- flex-direction: column;
- gap: 40px;
-
- @media screen and (max-width: 768px) {
- width: auto;
- }
-
-}
-
-.profil-card__img img {
- margin: auto;
- width: 200px;
- height: 200px;
- border-radius: 50%;
- object-fit: cover;
- display: block;
- box-shadow: 0 10px 60px -10px rgba(13,28,39,.5);
-}
-
-.profil-card__desc {
- text-align: center;
- display: flex;
- flex-direction: column;
- gap: 25px;
-
-}
-
-.localisation {
- display: flex;
- align-items:center;
- gap:10px;
- justify-content: center;
-}
-
-.profil-card__desc h1 {
- font-size: 2.5rem;
- font-weight: bold;
-}
-
-.profil-card__desc h1 + div {
- font-size: 20px;
-}
-
-.info{
- display: flex;
- justify-content: center;
- gap: 50px;
-
- @media screen and (max-width: 576px) {
- gap: 30px;
- }
-}
-
-.info > div {
- text-transform: uppercase;
- font-weight: bold;
- letter-spacing: 1px;
- text-align: center;
-}
-
-.info > div > *:first-child {
- font-weight: bold;
- letter-spacing: 3px;
- font-size: 2rem;
- margin-bottom: 15px;
-}
-
-.info > div > *:last-child {
- font-size: 16px;
- opacity: .7;
-}
-
-.social {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-wrap: wrap;
-}
-
-.social a {
- display: inline-block;
- width: 55px;
- height: 55px;
- margin: 15px;
- border-radius: 40%;
- align-items: center;
- justify-content: center;
- color: white;
- position: relative;
- flex-shrink: 0;
- transition: all .2s;
-
- @media screen and (max-width: 768px) {
- width: 50px;
- height: 50px;
- margin: 10px;
- }
-}
-
-@media screen and (min-width: 768px) {
- .social a:hover {
- transform: scale(1.2) translateY(-5px);
- }
-}
-
-.social a.facebook {
- padding-top: 15px;
- padding-left: 15px;
- background: linear-gradient(45deg, #3b5998,#0078d7);
- box-shadow: 0 4px 30px rgba(45, 98, 169, 1);
-}
-
-.social a.twitter {
- padding-top: 15px;
- padding-left: 15px;
- background: linear-gradient(45deg, #1da1f2,#0e71c8);
- box-shadow: 0 4px 30px rgba(19, 127, 212, 1);
-}
-
-.social a.instagram {
- padding-top: 15px;
- padding-left: 15px;
- background: linear-gradient(45deg, #405de6,#5851db,#833ab4,#c13584,#e1306c,#fd1d1d);
- box-shadow: 0 4px 30px rgba(120, 64, 190, 0.8);
-}
-
-.social a.gitlab {
- padding-top: 15px;
- padding-left: 15px;
- background: linear-gradient(45deg, #FF9467,#DB4100);
- box-shadow: 0 4px 30px rgba(255,148,103, 0.6);
-}
-
-.actions {
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 2rem;
-
- @media screen and (max-width: 576px) {
- flex-direction: column;
- gap: 1.5rem;
- }
-}
-
-.actions > button {
- font-weight: bold;
- font-size: 22px;
- padding: 15px 0;
- min-width: 250px;
- border-radius: 50px;
- text-align: center;
- color: white;
- cursor: pointer;
- transition: all .2s;
-
- @media screen and (max-width: 760px) {
- min-width: 170px;
- }
-
- @media screen and (max-width: 576px) {
- min-width: inherit;
- width: 100%;
- max-width: 350%;
- }
-}
-
-@media screen and (min-width: 576px) {
- .actions > button:hover {
- transform: translateY(-5px);
- }
-}
-
-.bleu{
- background: linear-gradient(45deg, #1da1f2,#0e71c8);
- box-shadow: 0 4px 30px rgba(19, 127, 212, 0.4);
-}
-
-.bleu:hover {
- box-shadow: 0 7px 30px rgba(19, 127, 212, 0.75);
-}
-
-
-.orange {
- background: linear-gradient(45deg, #d5135a,#f05924);
- box-shadow: 0 4px 30px rgba(223, 45, 70, 0.35);
-}
-
-
-.orange:hover {
- box-shadow: 0 7px 30px rgba(223,45,70,0.75);
-}
diff --git a/src/Vue/css/style.css b/src/Vue/css/style.css
index 0663188..ec3da44 100644
--- a/src/Vue/css/style.css
+++ b/src/Vue/css/style.css
@@ -211,16 +211,6 @@ body::before {
accent-color: black;
}
-.model button {
- background: #38b6ff;
- color: white;
- padding: 1rem;
- border-radius: 100px;
- text-transform: uppercase;
- letter-spacing: 2px;
- transition: background .5s;
-}
-
.login-card-form button:hover {
background-color: rgba(84,192,255,.85);
cursor: pointer;
@@ -270,6 +260,30 @@ body::before {
/* Button */
+.mon-button{
+ font-family: 'Poppins', sans-serif;
+ font-weight: bold;
+ border-color: transparent;
+ background-color: transparent;
+ color: #35339a;
+}
+
+.mon-button:hover{
+ text-decoration: underline 1px;
+}
+
+.button-body{
+ background: #38b6ff;
+ color: white;
+ padding: 1rem;
+ border-radius: 100px;
+ text-transform: uppercase;
+ letter-spacing: 2px;
+ transition: background .5s;
+}
+
+
+
.button{
border-color: #38b6ff;
height: 2rem;
diff --git a/src/Vue/html/ListeVue.php b/src/Vue/html/ListeVue.php
deleted file mode 100644
index 25a90a4..0000000
--- a/src/Vue/html/ListeVue.php
+++ /dev/null
@@ -1,9 +0,0 @@
-getNom();
- echo ("
");
- print $row->getDateCreation();
- echo ("
");
- }
-?>
diff --git a/src/Vue/html/NavBar.php b/src/Vue/html/NavBar.php
new file mode 100644
index 0000000..e8bc2ac
--- /dev/null
+++ b/src/Vue/html/NavBar.php
@@ -0,0 +1,21 @@
+