Skip to content

Commit

Permalink
register link added
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitgeistxx committed Aug 19, 2023
1 parent 5b190ed commit 5568080
Showing 1 changed file with 15 additions and 23 deletions.
38 changes: 15 additions & 23 deletions client/app/events/interhacktive/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ const JUDGES = [



export default function Interhacktive() {
const event = EVENTS.interhacktive0;
const Interhacktive = () => {
const event = EVENTS?.interhacktive0;

return (
<div className={styles.holder}>
<div className={styles.container}>
<div className={styles.header}>
<div className={styles.articleTitle}>
{event.heading}
{event?.heading}
</div>
<div className={styles.eventDate}>
<CalendarCheck className={styles.eventDateCalender} />
<DateElement date={event.date} />
<DateElement date={event?.date} />
</div>
</div>

Expand All @@ -43,7 +43,7 @@ export default function Interhacktive() {
</div>

<div className={styles.section}>
<div><RegisterButton /></div>
<a className={styles.registerBtn} href={event?.registrationLink} target='_blank'>Register</a>
</div>

<div className={`${styles.normalTxt} ${styles.section}`}>
Expand All @@ -55,7 +55,7 @@ export default function Interhacktive() {
</div>

<div className={styles.section}>
<SponsorSection sponsors={EVENTS.interhacktive0.sponsors}/>
<SponsorSection sponsors={event?.sponsors} />
</div>

<div className={styles.section}>
Expand All @@ -66,27 +66,16 @@ export default function Interhacktive() {
)
}

function DownloadBrochure() {
const DownloadBrochure = () => {
return (
<a
className={styles.downloadBrochure}
href="/downloads/interhacktive_brochure.pdf"
>
<a className={styles.downloadBrochure} href="/downloads/interhacktive_brochure.pdf">
Download Brochure
<ArrowDown />
</a>
)
}

function RegisterButton() {
return (
<div className={styles.registerBtn}>
<div>Register</div>
</div>
)
}

function SponsorSection({ sponsors }) {
const SponsorSection = ({ sponsors }) => {
return (
<div className={styles.sponsorListSection}>
<div className={styles.sponsorListHeading}>
Expand All @@ -102,7 +91,7 @@ function SponsorSection({ sponsors }) {



function Person({ name, dpUrl = '/static/assets/avatar.png', linkedIn }) {
const Person = ({ name, dpUrl = '/static/assets/avatar.png', linkedIn }) => {
return (
<div className={styles.person}>
<div className={styles.personDp}><img src={dpUrl} /></div>
Expand All @@ -119,7 +108,7 @@ function Person({ name, dpUrl = '/static/assets/avatar.png', linkedIn }) {
)
}

function PersonTable({ title, persons }) {
const PersonTable = ({ title, persons }) => {

const isMedScreen = useMediaQuery('(min-width: 768px)')
const [ceil, setCeil] = useState();
Expand Down Expand Up @@ -159,7 +148,7 @@ function PersonTable({ title, persons }) {
)
}

function PersonRow({ persons }) {
const PersonRow = ({ persons }) => {
return (
<tr className={styles.personTableRow}>
{
Expand All @@ -173,3 +162,6 @@ function PersonRow({ persons }) {
)
}



export default Interhacktive

2 comments on commit 5568080

@vercel
Copy link

@vercel vercel bot commented on 5568080 Aug 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 5568080 Aug 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sccseapi – ./backend

sccseapi-team-zetta.vercel.app
sccseapi.vercel.app
sccseapi-git-main-team-zetta.vercel.app

Please sign in to comment.