diff --git a/website/models.py b/website/models.py index 113bb9fe2..47fd23570 100644 --- a/website/models.py +++ b/website/models.py @@ -666,9 +666,9 @@ def update_streak_and_award_points(self, check_in_date=None): elif self.current_streak == 30: points_awarded += 50 reason = "30-day streak milestone achieved!" - elif self.current_streak == 90: + elif self.current_streak == 100: points_awarded += 150 - reason = "90-day streak milestone achieved!" + reason = "100-day streak milestone achieved!" elif self.current_streak == 180: points_awarded += 300 reason = "180-day streak milestone achieved!" @@ -700,7 +700,7 @@ def award_streak_badges(self): 7: "Weekly Streak", 15: "Half-Month Streak", 30: "Monthly Streak", - 90: "Three Month Streak", + 100: "100 Day Streak", 180: "Six Month Streak", 365: "Yearly Streak", } diff --git a/website/templates/profile.html b/website/templates/profile.html index 8281532bc..d3e334312 100644 --- a/website/templates/profile.html +++ b/website/templates/profile.html @@ -284,6 +284,20 @@ color: #ff5722; font-weight: bold; } + .shine-effect { + background: linear-gradient( + 90deg, + transparent, + rgba(255, 255, 255, 0.3), + transparent + ); + animation: shine 2s infinite; + } + + @keyframes shine { + 0% { transform: translateX(-100%); } + 100% { transform: translateX(100%); } + } {% endblock style %} {% block content %} @@ -386,6 +400,25 @@