kaxil opened a new pull request, #1266:
URL: https://github.com/apache/airflow-site/pull/1266
The confetti animation on the landing page header was broken after upgrading
to p5.js v2.0 in PR #1244. This fixes two breaking changes:
1. Changed p5 import from namespace import to default import
- Before: import * as p5 from "p5"
- After: import p5 from "p5"
2. Changed CLOSE constant reference from global to sketch instance
- Before: sketch.endShape(p5.CLOSE)
- After: sketch.endShape(sketch.CLOSE)
These changes restore the animated colored squares that appear behind the
Apache Airflow header text.
Fixes the regression introduced in #1244

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]