Site
- add scroll function
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
# By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2024/09/13 16:20:58 by tomoron #+# #+# #
|
||||
# Updated: 2024/09/17 15:18:09 by tomoron ### ########.fr #
|
||||
# Updated: 2024/09/17 15:33:06 by edbernar ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@ -36,7 +36,7 @@ class Game:
|
||||
self.end = False
|
||||
|
||||
self.p1Pos = {"pos":0, "up": False}
|
||||
self.p1Pos = {"pos":0, "up": False}
|
||||
self.p2Pos = {"pos":0, "up": False}
|
||||
|
||||
self.ballPos = {"pos":(0, 0), "up": False}
|
||||
self.speed = Game.startSpeed
|
||||
|
@ -3,8 +3,8 @@
|
||||
<div id="topBar">
|
||||
<h1>PTME</h1>
|
||||
<div id="topButton">
|
||||
<p onclick="scrollToSection()">HOME</p>
|
||||
<p>PROJECT</p>
|
||||
<p>HOME</p>
|
||||
<p id="AAAAAAA">PROJECT</p>
|
||||
<p>AUTHORS</p>
|
||||
</div>
|
||||
<div id="loginButton">
|
||||
@ -80,7 +80,7 @@
|
||||
</div>
|
||||
<section class="homeSection">
|
||||
</section>
|
||||
<section class="homeSection relative">
|
||||
<section class="homeSection relative" id="QWERTYUIOP">
|
||||
<img id="firstBall" src="/static/img/homePage/ball3D2.png">
|
||||
<img id="secondBall" src="/static/img/homePage/ball3D3.png">
|
||||
<div class="relative">
|
||||
|
Reference in New Issue
Block a user