Skip to content

Commit

Permalink
Merge pull request #1590 from Nexmo/fix-code-format-and-api-widget
Browse files Browse the repository at this point in the history
FIX: fixed code format in blog page + updated statuspage API for home…
  • Loading branch information
marcoranieri authored Aug 31, 2022
2 parents 6010d4c + 5bb9412 commit ce966a4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/nexmo_developer/app/assets/stylesheets/blog/blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@
color: #374151;
margin: 1em 0;

strong {
display: inline-block;
margin: 1em 0;
code {
font-size: 1.4rem;
word-break: break-word;
}
}

Expand Down
2 changes: 2 additions & 0 deletions lib/nexmo_developer/app/views/blog/blogpost/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
<% content_for :header_img_url do %>
<%= @blogpost.header_img_url.strip %>
<% end %>
<% content_for :title do %>
<%= @blogpost.title.strip %>
<% end %>
<% content_for :description do %>
<%= @blogpost.description.truncate(150).strip %>
<% end %>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'whatwg-fetch'

export default () => {
fetch('https://xb8glk41jfrv.statuspage.io/api/v2/status.json')
fetch('https://k4cdqxp909c5.statuspage.io/api/v2/status.json')
.then((response) => response.json())
.then((payload) => {
var color;
Expand Down
2 changes: 1 addition & 1 deletion lib/nexmo_developer/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module NexmoDeveloper
VERSION = '0.5.5'.freeze
VERSION = '0.5.6'.freeze
end

0 comments on commit ce966a4

Please sign in to comment.