Skip to content

Commit 7e8cb16

Browse files
committed
pre-install animate.css and wow.js
1 parent ddf7493 commit 7e8cb16

File tree

7 files changed

+33
-10
lines changed

7 files changed

+33
-10
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# CHANGELOG
22

3-
## HEAD (0.14.10) | 04.08.2017
3+
## 1.0.0 | 14.08.2017 | «Fully-Grown»
4+
* pre-install animate.css and wow.js
45
* add debug to dump'n die function
56
* add hierarchy to css-variables
67
* udpate npm-packages (please update gulp and node + rebuild packages)

assets/scripts/main.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* All sorts javascript/jQuery functions go here
33
*
44
* @author Flurin Dürst
5-
* @version 3.2
5+
* @version 3.3.0
66
* @since WPSeed 0.12
77
*
88
*/
@@ -23,3 +23,10 @@ $(function(){
2323
$('html').toggleClass('noscroll');
2424
});
2525
});
26+
27+
/* WOW
28+
/------------------------*/
29+
// http://mynameismatthieu.com/WOW/
30+
$(function(){
31+
new WOW().init();
32+
});

assets/styles/content.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Contains all content related styles
44
*
55
* @author Flurin Dürst
6-
* @version 1.8.0
6+
* @version 1.9.0
77
* @since WPSeed 0.1
88
*
99
*/
@@ -38,6 +38,11 @@
3838
margin-top: 4rem;
3939
}
4040

41+
.wow {
42+
visibility: hidden;
43+
}
44+
45+
4146
/* TOP
4247
/===================================================== */
4348

assets/styles/main.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* included external sources: Bower, Normalize
55
*
66
* @author Flurin Dürst
7-
* @version 1.3.0
7+
* @version 1.4.0
88
* @since WPSeed 0.1
99
*
1010
*/
@@ -17,10 +17,15 @@
1717
@import 'vars';
1818
@import 'essentials';
1919

20-
/* STYLES
20+
/* VENDORS
2121
/===================================================== */
22-
// bower:scss
22+
// https://jonsuh.com/hamburgers/
2323
@import "../../bower_components/css-hamburgers/_sass/hamburgers/hamburgers.scss";
24+
// https://daneden.github.io/animate.css/
25+
@import "../../bower_components/animate.css/animate.min.css";
26+
27+
/* SITE STYLES
28+
/===================================================== */
2429
// endbower
2530
@import 'general';
2631
@import 'content';

bower.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wpseed",
3-
"version": "1.0.0",
3+
"version": "1.2.0",
44
"authors": [
55
"Flurin Dürst <flurin@flurinduerst.ch>"
66
],
@@ -14,6 +14,8 @@
1414
],
1515
"dependencies": {
1616
"normalize-css": "~4",
17-
"css-hamburgers": "~0.5.0"
17+
"css-hamburgers": "~0.5.0",
18+
"animate.css": "^3.5.2",
19+
"wow": "wowjs#^1.1.2"
1820
}
1921
}

functions/functions-wpsetup.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* menus, theme-support settings, general settings and a wp_head cleaner
55
*
66
* @author Flurin Dürst
7-
* @version 1.6.2
7+
* @version 1.7.0
88
* @since WPSeed 0.1.6
99
*
1010
*/
@@ -26,6 +26,9 @@ function wpseed_enqueue_scripts_and_styles() {
2626
# main.js
2727
wp_register_script('wpseed/scripts', get_template_directory_uri() . '/dist/script.min.js', false, array( 'jquery' ), true);
2828
wp_enqueue_script('wpseed/scripts');
29+
# wow.js
30+
wp_register_script('wowjs', get_template_directory_uri() . '/bower_components/wow/dist/wow.min.js', false, array( 'wowjs' ), true);
31+
wp_enqueue_script('wowjs');
2932
# main.css
3033
wp_enqueue_style('wpseed/styles', get_template_directory_uri() . '/dist/style.min.css', false, null);
3134
# fonts

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Theme Name: WPSeed
33
Author: Flurin Dürst
44
Description: WordPress Starter Theme
5-
Version: 0.14.10
5+
Version: 1.0.0
66
License: MIT Public License
77
License URI: https://github.com/flurinduerst/WPSeed/blob/master/LICENSE
88
Tags: This theme is licensed under the MIT Public License.

0 commit comments

Comments
 (0)