diff --git a/app/assets/stylesheets/index.css.scss b/app/assets/stylesheets/index.css.scss index 019b2a97..338a87b3 100644 --- a/app/assets/stylesheets/index.css.scss +++ b/app/assets/stylesheets/index.css.scss @@ -18,7 +18,7 @@ body[data-controller="home"][data-action="index"] { @include background-image(linear-gradient(bottom top, lighten(#8e4487, 10%), lighten(#653060, 10%))); } - margin-left: 75px; + margin-left: 20px; .fi-social-github { font-size: 1.8em; diff --git a/app/views/events/index.html.erb b/app/views/events/index.html.erb index 2db8eccb..cfeced42 100644 --- a/app/views/events/index.html.erb +++ b/app/views/events/index.html.erb @@ -1,37 +1,37 @@
-
-

Events

- - <% if @upcoming_events.present? %> -

Join us online or in-person at these upcoming events to build open source and change the world:

- -
- <% @upcoming_events.each do |event| %> -
-
<%= link_to event.name + " - " + event.start_date.strftime("%B %d, %Y"), event_path(event) %>
-
- - <% end %> - - <% if @past_events.present? %> -

Past Events

- - <% @past_events.each do |event| %> -
-
<%= link_to event.name + " - " + event.start_date.strftime("%B %d, %Y"), event_path(event) %>
-
- - <% end %> - <% end %> -
- <% else %> -

Oops! We can't seem to find any events. <%= link_to "Jump into a project", projects_path %>, or <%= link_to "reach out to an organization", organizations_path %> directly.

- <% end %> -
-
- - <% if current_user && @current_event && !current_user.events.include?(@current_event) %> - <%= render "check_in_prompt" %> - <% end %> +
+

Events

+ + <% if @upcoming_events.present? %> +

Join us online or in-person at these upcoming events to build open source and change the world:

+ +
+ <% @upcoming_events.each do |event| %> +
+
<%= link_to event.name + " - " + event.start_date.strftime("%B %d, %Y"), event_path(event) %>
+
+ + <% end %> + + <% if @past_events.present? %> +

Past Events

+ + <% @past_events.each do |event| %> +
+
<%= link_to event.name + " - " + event.start_date.strftime("%B %d, %Y"), event_path(event) %>
+
+ + <% end %> + <% end %> + + <% else %> +

Oops! We can't seem to find any events. <%= link_to "Jump into a project", projects_path %>, or <%= link_to "reach out to an organization", organizations_path %> directly.

+ <% end %> +
+
+ +<% if current_user && @current_event && !current_user.events.include?(@current_event) %> +<%= render "check_in_prompt" %> +<% end %> diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 863c6f7a..9c718cc9 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -30,7 +30,7 @@

We believe <%= link_to 'coders can be superheroes', "http://devslovebacon.com/conferences/bacon-2013/talks/developers-are-superheroes-and-so-can-you" %>.
Join us to find open source, social impact projects that improve the world.

-
+
<% if user_signed_in? %> <%= link_to '  Start Coding Now'.html_safe, projects_path, :class => "large radius index button centered home-signup" %> <% else %>