aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-02 16:47:29 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-02 16:47:29 +0000
commitc036997d8ab45b33d696690b7a3e0b13ccc598e9 (patch)
treefe69efc2babad25d47a1b18fc0355b12d4b6d333
parent1c819c9c1de1176e27f93eb955ecf9f023a285d7 (diff)
Now has spurting letters coming from the radge
-rw-r--r--alphabetlearning/static/images/AL_circle_logo_black_100x100.pngbin0 -> 13016 bytes
-rw-r--r--alphabetlearning/templates/payments/success_email_signup.html7
2 files changed, 4 insertions, 3 deletions
diff --git a/alphabetlearning/static/images/AL_circle_logo_black_100x100.png b/alphabetlearning/static/images/AL_circle_logo_black_100x100.png
new file mode 100644
index 0000000..5d7aee1
--- /dev/null
+++ b/alphabetlearning/static/images/AL_circle_logo_black_100x100.png
Binary files differ
diff --git a/alphabetlearning/templates/payments/success_email_signup.html b/alphabetlearning/templates/payments/success_email_signup.html
index 9ee87c3..11fd4d2 100644
--- a/alphabetlearning/templates/payments/success_email_signup.html
+++ b/alphabetlearning/templates/payments/success_email_signup.html
@@ -29,10 +29,11 @@
bottom: 0px;
transform: translateX(-50%);
border-radius: 5px;
+ border: 1px solid darkgray;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
z-index: 5;
- background-size: 200px;
- background-image: url({% static 'images/AL_long_logo_black_grey.png' %});
+ background-size: 100px;
+ background-image: url({% static 'images/AL_circle_logo_black_100x100.png' %});
}
.gift-box::before {
@@ -120,7 +121,7 @@
// Calculate trajectory
const duration = 2 + Math.random() * 0.5; // 1-1.5s duration
const xVelocity = Math.sin(angle) * speed;
- const yVelocity = Math.cos(angle) * speed;
+ const yVelocity = Math.cos(angle) * speed + 200; // Adjusted to ensure letters fall below their source level
const gravity = 500; // Pixels per second squared
// Create custom animation