diff --git a/.eleventy.js b/.eleventy.js
index c762d5e..e4fa68f 100644
--- a/.eleventy.js
+++ b/.eleventy.js
@@ -8,9 +8,8 @@ module.exports = (config) => {
// custom filters
config.addFilter("makeLowercase", (value) => {
if (typeof value === 'string' || value instanceof String) {
- value = value.toLowerCase()
+ return value.toLowerCase()
}
- return value
})
// added passthrough for global assets
diff --git a/_content/teach/index.md b/_content/teach/index.md
deleted file mode 100644
index 0211e82..0000000
--- a/_content/teach/index.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-title: teach
-layout: page.njk
----
-
-# teach
-
-Something about this project
\ No newline at end of file
diff --git a/_content/teach/teach.json b/_content/teach/teach.json
deleted file mode 100644
index 6175305..0000000
--- a/_content/teach/teach.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "category": "teach" }
\ No newline at end of file
diff --git a/_content/work/container2mvmnts.md b/_content/work/container2mvmnts.md
index 642557a..e9eb96f 100644
--- a/_content/work/container2mvmnts.md
+++ b/_content/work/container2mvmnts.md
@@ -3,6 +3,6 @@ title: A Container in Two Movements
layout: page.njk
---
-# a Container in two movements
+# A Container in Two Movements
Something about this project
\ No newline at end of file
diff --git a/_data/siteSettings.json b/_data/siteSettings.json
index cb98012..7576f02 100644
--- a/_data/siteSettings.json
+++ b/_data/siteSettings.json
@@ -3,6 +3,6 @@
"categories": [
"work",
"audio",
- "teach"
+ "other"
]
}
\ No newline at end of file
diff --git a/_includes/page.njk b/_includes/page.njk
index e39b6e9..a66d90c 100644
--- a/_includes/page.njk
+++ b/_includes/page.njk
@@ -7,7 +7,7 @@
{% endif %}
-
+
diff --git a/assets/css/master.css b/assets/css/master.css
index 9a783b6..46e84cc 100644
--- a/assets/css/master.css
+++ b/assets/css/master.css
@@ -229,6 +229,7 @@ nav#sub > ul > li > a {
/* --> SUBCONTENT CONSTRUCTION <-- */
section.page {
display: grid;
+ animation: fadeIn 1s ease;
}
section.page h1 {
@@ -407,3 +408,14 @@ section.page h1 {
}
}
+
+/* ANIMATIONS */
+
+@keyframes fadeIn {
+ 0% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
\ No newline at end of file
diff --git a/assets/js/script.js b/assets/js/script.js
index bc7a3a4..febe284 100644
--- a/assets/js/script.js
+++ b/assets/js/script.js
@@ -1,2 +1,11 @@
// importing scripts
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')
+})