Skip to content

Commit

Permalink
fix: timer (#8)
Browse files Browse the repository at this point in the history
* feat: 4

* final

* fix: 1

* fix: 2

* feat: reg1

* feat: update

* final 1

* feat: 1
  • Loading branch information
mharrish7 authored Oct 18, 2023
1 parent 2aa32bb commit aa91ed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Components/Landing/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Landing = () => {
const [minutes, setMinutes] = useState(0);
const [seconds, setSeconds] = useState(0);

const deadline = new Date("October 26, 2023").getTime();
const deadline = new Date("October 27, 2023 17:00:00").getTime();

const getTime = () => {
const currentTime = new Date().getTime();
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Register/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const Register = () => {
<div className="containerreg">
<h1>Registration Page</h1>
<motion.button initial = {{scale : 0.5}} animate = {{ scale : 1}} transition={{ delay : 0.3}} className="btnreg" onClick={() => {window.open(
'https://drive.google.com/file/d/1ik4B97YNQb4YX0d4pKfb59Was8znyMRT/view?usp=sharing',
'https://drive.google.com/file/d/1-ALSr8cgKZOdmo5F-uv2rqwXnv3dH0P4/view?usp=sharing',
'_blank' // <- This is what makes it open in a new window.
);}}><IconBook2 /> Rule Book</motion.button>
<form id="my-form" onSubmit={handleSubmit}>
Expand Down

0 comments on commit aa91ed5

Please sign in to comment.