This commit is contained in:
0x8664b2
2022-08-23 13:00:54 -07:00
commit 808ff56abc
85 changed files with 1436 additions and 0 deletions

14
app/views/home/index.erb Normal file
View File

@@ -0,0 +1,14 @@
<%
first_days = (1..12).map do |index|
Date.new(@year, index, 1).beginning_of_month
end
%>
<div class="container mx-auto flex justify-between">
<% first_days.each do |first_day| %>
<div class="border-l w-full">
<%= render 'month', first_day: first_day, events: @events %>
</div>
<% end %>
</div>