Skip to content

Commit

Permalink
Merge pull request #336 from madetech/update-tech-calendar
Browse files Browse the repository at this point in the history
Make tech calendar and clean code pages data driven
  • Loading branch information
benn-mt authored Aug 6, 2024
2 parents 0f9c0d4 + fdb3840 commit 5a46ce1
Show file tree
Hide file tree
Showing 5 changed files with 127 additions and 96 deletions.
68 changes: 68 additions & 0 deletions _data/tech-courses.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
- type: clean-code
title: Clean Code
booking-page: cleancode.html
bookable: true
summary: |-
A bootcamp covering programming concepts, lots of discussion and practical exercises.
Suitable for all Engineering levels.
dates:
- title: Clean Code
location: Bristol
available: false
subtitle: Days 1 to 3
date: Upcoming
description: |-
Days 1 to 3. Covers programming concepts, pairing and TDD.
Suitable for all Engineering levels. This course is *in-person* only.
button-url: '#'

- title: Clean Code
location: London
available: false
subtitle: Days 1 to 3
date: Upcoming
description: |-
Days 1 to 3. Covers programming concepts, pairing and TDD.
Suitable for all Engineering levels. This course is *in-person* only.
button-url: '#'

- title: Clean Code
location: Manchester
available: false
subtitle: Days 1 to 3
date: Upcoming
description: |-
Days 1 to 3. Covers programming concepts, pairing and TDD.
Suitable for all Engineering levels. This course is *in-person* only.
button-url: '#'

- title: Clean Code - Remote
location: Remote
available: true
subtitle: Days 1 to 3
date: Wednesday 17th July - Friday 19th July
description: |-
Days 1 to 3. Covers programming concepts, pairing and TDD.
Suitable for all Engineering levels.
This course is being offered as a *remote* option and we will attempt to prioritise those who are unable to attend in-person sessions at an office.
button-url: 'https://forms.gle/inX5HHgWYkPjTsUS7'

- type: consulting101
title: What is Consulting and how should I do it at Made Tech?
booking-page: ''
bookable: false
summary: |-
A one day bootcamp covering the consulting market, how Made Tech fits into that market, how to approach account strategy & influence your client, as well as dealing with difficult scenarios.
Suitable for all billable roles. This course is *in-person* only.
dates: []

- type: tdd
title: Recapping TDD and Testing Along the Spectrum
booking-page: 'testing.html'
bookable: false
summary: |-
A 1.5 day bootcamp aimed to build confidence in TDD, use different tools across different areas of testing, and how to bug fix through testing.
Suitable for all levels.
*Please note: Part 1 will be online, Parts 2 and 3 will be in person. You need to be able to attend all three parts.*
dates: []
14 changes: 14 additions & 0 deletions _includes/tech_course_listing.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="row">
<div class="col-sm">
<div class="card-body card-border">
<h3 class="card-title mt-0">{{ include.course.location }}</h3>
<h4 class="card-title mt-0">{{ include.course.date }}</h4>
<div class="card-text">
{{ include.course.description | markdownify }}
</div>
{% if include.course.available %}
<a href="{{ include.course.url }}" class="btn btn-success">Register</a>
{% endif %}
</div>
</div>
</div>
17 changes: 17 additions & 0 deletions _includes/tech_course_summary.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div class="col-sm">
<div class="card-body card-border">
<h3 class="card-title mt-0">{{ include.course.title }}</h3>
<p class="card-text">
{{ include.course.summary }}
<p>
{% for date in include.course.dates %}
<strong>{{ date.location }} - {{ date.subtitle }} - {{ date.date }}</strong><br />
{% endfor %}
</p>
</p>
<a
href="{{ include.course.booking-page }}"
class="btn btn-success"
>More information & Register</a>
</div>
</div>
74 changes: 20 additions & 54 deletions technology/calendar/cleancode.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,81 +4,47 @@
---

{% capture title %}
Training Opportunities
Training Opportunities - Clean Code
{% endcapture %}

{% capture text %}
A list of upcoming training sessions and courses being run for Made Tech employees.
{% endcapture %}

{% include digital_element_header.html title=title text=text %}

{% capture content %}
{% for course in site.data.tech-courses %}
{% if course.type == 'clean-code' %}

<div class="row">
<div class="container col-md-10 text-center">
<h2>Clean Code</h2>
<h2>{{ course.title }}</h2>
<p class="lead">
This workshop is a chance to learn and discuss what we consider to be "Clean Code" at Made Tech, learn some coding principles, as well as practice some TDD & Pairing.
This workshop is a chance to learn and discuss what we consider to be "Clean Code" at Made Tech, learn some coding
principles, as well as practice some TDD & Pairing.
</p>
<p>
This is suitable for <em>any</em> level of Engineer at Made Tech, and will involve lots of discussion, pairing and coding.
This is suitable for <em>any</em> level of Engineer at Made Tech, and will involve lots of discussion, pairing and
coding.
</p>
<p>
Please bear in mind that the workshop has been designed to be an <em>in-person</em> experience, although we run a remote version of this course we will prioritise those who are <em>unable</em> to attend in-person sessions at an office.
Please bear in mind that the workshop has been designed to be an <em>in-person</em> experience, although we run a
remote version of this course we will prioritise those who are <em>unable</em> to attend in-person sessions at an
office.
</p>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card-body card-border">
<h3 class="card-title mt-0">Bristol</h3>
<h4 class="card-title mt-0">Upcoming</h4>
<p class="card-text">
Days 1 to 3. Covers programming concepts, pairing and TDD. Suitable for all Engineering levels. This course is <em>in-person</em> only.
</p>
<!-- <a href="#" class="btn btn-success">Register</a> -->
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card-body card-border">
<h3 class="card-title mt-0">London</h3>
<h4 class="card-title mt-0">Upcoming</h4>
<p class="card-text">
Days 1 to 3. Covers programming concepts, pairing and TDD. Suitable for all Engineering levels. This course is <em>in-person</em> only.
</p>
<!-- <a href="#" class="btn btn-success">Register</a> -->
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card-body card-border">
<h3 class="card-title mt-0">Manchester</h3>
<h4 class="card-title mt-0">Upcoming</h4>
<p class="card-text">
Days 1 to 3. Covers programming concepts, pairing and TDD. Suitable for all Engineering levels. This course is <em>in-person</em> only.
</p>
<!-- <a href="#" class="btn btn-success">Register</a> -->
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<div class="card-body card-border">
<h3 class="card-title mt-0">Remote</h3>
<h4 class="card-title mt-0">Wednesday 17th July - Friday 19th July</h4>
<p class="card-text">
Days 1 to 3. Covers programming concepts, pairing and TDD. Suitable for all Engineering levels. This course is being offered as a <em>remote</em> option and we will attempt to prioritise those who are unable to attend in-person sessions at an office.
</p>
<a href="https://forms.gle/inX5HHgWYkPjTsUS7" class="btn btn-success">Register</a>
</div>
</div>
</div>

{% for date in course.dates %}

{% include tech_course_listing.html course=date %}

{% endfor %}

{% endif %}
{% endfor %}

{% endcapture %}

{% include digital_element_container.html content=content %}
{% include digital_element_container.html content=content %}
50 changes: 8 additions & 42 deletions technology/calendar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,56 +12,22 @@
{% endcapture %}

{% include digital_element_header.html title=title text=text %}

{% capture content %}

<div class="row">
<div class="col-sm">
<div class="card-body card-border">
<h3 class="card-title mt-0">Clean Code</h3>
<p class="card-text">
A bootcamp covering programming concepts, lots of discussion and practical exercises. Suitable for all Engineering levels.
<p>
<strong>Bristol - Days 1 to 3 - Tuesday 30th April - 2nd May</strong><br />
<strong>Remote - Day 1 - Monday 13th May</strong>
</p>
</p>
<a href="cleancode.html" class="btn btn-success">More information & Register</a>
</div>
</div>
<!--<div class="col-sm">
<div class="card-body card-border">
<h3 class="card-title mt-0">What is Consulting and how should I do it at Made Tech?</h3>
<p class="card-text">
A one day bootcamp covering the consulting market, how Made Tech fits into that market, how to approach account strategy &amp; influence your client, as well as dealing with difficult scenarios. Suitable for all billable roles. This course is <em>in-person</em> only.
</p>
<p>
<strong>Bristol - Tuesday 31st October</strong>
<strong>Manchester - Tuesday 14th November</strong>
<strong>London - Monday 11th December</strong>
</p>
<a href="https://forms.gle/UKy1xuJgQ8bKwAqr6" class="btn btn-success">Register</a>
</div>
</div>-->
<!--<div class="col-sm">
<div class="card-body card-border">
<h3 class="card-title mt-0">Recapping TDD and Testing Along the Spectrum</h3>
<p class="card-text">
A 1.5 day bootcamp aimed to build confidence in TDD, use different tools across different areas of testing, and how to bug fix through testing.
Suitable for all levels.
<em>Please note: Part 1 will be online, Parts 2 and 3 will be in person. You need to be able to attend all three parts.</em>
</p>
<p>
<strong>London - Tuesday PM 24th October &amp; Wednesday 25th October</strong>
</p>
<a href="testing.html" class="btn btn-success">More information & Register</a>
</div>
</div>-->

{% for course in site.data.tech-courses %}
{% if course.bookable %}
{% include tech_course_summary.html course=course %}
{% endif %}
{% endfor %}

</div>
<div class="row">
</div>



{% endcapture %}

{% include digital_element_container.html content=content %}

0 comments on commit 5a46ce1

Please sign in to comment.