Skip to content

Commit f828c38

Browse files
committed
add the app
1 parent ac6691e commit f828c38

File tree

6 files changed

+66
-0
lines changed

6 files changed

+66
-0
lines changed

app/config/package.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "Netflix On Top",
3+
"main": "index.html",
4+
"version":"0.0.1",
5+
"window": {
6+
"width": 600,
7+
"height": 400,
8+
"position": "center",
9+
"toolbar": false,
10+
"title": "Netflix On Top",
11+
"always-on-top": true,
12+
"resizable": true
13+
},
14+
"webkit": {
15+
"plugin": true
16+
},
17+
"devDependencies": {
18+
19+
}
20+
}

app/jade/index.jade

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include partials/head
2+
iframe(nwfaketop="nwfaketop", src="http://netflix.com")

app/jade/partials/head.jade

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include mixins
2+
+h5()
3+
+style('app://local/app.css')
4+
+script('app://local/app.js')
5+

app/jade/partials/mixins.jade

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
mixin list(items)
2+
- each item in items
3+
li= item
4+
5+
mixin link(href, name)
6+
a(class=attributes.class, href=href)= name
7+
8+
mixin style(url)
9+
link(rel="stylesheet", href=url)
10+
11+
mixin script(url)
12+
script(async, src=url)
13+
14+
mixin h5()
15+
!!!
16+
meta(charset="utf-8")
17+
meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1")
18+

app/js/app.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// window.location = 'http://netflix.com';

app/sass/app.scss

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
html {
2+
background:#000;
3+
height:100%;
4+
overflow:hidden;
5+
width:100%;
6+
body {
7+
margin:0;
8+
padding:0;
9+
width:100%;
10+
height:100%;
11+
padding:0;
12+
}
13+
iframe {
14+
width:100%;
15+
height:100%;
16+
display:block;
17+
margin:0 auto;
18+
padding:0;
19+
}
20+
}

0 commit comments

Comments
 (0)