diff --git a/app/assets/stylesheets/pages/_show.scss b/app/assets/stylesheets/pages/_show.scss index 003817b..f9628c6 100644 --- a/app/assets/stylesheets/pages/_show.scss +++ b/app/assets/stylesheets/pages/_show.scss @@ -27,3 +27,11 @@ .opening-hours { padding-right: 76px; } + +.review-title { + padding-left: 118px; + padding-bottom: 30px; + font-size: 26px; + font-weight: 700; + color:#325288; +} diff --git a/app/views/childcares/show.html.erb b/app/views/childcares/show.html.erb index a4dc7d3..22a3a58 100644 --- a/app/views/childcares/show.html.erb +++ b/app/views/childcares/show.html.erb @@ -31,13 +31,13 @@
-

Google Reviews

+

Google Reviews for <%= @childcare.name %>

<% unless @childcare.reviews.empty? %> <% @childcare.reviews.each do |review| %> <%= render 'shared/childcare_reviews', review: review %> <% end %> <% else %> -

NO GOOGLE REVIEWS

+

NO GOOGLE REVIEWS

<% end %>
diff --git a/app/views/shared/_childcare_reviews.html.erb b/app/views/shared/_childcare_reviews.html.erb index d73259c..63ae923 100644 --- a/app/views/shared/_childcare_reviews.html.erb +++ b/app/views/shared/_childcare_reviews.html.erb @@ -1,7 +1,7 @@
- -
-

<%= review.description %>

-
+ +
+

<%= review.description %>

+
diff --git a/app/views/shared/_navbar.html.erb b/app/views/shared/_navbar.html.erb index ffacc42..3134e3e 100644 --- a/app/views/shared/_navbar.html.erb +++ b/app/views/shared/_navbar.html.erb @@ -16,6 +16,9 @@ + <% if user_signed_in? %>