Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: timer #8

Merged
merged 9 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading