Skip to content

Commit

Permalink
Schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
spikex committed Sep 28, 2023
1 parent afdf6e8 commit 0dfa294
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plugins/builders/helpers.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class Builders::Helpers < SiteBuilder
def build
helper :talk_from_slug do |slug|
@site.collections.talks.resources.detect {|talk| talk.data.slug == slug }
end
end
end
8 changes: 8 additions & 0 deletions src/_partials/_talk_link.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<% talk = talk_from_slug slug %>
<a
href="<%= talk.relative_url %>"
class="hover:text-primary font-semibold"
target="_blank"
>
<%= talk.data.title %> - <%= talk.data.speaker.name %>
</a>
109 changes: 109 additions & 0 deletions src/schedule.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
layout: page
title: Schedule
top_level: true
---
<h3 class="mb-8 text-2xl font-semibold md:text-[26px]">
Thursday, October 5th, 2023
</h3>
<table class="table-auto border-collapse border border-gray-400 text-dark mb-8">
<tbody>
<tr>
<td class="px-4 py-2 border border-gray-400">8:00 - 9:00</td>
<td class="px-4 py-2 border border-gray-400">Check-in / Breakfast (1h)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">9:00 - 10:00</td>
<td class="px-4 py-2 border border-gray-400">Welcome / <%= render 'talk_link', slug: 'a-blueprint-for-making-scary-choices' -%> (45m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">10:00 - 10:45</td>
<td class="px-4 py-2 border border-gray-400"><%= render 'talk_link', slug: 'accessible-by-default' -%> (45m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">10:45 - 11:15</td>
<td class="px-4 py-2 border border-gray-400">Break (30m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">11:15 - 12:00</td>
<td class="px-4 py-2 border border-gray-400"><%= render 'talk_link', slug: 'modularizing-rails-monoliths-one-bite-at-a-time' %> (45m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">12:00 - 2:00</td>
<td class="px-4 py-2 border border-gray-400">Lunch (2h)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">2:00 - 2:45</td>
<td class="px-4 py-2 border border-gray-400"><%= render 'talk_link', slug: 'go-pro-with-poros' %> (45m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">2:45 - 3:30</td>
<td class="px-4 py-2 border border-gray-400"><%= render 'talk_link', slug: 'let-s-extract-a-class-the-single-responsibility-principle-and-design-patterns' %> (45m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">3:30 - 4:00</td>
<td class="px-4 py-2 border border-gray-400">Break (30m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">4:00 - 5:00</td>
<td class="px-4 py-2 border border-gray-400"><%= render 'talk_link', slug: 'who-wants-to-be-a-ruby-engineer' %> / Closing (1h)</td>
</tr>
</tbody>
</table>

<h3 class="mb-8 text-2xl font-semibold md:text-[26px]">
Friday, October 6th, 2023
</h3>

<table class="table-auto border-collapse border border-gray-400">
<tbody>
<tr>
<td class="px-4 py-2 border border-gray-400">8:00 - 9:00</td>
<td class="px-4 py-2 border border-gray-400">Breakfast (1h)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">9:00 - 9:15</td>
<td class="px-4 py-2 border border-gray-400">Welcome (15m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">9:15 - 10:00</td>
<td class="px-4 py-2 border border-gray-400"><%= render 'talk_link', slug: 'caching-strategies-on-https-dev-to' %> (45m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">10:00 - 10:45</td>
<td class="px-4 py-2 border border-gray-400"><%= render 'talk_link', slug: 'a-return-to-simplicity-architect-hypermedia-rest-applications-using-hanami-htmx' %> (45m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">10:45 - 11:15</td>
<td class="px-4 py-2 border border-gray-400">Break (30m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">11:15 - 12:00</td>
<td class="px-4 py-2 border border-gray-400"><%= render 'talk_link', slug: 'licensing-and-distributing-a-paid-cli-with-ruby-rails-and-swiftui' %> (45m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">12:00 - 2:00</td>
<td class="px-4 py-2 border border-gray-400">Lunch (2h)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">2:00 - 2:45</td>
<td class="px-4 py-2 border border-gray-400">Lightning Talks (45m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">2:45 - 3:30</td>
<td class="px-4 py-2 border border-gray-400"><%= render 'talk_link', slug: 'turbo-frames-explored-for-fun-and-profit' %> (45m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">3:30 - 4:00</td>
<td class="px-4 py-2 border border-gray-400">Break (30m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">4:00 - 4:45</td>
<td class="px-4 py-2 border border-gray-400"><%= render 'talk_link', slug: 'the-pursuit-of-happiness' %> (45m)</td>
</tr>
<tr>
<td class="px-4 py-2 border border-gray-400">4:45 - 5:00</td>
<td class="px-4 py-2 border border-gray-400">Wrap Up (15m)</td>
</tr>
</tbody>
</table>

0 comments on commit 0dfa294

Please sign in to comment.