diff --git a/app/views/events/_event.html.erb b/app/views/events/_event.html.erb index 0c5217051..492b10d18 100644 --- a/app/views/events/_event.html.erb +++ b/app/views/events/_event.html.erb @@ -7,7 +7,7 @@ box-shadow: 5px 8px 0px #ccfff9; font-size: 17px; max-width: 700px; - font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; + font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; line-height: 145%; } @@ -22,6 +22,7 @@ border-radius: 3px; left: 1px; } + .event .event-details p { margin: 5px; } @@ -29,6 +30,7 @@ .event .event-description p { text-align: justify; } + .event .event-details h3 { margin: 0 0 .5em 0; font-weight: 800; @@ -42,43 +44,47 @@ margin: 0 0 20px; } } - .copyx{ + + .copyx { display: none !important; } - .addeventatc {visibility:hidden;} + + .addeventatc { + visibility: hidden; + }
-
+

<%= event.category %>: <%= event.title %>

Date: "> 
Time: ">  - - ">  + - "> 
Location: <%= event.location_name %>

- Add to Calendar - <%= event.starts_at %> - <%= event.ends_at %> - America/New_York - <%= event.title %> - The DEV Community - members@dev.to - dev-event - <%= event.location_url %> - 15 - + Add to Calendar + <%= event.starts_at %> + <%= event.ends_at %> + America/New_York + <%= event.title %> + The DEV Community + members@dev.to + dev-event + <%= event.location_url %> + 15 + <%= event.description_html.html_safe %> - ------ - Link to attend - <%= event.location_url%> + ------ + Link to attend - <%= event.location_url %> -
+
<%= event.description_html.html_safe %> @@ -86,9 +92,9 @@
\ No newline at end of file + diff --git a/app/views/events/_widget_events_item.html.erb b/app/views/events/_widget_events_item.html.erb index 17fcd92de..779416e2e 100644 --- a/app/views/events/_widget_events_item.html.erb +++ b/app/views/events/_widget_events_item.html.erb @@ -1,10 +1,9 @@
- + ">   - <%= event.title %> (<%= event.category %>) + <%= event.title %> (<%= event.category %>)

- diff --git a/app/views/events/index.html.erb b/app/views/events/index.html.erb index d17f8508f..4703a2794 100644 --- a/app/views/events/index.html.erb +++ b/app/views/events/index.html.erb @@ -1,6 +1,6 @@ <%= content_for :page_meta do %> <% title "DEV EVENTS" %> - + @@ -20,27 +20,31 @@ -
+
- + " style="height:200px;margin-top:30px;" />

UPCOMING
EVENTS

-

DEV Events is a series of ongoing talks and workshops designed to cover important topics to help community members level up. Because we have a global community we will be hosting events at varying times so nobody is restricted by time zone. Additionally, some workshops are repeated multiple times to further account for this.

-

We have many more planned if you do not see a topic that interests you. Email members@dev.to to request a topic. And if you're interested in speaking, please apply to our CFP.

+

DEV Events is a series of ongoing talks and workshops designed to cover important topics to help community members level up. Because we have a global community we will be hosting events at varying times so nobody is restricted by time zone. Additionally, + some workshops are repeated multiple times to further account for this.

+

We have many more planned if you do not see a topic that interests you. Email + members@dev.to to request a topic. And if you're interested in speaking, please + apply to our CFP.

- <% @events.each do |event|%> - <%= render 'event', event: event %> + <% @events.each do |event| %> + <%= render "event", event: event %> <% end %>

PAST
EVENTS

- <% @past_events.each do |event|%> - <%= render 'event', event: event %> + <% @past_events.each do |event| %> + <%= render "event", event: event %> <% end %>
+
diff --git a/app/views/events/show.html.erb b/app/views/events/show.html.erb index aedf2785e..4a3b61c76 100644 --- a/app/views/events/show.html.erb +++ b/app/views/events/show.html.erb @@ -1,6 +1,6 @@ <%= content_for :page_meta do %> <% title "#{@event.title} - DEV" %> - + @@ -12,13 +12,13 @@ <% else %> <% end %> - + - - + + <% if @event.cover_image.present? %> <% else %> @@ -35,6 +35,7 @@ box-shadow: none; margin-top: 0px; } + .container .body .event h3 { display: none; } @@ -47,12 +48,15 @@ .container .event .event-description { text-align: justify; } + .container .event .event-details { font-size: 1.3em; } + .addeventatc { border: solid 1px #66e2d5; } + .addeventatc:hover { border: 1px solid #557de8; } @@ -66,7 +70,8 @@

<%= @event.category %>: <%= @event.title %>

- <%= render 'event', event: @event %> -

All EVENTS

+ <%= render "event", event: @event %> +

+ All EVENTS