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

Development #69

Merged
merged 2 commits into from
Oct 1, 2024
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
4 changes: 2 additions & 2 deletions app/_components/Home/CountdownTimer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ export default function CountdownTimer() {
<div className="bg-sponsors-bg bg-cover bg-center overflow-hidden">
<div className="row text-center lg:pb-10">
<h2 className="text-lg lg:text-2xl text-neutral-500">
Round 1 Registrations
Round 2 Live Presentations
</h2>
<h2 className="text-3xl lg:text-5xl font-semibold mt-2">
Closed in!
Happening in!
</h2>
</div>
<div className="row my-5 w-full h-auto">
Expand Down
7 changes: 3 additions & 4 deletions app/_components/Home/CountdownTimer/timer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { useState, useEffect } from "react";

export default function Timer() {
const targetDate = new Date("2024-09-13T23:59:00");
const targetDate = new Date("2024-10-08T10:00:00");

const calculateTimeLeft = () => {
const now = new Date();
Expand Down Expand Up @@ -90,9 +90,8 @@ export default function Timer() {
</svg>
<div className="absolute inset-0 flex items-center justify-center">
<span
className={`text-lg ${
isMobile ? "text-base" : "text-2xl"
} font-semibold`}
className={`text-lg ${isMobile ? "text-base" : "text-2xl"
} font-semibold`}
>
{value}
</span>
Expand Down
86 changes: 43 additions & 43 deletions app/data/Timeline.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
[
{
"index": 1,
"date": "13th of August - 10.00 AM",
"title": "Registration Open for Awareness Session",
"position": "right",
"description": "Being aware of the competition will help you create a remarkable project adhering to the rules and guidelines of the competition. The best way to do so is by attending the awareness session. Now you can get registered for the awareness session."
},
{
"index": 2,
"date": "15th of August - 7:30 PM",
"title": "Awareness Session",
"position": "left",
"description": "Team registration closes on this day. Please note that NO registration is accepted after the registrations are closed. Be sure to get registered before the deadline ends."
},
{
"index": 3,
"date": "15th of August - 12.00 AM",
"title": "Team Registration Open",
"position": "right",
"description": "Registrations for round one start. Get your team registered on time by submitting an entry. Make sure that your team consist of 3 to 4 members. Keep in mind that a good team will help you win championships."
},
{
"index": 4,
"date": "13th of September - 11.59 PM",
"title": "Registration Closes",
"position": "left",
"description": "Team registration closes on this day. Please note that NO registration is accepted after the registrations are closed. Be sure to get registered before the deadline ends."
},
{
"index": 5,
"date": "18th of September - 10.00 AM",
"title": "Round 2 - Live Presentation",
"position": "right",
"description": "Team registration closes on this day. Please note that NO registration is accepted after the registrations are closed. Be sure to get registered before the deadline ends."
},
{
"index": 6,
"date": "27th of September - 7:30 AM",
"title": "Final Round",
"position": "left",
"description": "All teams advancing to round 3 are invited to the physical event at the Sri Lanka Institute of Information Technology Campus, Malabe, to present the project in front of an expert panel. Winners will be selected accordingly."
}
]
{
"index": 1,
"date": "13th of August - 10.00 AM",
"title": "Registration Open for Awareness Session",
"position": "right",
"description": "Being aware of the competition will help you create a remarkable project adhering to the rules and guidelines of the competition. The best way to do so is by attending the awareness session. Now you can get registered for the awareness session."
},
{
"index": 2,
"date": "15th of August - 7:30 PM",
"title": "Awareness Session",
"position": "left",
"description": "Team registration closes on this day. Please note that NO registration is accepted after the registrations are closed. Be sure to get registered before the deadline ends."
},
{
"index": 3,
"date": "15th of August - 12.00 AM",
"title": "Team Registration Open",
"position": "right",
"description": "Registrations for round one start. Get your team registered on time by submitting an entry. Make sure that your team consist of 3 to 4 members. Keep in mind that a good team will help you win championships."
},
{
"index": 4,
"date": "13th of September - 11.59 PM",
"title": "Registration Closes",
"position": "left",
"description": "Team registration closes on this day. Please note that NO registration is accepted after the registrations are closed. Be sure to get registered before the deadline ends."
},
{
"index": 5,
"date": "08th of October - 10.00 AM",
"title": "Round 2 - Live Presentation",
"position": "right",
"description": "Team registration closes on this day. Please note that NO registration is accepted after the registrations are closed. Be sure to get registered before the deadline ends."
},
{
"index": 6,
"date": "11th of October - 8:30 AM",
"title": "Final Round",
"position": "left",
"description": "All teams advancing to round 3 are invited to the physical event at the Sri Lanka Institute of Information Technology Campus, Malabe, to present the project in front of an expert panel. Winners will be selected accordingly."
}
]
Loading