Skip to content

Commit c0587eb

Browse files
committed
Optimize images
1 parent 6427124 commit c0587eb

18 files changed

+15136
-33
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@
1919
"babel-preset-es2015": "^6.16.0",
2020
"babel-preset-stage-2": "^6.0.0",
2121
"css-loader": "^0.23.0",
22+
"css-skeleton": "^1.0.1",
2223
"file-loader": "^0.8.4",
2324
"fullpage.js": "^2.8.1",
2425
"function-bind": "^1.0.2",
2526
"http-proxy-middleware": "^0.12.0",
27+
"image-webpack-loader": "^3.0.0",
2628
"jquery": "^3.0.0",
2729
"json-loader": "^0.5.4",
2830
"ora": "^0.2.0",
29-
"skeleton-css": "^2.0.4",
3031
"webpack": "^1.12.2",
3132
"webpack-dev-middleware": "^1.4.0",
3233
"webpack-hot-middleware": "^2.6.0",

sources/assets/css/main.css

+16-7
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ a {
3333
right: 0;
3434
width: 149px;
3535
height: 149px;
36-
}
37-
.forkme img{
38-
width: 100%;
39-
height: 100%;
36+
background-image: url(../images/networks/forkme.png);
37+
background-size: 149px;
4038
}
4139

4240

@@ -79,13 +77,24 @@ a {
7977
}
8078

8179

82-
.meetup {
80+
.network-icon {
8381
width: 150px;
82+
background-size: 150px;
83+
display: inline-block;
84+
height: 150px;
85+
}
86+
87+
.meetup {
88+
background-image: url(../images/networks/meetup.png);
89+
height: 150px;
90+
display: inline-block;
91+
width: 200px;
92+
background-size: 200px;
8493
}
8594
.telegram {
86-
width: 150px;
8795
margin-left: 30px;
96+
background-image: url(../images/networks/telegram.png);
8897
}
8998
.google-plus {
90-
width: 150px;
99+
background-image: url(../images/networks/google-plus.png);
91100
}

sources/assets/js/jquery.fullPage.min.js

-9
This file was deleted.

sources/assets/js/main.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import $ from 'jquery'
22
import '../css/normalize.css'
3+
import 'css-skeleton'
34
import 'fullpage.js'
4-
//require('fullpage.js/jquery.fullPage.css');
5-
import 'skeleton-css'
5+
import 'fullpage.js/dist/jquery.fullPage.css'
6+
67
import '../css/main.css'
78

89
$(document).ready(function () {
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)