updated some content

This commit is contained in:
suroh 2019-12-07 22:49:59 +01:00
parent 81d2a07035
commit 8fc402481e
8 changed files with 25 additions and 14 deletions

View File

@ -8,9 +8,8 @@ module.exports = (config) => {
// custom filters // custom filters
config.addFilter("makeLowercase", (value) => { config.addFilter("makeLowercase", (value) => {
if (typeof value === 'string' || value instanceof String) { if (typeof value === 'string' || value instanceof String) {
value = value.toLowerCase() return value.toLowerCase()
} }
return value
}) })
// added passthrough for global assets // added passthrough for global assets

View File

@ -1,8 +0,0 @@
---
title: teach
layout: page.njk
---
# teach
Something about this project

View File

@ -1 +0,0 @@
{ "category": "teach" }

View File

@ -3,6 +3,6 @@ title: A Container in Two Movements
layout: page.njk layout: page.njk
--- ---
# a Container in two movements # A Container in Two Movements
Something about this project Something about this project

View File

@ -3,6 +3,6 @@
"categories": [ "categories": [
"work", "work",
"audio", "audio",
"teach" "other"
] ]
} }

View File

@ -7,7 +7,7 @@
<img src="{{imgFeat}}" alt=""> <img src="{{imgFeat}}" alt="">
</div> </div>
{% endif %} {% endif %}
<section class="text {{url}}"> <section class="text {{url}}">
{{ content | safe}} {{ content | safe}}
</section> </section>

View File

@ -229,6 +229,7 @@ nav#sub > ul > li > a {
/* --> SUBCONTENT CONSTRUCTION <-- */ /* --> SUBCONTENT CONSTRUCTION <-- */
section.page { section.page {
display: grid; display: grid;
animation: fadeIn 1s ease;
} }
section.page h1 { section.page h1 {
@ -407,3 +408,14 @@ section.page h1 {
} }
} }
/* ANIMATIONS */
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

View File

@ -1,2 +1,11 @@
// importing scripts // importing scripts
import '/assets/js/interaction.js' import '/assets/js/interaction.js'
// 'page' load transitions
const pageSection = document.querySelector('section.page')
pageSection.addEventListener('load', (e) => {
console.log('div loaded?')
console.log(e.target)
alert('ehllo')
})