Skip to content

Commit

Permalink
atharv op
Browse files Browse the repository at this point in the history
  • Loading branch information
tejasag committed Oct 17, 2023
2 parents b322093 + c47de0a commit 9c02ac5
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 28 deletions.
14 changes: 7 additions & 7 deletions app/(invite)/invite/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function LayoutPage() {
const [regRulesRef, scrollToRegRulesRef] = useScroll();
const [teacherRulesRef, scrollToTeacherRulesRef] = useScroll();
const [discordRulesRef, scrollToDiscordRulesRef] = useScroll();
const [exunTalksRulesRef, scrollToExunTalksRulesRef] = useScroll();
// const [exunTalksRulesRef, scrollToExunTalksRulesRef] = useScroll();
const [prizesRulesRef, scrollToPrizesRulesRef] = useScroll();

const {
Expand Down Expand Up @@ -62,7 +62,7 @@ export default function LayoutPage() {
{[
{ label: "Introduction", scroll: scrollToIntroductionRef },
{ label: "Events", scroll: scrollToEventsRef },
{ label: "Exun Talks", scroll: scrollToExunTalkRef },
// { label: "Exun Talks", scroll: scrollToExunTalkRef },
{
label: "Prizes & Overall Trophy",
scroll: scrollToPrizesRef,
Expand Down Expand Up @@ -116,10 +116,10 @@ export default function LayoutPage() {
label: "Discord Server Rules",
scroll: scrollToDiscordRulesRef,
},
{
label: "Exun Talks Rules",
scroll: scrollToExunTalksRulesRef,
},
// {
// label: "Exun Talks Rules",
// scroll: scrollToExunTalksRulesRef,
// },
{
label: "Prizes & Overall Trophy Rules",
scroll: scrollToPrizesRulesRef,
Expand Down Expand Up @@ -168,7 +168,7 @@ export default function LayoutPage() {
regRulesRef={regRulesRef}
teacherRulesRef={teacherRulesRef}
discordRulesRef={discordRulesRef}
exunTalksRulesRef={exunTalksRulesRef}
// exunTalksRulesRef={exunTalksRulesRef}
prizesRulesRef={prizesRulesRef}
/>
</div>
Expand Down
42 changes: 29 additions & 13 deletions components/Introduction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function Introduction({
fields like Machine Learning (ExML), Computational Linguistics (Turing
Test), and Competitive Programming (CP).
</p>
<p>
{/* <p>
Are you interested in some other kinds of events as well? With our
wide array of options, we&apos;ve got you covered! We have the Girls
in Tech event, where participants will learn a new technical skill
Expand All @@ -103,6 +103,13 @@ export default function Introduction({
interesting practical applications of engineering and problem solving
in space scenarios. We also have the Quiz, Crossword, and Surprise
events for the inquisitive.
</p> */}
<p>
Are you interested in some other kinds of events as well? With our
wide array of options, we&apos;ve got you covered! We have the Girls
in Tech event, where participants will learn a new technical skill
through workshops and then participate in a contest. We also have the
Quiz, Crossword, and Surprise events for the inquisitive.
</p>
<p>
We have also teamed up with other clubs in our school to offer you a
Expand All @@ -117,15 +124,15 @@ export default function Introduction({
</p>
<p>
Please check our{" "}
<a href="https://reg.exun.co/invite/events">Events</a> page for
<a href="https://reg.exunclan.com/invite/events">Events</a> page for
details of the full spectrum of events Exun 2023 has to offer. Most
events will have preliminary rounds which will be conducted during the
Exun Week (October 30th - November 5th) while other events will fully
happen onsite on November 4-5, so be sure to check that out!
</p>
</div>

<div className="my-8" id="talks" ref={exunTalkRef}>
{/* <div className="my-8" id="talks" ref={exunTalkRef}>
<h2>Exun Talks</h2>
<p>
Every year, we host a series of interactive webinars and talks during
Expand All @@ -149,7 +156,7 @@ export default function Introduction({
<a href="https://exun.co/talkreg">exun.co/talkreg</a>. Keep checking
our <a href="https://facebook.com/ExunClan">Facebook Page</a> as well!
</p>
</div>
</div> */}

<div className="my-8" id="prizes" ref={prizesRef}>
<h2>Prizes &amp; Overall Trophy</h2>
Expand Down Expand Up @@ -270,10 +277,15 @@ export default function Introduction({
<strong>independent participation</strong>”) with a customized team
name.
</p>
<p>
{/* <p>
Independent participation will only be allowed for events that will be
completely online, i.e., Sudocrypt v13.0, SpaceTech, ExML, Turing
Test, Build: Unreality, and Competitive Programming Prelims.
</p> */}
<p>
Independent participation will only be allowed for events that will be
completely online, i.e., Sudocrypt v13.0, ExML, Turing Test, Build:
Unreality, and Competitive Programming Prelims.
</p>
<p>
Points won by teams and individuals under school participation will be
Expand All @@ -300,7 +312,11 @@ export default function Introduction({
<h2>Links, Platforms and Registration</h2>
<p>
We will be setting up an{" "}
<a href="//exun.co/discord" target="_blank" rel="noreferrer">
<a
href="https://discord.gg/cr8KtvuqEy"
target="_blank"
rel="noreferrer"
>
Exun 2023 Discord server
</a>{" "}
which will serve as the primary mode of communication. Here, all
Expand All @@ -313,13 +329,13 @@ export default function Introduction({
</p>
<p>
Registration can be done at{" "}
<a href="https://reg.exun.co/">reg.exun.co</a>. Only a single
representative needs to register on behalf of a team (if independent)
and school (if participating with your school), where they will have
to verify their emails and be verified by us to be legitimate
participants. They will then be notified of successful registration
and receive links and instructions for their group joining the Discord
server.
<a href="https://reg.exunclan.com/">reg.exunclan.com</a>. Only a
single representative needs to register on behalf of a team (if
independent) and school (if participating with your school), where
they will have to verify their emails and be verified by us to be
legitimate participants. They will then be notified of successful
registration and receive links and instructions for their group
joining the Discord server.
</p>
<p>
Participants are strongly encouraged to complete registration at the
Expand Down
18 changes: 11 additions & 7 deletions components/Rules.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface IRulesProps {
regRulesRef: React.MutableRefObject<HTMLDivElement>;
discordRulesRef: React.MutableRefObject<HTMLDivElement>;
teacherRulesRef: React.MutableRefObject<HTMLDivElement>;
exunTalksRulesRef: React.MutableRefObject<HTMLDivElement>;
// exunTalksRulesRef: React.MutableRefObject<HTMLDivElement>;
prizesRulesRef: React.MutableRefObject<HTMLDivElement>;
}

Expand All @@ -17,7 +17,7 @@ export default function Rules({
regRulesRef,
discordRulesRef,
teacherRulesRef,
exunTalksRulesRef,
// exunTalksRulesRef,
prizesRulesRef,
}: IRulesProps) {
return (
Expand Down Expand Up @@ -78,8 +78,8 @@ export default function Rules({
</li>
<li>
<strong>School Registration:</strong> Schools can register their
teams on <a href="https://reg.exun.co">reg.exun.co</a>. They are
also eligible to win the overall prize.
teams on <a href="https://reg.exunclan.com">reg.exunclan.com</a>.
They are also eligible to win the overall prize.
</li>
<li>
<strong>Note:</strong> School registration is open for both Indian
Expand Down Expand Up @@ -147,7 +147,10 @@ export default function Rules({
<ul>
<li>
We will be setting up an{" "}
<a href="https://exun.co/discord">Exun 2023 Discord server</a>.
<a href="https://discord.gg/cr8KtvuqEy">
Exun 2023 Discord server
</a>
.
</li>
<li>
It is mandatory to join the server since it is the primary means
Expand Down Expand Up @@ -175,7 +178,7 @@ export default function Rules({
</ul>
</div>

<div className="my-8" id="talks-rules" ref={exunTalksRulesRef}>
{/* <div className="my-8" id="talks-rules" ref={exunTalksRulesRef}>
<h2>Exun Talks Rules</h2>
<p>
Exun Week will include a special series of sessions called
Expand Down Expand Up @@ -220,7 +223,8 @@ export default function Rules({
and other participants.
</li>
</ul>
</div>
</div> */}

<div className="my-8" id="prizes-rules" ref={prizesRulesRef}>
<h2>Prizes & Overall Trophy Rules</h2>

Expand Down
2 changes: 1 addition & 1 deletion util/data/Events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const fetchEvents = async (): Promise<IEvent[]> => {
newData.find((x) => x.name === "Hardware")!,
newData.find((x) => x.name === "ExML")!,
newData.find((x) => x.name === "Girls In Tech")!,
newData.find((x) => x.name === "SpaceTech")!,
// newData.find((x) => x.name === "SpaceTech")!,
newData.find((x) => x.name === "Group Discussion")!,
newData.find((x) => x.name === "Surprise")!,
newData.find((x) => x.name === "DomainSquare+ Gaming: PC")!,
Expand Down

0 comments on commit 9c02ac5

Please sign in to comment.