Skip to content

Commit

Permalink
Home page updated and favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
renatopp committed Oct 12, 2015
1 parent a56ad6b commit d379e7c
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 42 deletions.
16 changes: 15 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ var app_js = [
var app_less = [
'src/assets/less/index.less',
];
var app_imgs = [
'src/assets/imgs/**/*',
];
var app_html = [
'src/app/**/*.html',
];
Expand Down Expand Up @@ -135,6 +138,11 @@ gulp.task('_app_less', function() {
.pipe(connect.reload())
});

gulp.task('_app_imgs', function() {
return gulp.src(app_imgs)
.pipe(gulp.dest('build/imgs'))
});

gulp.task('_app_html', function() {
return gulp.src(app_html)
.pipe(minifyHTML({empty:true}))
Expand All @@ -154,7 +162,13 @@ gulp.task('_app_entry', function() {
.pipe(connect.reload())
});

gulp.task('_app', ['_app_js', '_app_less', '_app_html', '_app_entry']);
gulp.task('_app', [
'_app_js',
'_app_less',
'_app_imgs',
'_app_html',
'_app_entry'
]);


// TASKS (LIVE RELOAD) ========================================================
Expand Down
107 changes: 67 additions & 40 deletions src/app/pages/home/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,77 @@ <h1 class="header">Welcome to <strong>Behavior3</strong> Editor</h1>

<p class="text-justify"><strong>Behavior3</strong> Editor is an open source visual tool to create and design Behavior Trees. It provides a general solution to model agents for games and other applications, such as simulations and robotics. Behavior3 Editor uses an open - and simple - format to describe the behavior trees, thus you can adapt easily to your own library, tool or framework.</p>

<br>
<br>

<div class="row">
<div class="col-sm-6">
<div class="row text-center">
<div class="col-xs-4"></div>
<div class="col-xs-2">
<a href="https://github.com/behavior3/behavior3editor/stargazers" target="_blank">
<i class="fa fa-heart fa-2x"></i><br>
Contribute
</a>
</div>
<div class="col-xs-2">
<a href="https://www.bountysource.com/teams/behavior3" target="_blank">
<i class="fa fa-bitcoin fa-2x"></i><br>
Contribute
</a>
</div>
<div class="col-xs-4"></div>
</div>

<div class="panel panel-default">
<div class="panel-heading"><h4><strong>Links</strong></h4></div>
<ul class="list-group">
<li class="list-group-item">
<p><strong>Site:</strong></p>
<a href="http://behavior3.com" target="_blank">behavior3.com</a>
</li>
<li class="list-group-item">
<p><strong>Repository:</strong></p>
<a href="https://github.com/behavior3/behavior3editor/" target="_blank">github.com / behavior3editor</a>
</li>
<li class="list-group-item">
<p><strong>Issues:</strong></p>
<a href="https://github.com/behavior3/behavior3editor/issues" target="_blank">github.com / issues</a>
</li>
<li class="list-group-item">
<p><strong>Docs:</strong></p>
<a href="https://github.com/behavior3/behavior3editor/wiki" target="_blank">github.com / docs</a>
</li>
</ul>
</div>
<br>

</div>
<div class="panel panel-default">
<div class="panel-heading"><strong>SOFTWARE INFO</strong></div>
<ul class="list-group">
<li class="list-group-item">
<div class="row">
<div class="col-xs-4"><strong>Software version:</strong></div>
<div class="col-xs-8">[BUILD_VERSION]</div>
</div>
</li>
<li class="list-group-item">
<div class="row">
<div class="col-xs-4"><strong>Build date:</strong></div>
<div class="col-xs-8">[BUILD_DATE]</div>
</div>
</li>
</ul>
</div>

<div class="panel panel-default">
<div class="panel-heading"><strong>LINKS</strong></div>
<ul class="list-group">
<li class="list-group-item">
<div class="row">
<div class="col-xs-4"><strong>Site:</strong></div>
<div class="col-xs-8"><a href="http://behavior3.com" target="_blank">http://behavior3.com</a></div>
</div>
</li>
<li class="list-group-item">
<div class="row">
<div class="col-xs-4"><strong>Repository:</strong></div>
<div class="col-xs-8"><a href="https://github.com/behavior3/behavior3editor/" target="_blank">https://github.com/behavior3/behavior3editor/</a></div>
</div>
</li>
<li class="list-group-item">
<div class="row">
<div class="col-xs-4"><strong>Issues:</strong></div>
<div class="col-xs-8"><a href="https://github.com/behavior3/behavior3editor/issues" target="_blank">https://github.com/behavior3/behavior3editor/issues</a></div>
</div>
</li>
<li class="list-group-item">
<div class="row">
<div class="col-xs-4"><strong>Documentation:</strong></div>
<div class="col-xs-8"><a href="https://github.com/behavior3/behavior3editor/wiki" target="_blank">https://github.com/behavior3/behavior3editor/wiki</a></div>
</div>
</li>
</ul>
</div>

<!--
<div class="row">
<div class="col-sm-6">
<div class="panel panel-default">
Expand All @@ -55,26 +96,12 @@ <h1 class="header">Welcome to <strong>Behavior3</strong> Editor</h1>
</div>
<div class="list-group-item text-center">
<div class="row">
<div class="col-xs-6">
<a href="https://github.com/behavior3/behavior3editor/stargazers" target="_blank">
<i class="fa fa-heart fa-2x"></i><br>
Contribute
</a>
</div>
<div class="col-xs-6">
<a href="https://www.bountysource.com/teams/behavior3" target="_blank">
<i class="fa fa-bitcoin fa-2x"></i><br>
Contribute
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div> -->

</div>
</div>
Binary file added src/assets/imgs/favicon.ico
Binary file not shown.
4 changes: 3 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<html>
<head>
<meta charset="utf-8"/>
<title>Behavior3 Editor - http://behavior3.com</title>
<link rel="shortcut icon" type="image/x-icon" href="imgs/favicon.ico" />

<title>Behavior3 Editor - v[BUILD_VERSION] - http://behavior3.com</title>

<link rel="stylesheet" href="css/preload.min.css">
<script type="text/javascript" src="js/preload.min.js"></script>
Expand Down

0 comments on commit d379e7c

Please sign in to comment.