Skip to content

Commit

Permalink
Merge pull request #56 from kylekirkby/updated_site
Browse files Browse the repository at this point in the history
Added Particles JS!
  • Loading branch information
Kyle committed Sep 13, 2019
2 parents 1bcb09d + 0363bc3 commit a0dad5b
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 1 deletion.
20 changes: 20 additions & 0 deletions _layouts/base.html
@@ -0,0 +1,20 @@
---
---
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body>
<div id="wrapper" class="main">
{% include_cached nav.html pageUrl=page.url %}
{% if page.particles_js %}
<div id="particles-js"></div>
{% endif %}
<div class="container-fluid">
{{content}}
{% include_cached github-edit.html pagePath=page.path pagePermalink=page.permalink %}
{% include_cached footer.html %}
</div>
</div>
{% include javascript.html %}
</body>
</html>
15 changes: 15 additions & 0 deletions assets/css/app/custom.scss
Expand Up @@ -136,6 +136,7 @@ img.img-responsive.ai-homepage-image {
}
.row.content.github-edit {
background-color: black;
z-index: 2;
}

div#github_controls a#github_home {
Expand All @@ -148,3 +149,17 @@ div#github_controls a.btn {
color: white;
border: 1px solid #2d2d2d;
}
#particles-js > canvas {
z-index: 9;
width: 100% !important;
}
#particles-js {
width: 100%;
height: 100%;
z-index: 1;
background-image: url(main.css);
background-size: cover;
background-position: 50% 50%;
position: absolute;
background-repeat: no-repeat;
}
1 change: 1 addition & 0 deletions assets/js/package-home.js
Expand Up @@ -5,5 +5,6 @@
//= require vendor/owl.carousel

//= require app/main
//= require app/particles
//= require app/custom
//= require app/home
2 changes: 1 addition & 1 deletion index.html → index.md
Expand Up @@ -24,5 +24,5 @@
- row: custom_include_row
source: ai_boards.html
edit-on-github: true
particles_js: true
---
{% include members.html %}

0 comments on commit a0dad5b

Please sign in to comment.