Skip to content

Commit

Permalink
reopen registration
Browse files Browse the repository at this point in the history
  • Loading branch information
jaismith committed Apr 16, 2021
1 parent ca7f045 commit 4057318
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions src/RegisterBody.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ class RegisterBody extends React.Component {
this.form = null;
}

// componentDidMount() {
// if (this.form) {
// typeformEmbed.makeWidget(this.form, this.props.bodyContent.typeformUrl, {
// hideFooter: true,
// hideHeaders: true,
// opacity: 0,
// });
// }
// }
componentDidMount() {
if (this.form) {
typeformEmbed.makeWidget(this.form, this.props.bodyContent.typeformUrl, {
hideFooter: true,
hideHeaders: true,
opacity: 0,
});
}
}

render() {
return (
<div>
<h1 className="registerSubTitle">{this.props.bodyContent.date}</h1>
<p className="registerDetails">{this.props.bodyContent.info}</p>
{/* <div ref={(form) => this.form = form} style={{width: '100%', height: isMobile ? '10em' : '20em', marginTop: '1em'}} /> */}
<div ref={(form) => this.form = form} style={{width: '100%', height: isMobile ? '10em' : '20em', marginTop: '1em'}} />
</div>
);
}
Expand Down
4 changes: 2 additions & 2 deletions src/data/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ const pages = [
event: 'HackDartmouth VIrtual',
date: 'April 16-18th, 2021',
// location: 'Virtual',
info: 'Registration is now closed for all applicants.',
// typeformUrl: 'https://hackdartmouth.typeform.com/to/LU7ubUtU',
info: 'Registration will close April 16th at 10 am EDT.',
typeformUrl: 'https://hackdartmouth.typeform.com/to/LU7ubUtU',
},
key: 'RegisterBody',
},
Expand Down

0 comments on commit 4057318

Please sign in to comment.