Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added source/images/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/favicon.ico
Binary file not shown.
35 changes: 14 additions & 21 deletions source/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/images/snappr_api.JPG
Binary file not shown.
Binary file added source/images/snappr_api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion source/index.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ search: true

The Snappr API is your universal API for commissioning and handling visual content.

<%= image_tag "images/snappr_api.JPG" %>
<%= image_tag "images/snappr_api.png" %>

For example, you can use the Snappr API for the following:

Expand Down
9 changes: 5 additions & 4 deletions source/layouts/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ under the License.
<link
href="https://fonts.googleapis.com/css?family=Nunito+Sans:400,400i,700&display=swap"
rel="stylesheet" />
<link rel="icon" type="image/png" sizes="192x192" href="//asset.snappr.co/image/favicon/android-icon-192x192.png" />
<link rel="icon" type="image/png" sizes="32x32" href="//asset.snappr.co/image/favicon/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="96x96" href="//asset.snappr.co/image/favicon/favicon-96x96.png" />
<link rel="icon" type="image/png" sizes="16x16" href="//asset.snappr.co/image/favicon/favicon-16x16.png" />
<link rel="icon" type="image/svg+xml" href="<%= image_path('favicon.svg') %>" />
<link rel="icon" type="image/png" sizes="32x32" href="<%= image_path('favicon-32x32.png') %>" />

<% if current_page.data.search %>
<%= javascript_include_tag "all" %>
Expand All @@ -62,6 +60,9 @@ under the License.
</a>
<div class="toc-wrapper">
<%= image_tag "logo.svg", class: 'logo' %>
<div class="logo-text">
The API for visual content
</div>
<% if language_tabs.any? %>
<div class="lang-selector">
<% language_tabs.each do |lang| %>
Expand Down
16 changes: 9 additions & 7 deletions source/stylesheets/screen.css.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@charset "utf-8";
@import 'normalize';
@import 'variables';
@import 'icon-font';
@import "normalize";
@import "variables";
@import "icon-font";
// @import 'rtl'; // uncomment to switch to RTL format

/*
Expand Down Expand Up @@ -77,11 +77,13 @@ body {
.logo {
display: block;
max-width: 80%;
margin-bottom: $logo-margin;
// Snappr...
padding: 10%;
}

.logo-text {
text-align: center;
}

& > .search {
position: relative;
// Snappr...
Expand Down Expand Up @@ -335,7 +337,7 @@ body {
}

&:after {
content: '';
content: "";
clear: both;
display: block;
}
Expand All @@ -354,7 +356,7 @@ body {
z-index: 30;

&:after {
content: '';
content: "";
display: block;
clear: both;
}
Expand Down