Skip to content

Commit 64d5b26

Browse files
Added section titles to events page.
Added text classes for events.scss.
1 parent d79f563 commit 64d5b26

File tree

3 files changed

+24
-39
lines changed

3 files changed

+24
-39
lines changed

_pages/03_events.html

+14-37
Original file line numberDiff line numberDiff line change
@@ -22,48 +22,25 @@
2222
</picture>
2323
<div class="row container-fluid">
2424
<div class="col-sm-12">
25-
<h2 class="events-page__page-title">Events</h2>
26-
<h3 class="events-page__page-subtitle">See what's coming up and what we did recently.</h3>
25+
<h1 class="events-page__page-title">Events</h1>
26+
<h2 class="events-page__page-subtitle">See what's coming up and what we did recently.</h2>
2727
</div>
2828
</div>
2929
</div>
3030

31-
<!--Contact form-->
32-
<form class="contact__form container" method="POST" action="//formspree.io/[email protected]" role="form">
33-
<div class="row">
34-
<div class="col-md-6">
35-
<div class="form-group">
36-
<label class="contact__label" for="contact__form-name">Full Name *</label>
37-
<input id="contact__form-name" type="text" name="name" class="form-control" placeholder="Please enter your full name *" required="required" data-error="Full name is required.">
38-
<div class="help-block with-errors"></div>
39-
</div>
40-
</div>
41-
<div class="col-md-6">
42-
<div class="form-group">
43-
<label class="contact__label" for="contact__form-email">Email *</label>
44-
<input id="contact__form-email" type="email" name="email" class="form-control" placeholder="Please enter your email *" required="required" data-error="Valid email is required.">
45-
</div>
46-
</div>
31+
<div class="container">
32+
<div class="row">
33+
<div class="col-12">
34+
<h2 class="events-page__upcoming-title">Upcoming Events</h2>
4735
</div>
36+
</div>
37+
</div>
4838

49-
<div class="row">
50-
<div class="col-md-12">
51-
<div class="form-group">
52-
<label class="contact__label" for="contact__form-message">Message *</label>
53-
<textarea id="contact__form-message" name="message" class="form-control" placeholder="Message *" rows="4" required="required" data-error="Please,leave us a message."></textarea>
54-
<div class="help-block with-errors"></div>
55-
</div>
56-
</div>
57-
<div class="col-md-12 text-center">
58-
<input type="text" name="_gotcha" style="display: none">
59-
<input type="hidden" name="_subject" value="Message from Python Sprints">
60-
<button type="submit" class="contact__submit-button btn btn-success btn-send btn-lg">Send Message<span class="contact__icon"><i class="fas fa-envelope"></i></span></button>
61-
</div>
62-
</div>
63-
<div class="row">
64-
<div class="col-md-12">
65-
<p class="text-muted"><strong>*</strong> Required fields</p>
66-
</div>
39+
<div class="container">
40+
<div class="row">
41+
<div class="col-12">
42+
<h2 class="events-page__recent-title">Recent Events</h2>
6743
</div>
68-
</form>
44+
</div>
45+
</div>
6946
</section>

_pages/04_contact.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
</picture>
2323
<div class="row container-fluid">
2424
<div class="col-sm-12">
25-
<h2 class="contact__page-title">Contact Us</h2>
26-
<h3 class="contact__page-subtitle">Got an idea? Can you or your company support us? Let us know.</h3>
25+
<h1 class="contact__page-title">Contact Us</h1>
26+
<h2 class="contact__page-subtitle">Got an idea? Can you or your company support us? Let us know.</h2>
2727
</div>
2828
</div>
2929
</div>

_sass/events.scss

+8
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,12 @@
1212

1313
.events-page__page-subtitle {
1414
@extend .page-subtitle
15+
}
16+
17+
.events-page__upcoming-title {
18+
@extend .section-title;
19+
}
20+
21+
.events-page__recent-title {
22+
@extend .section-title;
1523
}

0 commit comments

Comments
 (0)