diff --git a/WEB/Model/bd.sql b/WEB/Model/bd.sql index f2ee3908..f505c2d7 100644 --- a/WEB/Model/bd.sql +++ b/WEB/Model/bd.sql @@ -1,6 +1,6 @@ -- ALTER USER 'root'@'localhost' IDENTIFIED BY 'p'; --- CREATE scripted; +-- CREATE DATABASE scripted; -- USE scripted; DROP TABLE Contenir; @@ -72,5 +72,5 @@ CREATE TABLE Participer( CREATE TABLE Gerer( admin varchar(50) REFERENCES Admin(id), - enigme int REFERENCES Enigme(id), -) + enigme int REFERENCES Enigme(id) +); diff --git a/WEB/View/src/JS/Presentation.js b/WEB/View/src/JS/Presentation.js index c5cb9b1b..84d5664a 100644 --- a/WEB/View/src/JS/Presentation.js +++ b/WEB/View/src/JS/Presentation.js @@ -17,7 +17,7 @@ hiddenElements.forEach((element) => observer.observe(element)); const fox = document.querySelector(".moving-fox"); window.addEventListener("scroll", () => { - const scrollValue = window.scrollY - 500; + const scrollValue = window.scrollY - 600; fox.style.top = `${scrollValue / 1.2}px`; fox.style.opacity = `${window.scrollY / 500}`; }); diff --git a/WEB/View/src/pages/Presentation.html b/WEB/View/src/pages/Presentation.html index ec9970dd..c5b47830 100644 --- a/WEB/View/src/pages/Presentation.html +++ b/WEB/View/src/pages/Presentation.html @@ -27,7 +27,7 @@ - - + +
@@ -81,7 +81,7 @@