File tree 5 files changed +26
-7
lines changed
modules/Application/resources/views/index
5 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 8
8
9
9
<!-- CSS Stuff -->
10
10
<link href="<?= $ view ['assets ' ]->getUrl ('components/bootstrap/dist/css/bootstrap.min.css ' );?> " rel="stylesheet">
11
+ <link href="<?= $ view ['assets ' ]->getUrl ('components/fontawesome/css/font-awesome.css ' );?> " rel="stylesheet">
11
12
<link href="<?= $ view ['assets ' ]->getUrl ('css/main.css ' );?> " rel="stylesheet">
12
13
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600" rel="stylesheet" type="text/css">
13
14
<?php $ view ['slots ' ]->output ('include_css ' ); ?>
31
32
</div>
32
33
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
33
34
<script>window.jQuery || document.write('<script src="<?= $ view ['assets ' ]->getUrl ('components/jquery/dist/jquery.min.js ' );?> "><\/script>')</script>
35
+ <script src="<?= $ view ['assets ' ]->getUrl ('components/jquery-ui/jquery-ui.js ' );?> "></script>
34
36
<script src="<?= $ view ['assets ' ]->getUrl ('components/bootstrap/dist/js/bootstrap.min.js ' );?> "></script>
35
37
<?php $ view ['slots ' ]->output ('include_js_body ' ); ?>
36
38
</body>
Original file line number Diff line number Diff line change 2
2
"name" : " ppi/skeletonapp" ,
3
3
"dependencies" : {
4
4
"bootstrap" : " 3.3.2" ,
5
- "modernizr" : " 2.8.3"
5
+ "modernizr" : " 2.8.3" ,
6
+ "fontawesome" : " 4.3.0" ,
7
+ "jquery-ui" : " 1.11.4"
6
8
},
7
9
"private" : true
8
10
}
Original file line number Diff line number Diff line change 1
1
<?php $ view ->extend ('::base.html.php ' ); ?>
2
2
3
+ <?php $ view ['slots ' ]->start ('include_js_body ' ); ?>
4
+ <script src="<?= $ view ['assets ' ]->getUrl ('js/home.js ' );?> "></script>
5
+ <?php $ view ['slots ' ]->stop (); ?>
6
+
3
7
<div id="landing">
4
8
<div class="landing-wrapper">
5
9
<img src="<?= $ view ['assets ' ]->getUrl ('modules/framework/images/ppi-logo-white.png ' ); ?> " />
6
10
<div class="buttons">
7
11
<a href="http://ppi.readthedocs.org/en/2.1/" target="_blank">Read the Docs</a><!--
8
- --><a href="https://github.com/ppi/framework" target="_blank">Discover on GitHub</a>
12
+ --><a href="https://github.com/ppi/framework" target="_blank">Discover on GitHub</a><!--
13
+ --><a class="find-out-more" href="#landing-two">Find out More <i class="fa fa-fw fa-caret-down"></i></a>
9
14
</div>
10
15
</div>
11
16
</div>
Original file line number Diff line number Diff line change 49
49
border : 1px solid # 303030 ;
50
50
outline : none;
51
51
}
52
+ # landing .landing-wrapper .buttons a {
53
+ margin-left : 5px ;
54
+ }
52
55
# landing .landing-wrapper .buttons a : first-child {
53
- margin-right : 5px ;
56
+ margin-left : 0 ;
57
+ }
58
+ # landing .landing-wrapper .buttons a : last-child {
59
+ background : # 202020 ;
60
+ border-color : # 161616 ;
54
61
}
55
62
56
63
.list-container {
Original file line number Diff line number Diff line change 1
- jQuery ( document ) . ready ( function ( $ ) {
2
-
3
- $ ( '.flashes .alert' ) . alert ( ) ;
4
-
1
+ $ ( document ) . ready ( function ( $ ) {
2
+ $ ( '.find-out-more' ) . on ( 'click' , function ( event ) {
3
+ event . preventDefault ( ) ;
4
+ $ ( 'html, body' ) . animate ( {
5
+ scrollTop : $ ( '#landing-two' ) . position ( ) . top
6
+ } , 1500 , 'easeInOutCubic' ) ;
7
+ } ) ;
5
8
} ) ;
You can’t perform that action at this time.
0 commit comments