Skip to content

Commit fc315fb

Browse files
committed
Added favicons to fix #4, plus icon per #2
1 parent 70cd947 commit fc315fb

19 files changed

+84
-8
lines changed

harp.json

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,19 @@
33
"title": "Watchlist",
44
"githubURL": "https://github.com/pschfr/watchlist",
55
"movies": {
6+
"Eight Crazy Nights": { "watched": true },
7+
"The Mist": { "watched": false },
8+
"Weird Science": { "watched": false },
9+
"The Hunchback of Notre Dame": { "watched": true },
10+
"All Dogs Go to Heaven": { "watched": false },
11+
"All Dogs Go to Heaven 2": { "watched": false },
12+
"The Prince of Egypt": { "watched": true },
613
"The Hills Have Eyes": { "watched": false },
14+
"The Hills Have Eyes II": { "watched": false },
715
"EuroTrip": { "watched": true },
8-
"The Purge: Anarchy": { "watched": false },
16+
"The Purge": { "watched": true },
17+
"The Purge: Anarchy": { "watched": true },
18+
"The Purge: Election Year": { "watched": true },
919
"The Visit": { "watched": false },
1020
"Edward Scissorhands": { "watched": false },
1121
"Miss Peregrine's Home for Peculiar Children": { "watched": false },
@@ -14,19 +24,35 @@
1424
"Logan": { "watched": false },
1525
"Get Out": { "watched": true },
1626
"Beauty and the Beast": { "watched": false },
17-
"The Animatrix": { "watched": true },
1827
"The Matrix": { "watched": false },
19-
"Oliver and Company": { "watched": true },
28+
"The Matrix Reloaded": { "watched": false },
29+
"The Matrix Revolutions": { "watched": false },
30+
"The Animatrix": { "watched": false },
31+
"Oliver and Company": { "watched": false },
2032
"Dreamgirls": { "watched": false },
2133
"The Five Heartbeats": { "watched": false },
2234
"Blade": { "watched": true },
35+
"Blade II": { "watched": false },
36+
"Blade Trinity": { "watched": false },
2337
"Cats Don't Dance": { "watched": true },
2438
"The Boy in the Striped Pajamas": { "watched": false },
2539
"The Lovely Bones": { "watched": false },
2640
"Corpse Bride": { "watched": false },
2741
"Child's Play": { "watched": true },
42+
"Child's Play 2": { "watched": true },
43+
"Child's Play 3": { "watched": true },
44+
"Bride of Chucky": { "watched": true },
45+
"Seed of Chucky": { "watched": true },
46+
"Curse of Chucky": { "watched": false },
2847
"James and the Giant Peach": { "watched": true },
2948
"Saw": { "watched": true },
49+
"Saw II": { "watched": true },
50+
"Saw III": { "watched": true },
51+
"Saw IV": { "watched": true },
52+
"Saw V": { "watched": true },
53+
"Saw VI": { "watched": false },
54+
"Saw 3D": { "watched": false },
55+
"Jigsaw": { "watched": false },
3056
"Problem Child": { "watched": false },
3157
"Earth Girls are Easy": { "watched": false },
3258
"Drop Dead Fred": { "watched": false },
@@ -51,6 +77,7 @@
5177
"Harold and Kumar Go to White Castle": { "watched": true },
5278
"I, Robot": { "watched": true },
5379
"Scary Movie": { "watched": true },
80+
"Hostel": { "watched": true },
5481
"Hostel II": { "watched": true },
5582
"50 First Dates": { "watched": true },
5683
"Dawn of the Dead": { "watched": true },
@@ -60,7 +87,14 @@
6087
"Mean Girls": { "watched": true },
6188
"Accepted": { "watched": true },
6289
"Chappie": { "watched": true },
63-
"The Invention of Lying": { "watched": true }
90+
"The Invention of Lying": { "watched": true },
91+
"Sausage Party": { "watched": true },
92+
"Don't Breathe": { "watched": true },
93+
"South Park: Bigger, Longer & Uncut": { "watched": true },
94+
"The Internship": { "watched": true },
95+
"Jeepers Creepers": { "watched": true },
96+
"American Psycho": { "watched": true },
97+
"Grandma's Boy": { "watched": true }
6498
}
6599
}
66100
}

public/_layout.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ html(lang="en")
44
meta(charset="utf-8")
55
meta(http-equiv="X-UA-Compatible" content="IE=edge")
66
meta(name="viewport" content="width=device-width, initial-scale=1")
7-
meta(name="theme-color" content="#222")
8-
title #{title}
7+
!= partial("_partials/_favicons")
8+
title= title
99
link(rel="stylesheet" href=(environment == "production" ? "/watchlist/main.css" : "/main.css"))
1010
body
1111
!= partial("_partials/_header")

public/_partials/_favicons.jade

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
link(rel="apple-touch-icon" sizes="180x180" href="favicons/apple-touch-icon.png")
2+
link(rel="icon" type="image/png" sizes="32x32" href="favicons/favicon-32x32.png")
3+
link(rel="icon" type="image/png" sizes="16x16" href="favicons/favicon-16x16.png")
4+
link(rel="manifest" href="favicons/manifest.json")
5+
link(rel="mask-icon" href="favicons/safari-pinned-tab.svg" color="#222222")
6+
link(rel="shortcut icon" href="favicons/favicon.ico")
7+
meta(name="apple-mobile-web-app-title" content=title)
8+
meta(name="application-name" content=title)
9+
meta(name="msapplication-config" content="favicons/browserconfig.xml")
10+
meta(name="theme-color" content="#222222")

public/_partials/_header.jade

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@ nav.navbar.navbar-inverse.navbar-fixed-top
22
.container-fluid
33
.row
44
.col-xs-12
5-
h1 #{title}
5+
h1= title
66
span.pull-right
7+
a(href="https://github.com/pschfr/watchlist/issues/2" title="Add Movie" target="_blank" tabindex="-1")
8+
img(src=(environment == 'production' ? '/watchlist/svg/plus.svg' : 'svg/plus.svg'))
9+
|
710
a(href="https://www.themoviedb.org/" title="Data provided by The Movie Database" target="_blank" tabindex="-1")
811
img(src=(environment == 'production' ? '/watchlist/svg/tmdb.svg' : 'svg/tmdb.svg'))
912
|
10-
a(href="#{githubURL}" title="View the source on GitHub" target="_blank" tabindex="-1")
13+
a(href=githubURL title="View the source on GitHub" target="_blank" tabindex="-1")
1114
img(src=(environment == 'production' ? '/watchlist/svg/github.svg' : 'svg/github.svg'))
1.45 KB
Loading
3.53 KB
Loading

public/favicons/apple-touch-icon.png

1.19 KB
Loading

public/favicons/browserconfig.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<browserconfig>
3+
<msapplication>
4+
<tile>
5+
<square150x150logo src="favicons/mstile-150x150.png"/>
6+
<TileColor>#222222</TileColor>
7+
</tile>
8+
</msapplication>
9+
</browserconfig>

public/favicons/favicon-16x16.png

378 Bytes
Loading

public/favicons/favicon-32x32.png

470 Bytes
Loading

public/favicons/favicon.ico

14.7 KB
Binary file not shown.

public/favicons/manifest.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "Watchlist",
3+
"icons": [
4+
{
5+
"src": "favicons/android-chrome-192x192.png",
6+
"sizes": "192x192",
7+
"type": "image/png"
8+
},
9+
{
10+
"src": "favicons/android-chrome-512x512.png",
11+
"sizes": "512x512",
12+
"type": "image/png"
13+
}
14+
],
15+
"theme_color": "#222222",
16+
"background_color": "#222222",
17+
"display": "standalone"
18+
}

public/favicons/mstile-144x144.png

1.13 KB
Loading

public/favicons/mstile-150x150.png

1.02 KB
Loading

public/favicons/mstile-310x150.png

1.03 KB
Loading

public/favicons/mstile-310x310.png

1.97 KB
Loading

public/favicons/mstile-70x70.png

832 Bytes
Loading

public/favicons/safari-pinned-tab.svg

Lines changed: 1 addition & 0 deletions
Loading

public/svg/plus.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)