Skip to content
This repository was archived by the owner on Feb 29, 2020. It is now read-only.

Commit ab020cc

Browse files
committed
Update myMLH success page and replace mailing list with original buttons
1 parent 386a65f commit ab020cc

File tree

4 files changed

+11
-32
lines changed

4 files changed

+11
-32
lines changed

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ event:
127127
# This is the message you'll receive once you've registered.
128128
register:
129129
message: >
130+
Thanks for signing up!
131+
{::nomarkdown}<br />{:/}
130132
You'll receive more information closer to the hackathon.
131133
132134
# ----------------------------------------------------

_includes/hero.html

+4-27
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,15 @@ <h2 rel="description">{{ site.event.description }}</h2>
77
<h3 rel="location">{{ site.event.date }} &mdash; {{ site.event.location }}</h3>
88
</div>
99
</div>
10-
{% if site.full %}
11-
<div class="buttons">
12-
{% for link in site.event.hero.links %} {% if link.href %}
13-
<a href="{{ link.href }}">{{ link.text }}</a> {% elsif link.my_mlh %}
14-
<a class="apply" href="https://my.mlh.io/oauth/authorize?client_id={{ link.my_mlh.client_id }}&amp;redirect_uri={{ link.my_mlh.redirect_uri }}&amp;response_type=token">{{ link.text }}</a> {% endif %} {% endfor %}
15-
</div>
16-
{% else %}
1710
<div id="startchange" class="container about">
1811
<div class="col-xs-12 col-sm-10 col-sm-offset-1 text-center">
1912
{{ site.event.about.description | markdownify }}
2013
</div>
2114
</div>
15+
2216
<div class="buttons">
23-
<a href="#signupModal" data-toggle="modal">Sign-up</a>
24-
</div>
25-
<div id="signupModal" class="modal fade">
26-
<div class="modal-dialog">
27-
<div class="modal-content">
28-
<div class="modal-header">
29-
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
30-
<h4 class="modal-title">Mailing List Sign-up</h4>
31-
</div>
32-
<div class="modal-body">
33-
<div id="formio"></div>
34-
</div>
35-
</div>
36-
</div>
17+
{% for link in site.event.hero.links %} {% if link.href %}
18+
<a href="{{ link.href }}">{{ link.text }}</a> {% elsif link.my_mlh %}
19+
<a class="apply" href="https://my.mlh.io/oauth/authorize?client_id={{ link.my_mlh.client_id }}&amp;redirect_uri={{ link.my_mlh.redirect_uri }}&amp;response_type=token">{{ link.text }}</a> {% endif %} {% endfor %}
3720
</div>
38-
<script type="text/javascript">
39-
window.onload = function() {
40-
Formio.createForm(document.getElementById('formio'), 'https://qltqlotapygjtil.form.io/contact');
41-
};
42-
</script>
43-
{% endif %}
4421
</section>

_layouts/default.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
{% include head.html %}
44

5-
<body id="bootstrap-overrides"{% if page.custom_class %} class="{{ page.custom_class }}" {% endif %}>
5+
<body id="bootstrap-overrides" {% if page.custom_class %} class="{{ page.custom_class }}" {% endif %}>
66
<nav class="navbar navbar-default navbar-fixed-top">
77
<div class="container-fluid">
88
<div class="navbar-header">
@@ -36,6 +36,6 @@ <h3>&copy; 2018 <a href="{{ site.organiser.site }}">{{ site.organiser.name }}</a
3636
<script src="{{ '/js/jquery-1.11.3.js' | prepend: site.baseurl | prepend: site.url }}"></script>
3737

3838
{% if site.full %} {% include analytics/google_analytics.html ga_id=site.tracking.google_analytics %} {% endif %}
39-
</body>
39+
</body>
4040

4141
</html>

success.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44

55
<section class="about">
66
<div class="container text-center">
7-
<h1>{{ site.event.register.message }}</h1>
8-
7+
<h1>{{ site.event.register.message | markdownify }}</h1>
8+
99
<br />
1010
<hr />
1111
<br />
1212

1313
<p>By signing up for {{ site.event.name }} you agree to abide by the <a href="https://static.mlh.io/docs/mlh-code-of-conduct.pdf">Major League Hacking Code of Conduct</a>.</p>
1414
<br />
1515

16-
<p>We participate in Major League Hacking (MLH) as a MLH Member Event. You authorize us to share certain application/registration information for event administration, ranking, MLH administration, pre and post-event informational e-mails, and occasional messages about hackathons in line with the <a href="https://mlh.io/privacy">MLH Privacy Policy</a>.</p>
16+
<p>We participate in Major League Hacking (MLH) as a MLH Localhost Event. You authorize us to share certain application/registration information for event administration, ranking, MLH administration, pre and post-event informational e-mails, and occasional messages about hackathons in line with the <a href="https://mlh.io/privacy">MLH Privacy Policy</a>.</p>
1717

1818
<br />
1919
<p><a href="{{ '/' | prepend: site.baseurl | prepend: site.url }}">&rarr; Go back to homepage</a></p>

0 commit comments

Comments
 (0)