New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format the web manifest #198

Merged
merged 1 commit into from Oct 23, 2017
Jump to file or symbol
Failed to load files and symbols.
+19 −19
Diff settings

Always

Just for now

@@ -3,34 +3,34 @@ defmodule TilexWeb.WebManifestView do
def render("manifest.json", %{conn: conn, organization_name: organization_name}) do
%{
"short_name": "TIL - #{organization_name}",
"name": "Today I Learned - #{organization_name}",
"icons": [
short_name: "TIL - #{organization_name}",
name: "Today I Learned - #{organization_name}",
icons: [
%{
"src": "apple-touch-icon.png",
"type": "image/png",
"sizes": "100x100"
src: "apple-touch-icon.png",
type: "image/png",
sizes: "100x100"
},
%{
"src": "apple-touch-icon-120x120.png",
"type": "image/png",
"sizes": "120x120"
src: "apple-touch-icon-120x120.png",
type: "image/png",
sizes: "120x120"
},
%{
"src": static_path(conn, "/images/til-logo-144x144.png"),
"type": "image/png",
"sizes": "144x144"
src: static_path(conn, "/images/til-logo-144x144.png"),
type: "image/png",
sizes: "144x144"
},
%{
"src": static_path(conn, "/images/til-logo-512x512.png"),
"type": "image/png",
"sizes": "512x512"
src: static_path(conn, "/images/til-logo-512x512.png"),
type: "image/png",
sizes: "512x512"
}
],
"start_url": "/",
"background_color": "#d5e9f5",
"theme_color": "#d5e9f5",
"display": "standalone"
start_url: "/",
background_color: "#d5e9f5",
theme_color: "#d5e9f5",
display: "standalone"
}
end
end
ProTip! Use n and p to navigate between commits in a pull request.