Skip to content

Commit

Permalink
New: Brand new React Rail logo!
Browse files Browse the repository at this point in the history
  • Loading branch information
JeeZeh committed Aug 4, 2020
1 parent 1a3ab7a commit 2713bb8
Show file tree
Hide file tree
Showing 17 changed files with 156 additions and 16 deletions.
2 changes: 1 addition & 1 deletion configs/webpack/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
],
},
{
test: /\.jpe?g$|\.ico$|\.gif$|\.png$|\.svg$|\.woff$|\.ttf$|\.wav$|\.mp3$|\.json$/,
test: /\.jpe?g$|\.ico$|\.gif$|\.png$|\.svg$|\.woff$|\.ttf$|\.wav$|\.mp3$|\.json$|\.xml$|\.png:Zone\.Identifier$/,
loader: "file-loader?name=[name].[ext]", // <-- retain original file name
},
],
Expand Down
Binary file added src/android-chrome-192x192.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 src/android-chrome-512x512.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 src/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/apple-touch-icon.png:Zone.Identifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=about:client
HostUrl=about:internet
Binary file added src/apple-touch.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 removed src/apple_touch.png
Binary file not shown.
9 changes: 9 additions & 0 deletions src/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#f1f1f1</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added src/favicon-16x16.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 src/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 modified src/favicon.ico
Binary file not shown.
Binary file removed src/favicon.png
Binary file not shown.
7 changes: 5 additions & 2 deletions src/index.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
/>
<meta name="theme-color" content="primary color" />
<title>React Rail</title>
<link rel="icon" href="favicon.ico" , type="image/x-icon" />
<link rel="apple-touch-icon" href="apple_touch.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#515151" />
<meta name="msapplication-TileColor" content="#f1f1f1" />
<link rel="manifest" href="manifest.json" />
<meta
name="description"
Expand Down
4 changes: 3 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from "react";
import { render } from "react-dom";
require("./favicon.ico");
require("./browserconfig.xml");
require("./apple-touch-icon.png:Zone.Identifier");
import App from "./components/App";
// import { polyfill as smoothScrollPolyfill } from "smoothscroll-polyfill";

Expand All @@ -24,6 +25,7 @@ if ("serviceWorker" in navigator) {
.register("/service-worker.js")
.then((registration) => {
console.log("SW registered: ", registration);
registration.update();
})
.catch((registrationError) => {
console.log("SW registration failed: ", registrationError);
Expand Down
19 changes: 7 additions & 12 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,18 @@
"description": "See the live timetable for any Irish Rail station, and the journey each train is on.",
"icons": [
{
"src": "./favicon.ico",
"type": "image/ico",
"sizes": "256x256"
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "./favicon.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "./apple_touch.png",
"type": "image/png",
"sizes": "192x192"
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": "/",
"display": "standalone",
"background_color": "#fafafa",
"background_color": "#f1f1f1",
"theme_color": "#515773"
}
Binary file added src/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
127 changes: 127 additions & 0 deletions src/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2713bb8

Please sign in to comment.