From 46093d2b56b55b4b4f49a08a1c92792730d4cf89 Mon Sep 17 00:00:00 2001 From: Cipher Vance Date: Sun, 31 Aug 2025 13:25:12 -0500 Subject: [PATCH] chore(ui): Formatted and cleaned up the code --- templates/base.html | 146 +++--- templates/confirmation_email.html | 715 ++++++++++++++---------------- templates/index.html | 270 +++++------ templates/newsletter_detail.html | 103 +++-- templates/newsletters.html | 15 +- 5 files changed, 638 insertions(+), 611 deletions(-) diff --git a/templates/base.html b/templates/base.html index f03970d..5f4bc39 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,72 +1,94 @@ -{% set is_home = is_home | default(false) %} - - - - {% block title %}RideAware{% endblock %} + + + + {% block title %}RideAware{% endblock %} - - - - + + + + - - - - + + - {% block extra_head %}{% endblock %} - - - + + + + + + - {% block content %}{% endblock %} + {% block extra_head %}{% endblock %} + + + {% set is_home = is_home | default(false) %} - + - + {% block content %}{% endblock %} - {% block extra_scripts %}{% endblock %} - + + + + + + {% block extra_scripts %}{% endblock %} + \ No newline at end of file diff --git a/templates/confirmation_email.html b/templates/confirmation_email.html index 8a42ba5..be639d4 100644 --- a/templates/confirmation_email.html +++ b/templates/confirmation_email.html @@ -1,392 +1,367 @@ - - - - Welcome to RideAware! + + + + - + Welcome to RideAware! - - - + + +
+
- -
- + + + + + - -
-

Thanks for subscribing to RideAware newsletter!

- -

- We're absolutely thrilled to have you join our community of passionate cyclists. Get ready for exclusive insights, training tips, feature updates, and much more delivered straight to your inbox. -

+ +
+ + - -
-

What to expect from us:

-
-
- 🚴‍♂️ -
Training Tips
-
Expert advice to improve your performance
-
-
- 📊 -
Performance Insights
-
Data-driven analysis for better rides
-
-
- 🆕 -
Feature Updates
-
Be first to know about new releases
-
-
- 👥 -
Community Stories
-
Inspiring journeys from fellow cyclists
-
-
-
+ + + + - -
-

Ready to start your journey with RideAware?

- - Explore RideAware → - -
+ + + + - - + + + + -

- We're excited to share our journey with you and help you achieve your cycling goals. Welcome to the RideAware family! 🚴‍♀️ -

- - - - - - + + + + + +
- + + + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index d996c65..ee6a20a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,4 +1,3 @@ - {% extends "base.html" %} {% block title %}RideAware - Smart Cycling Training Platform{% endblock %} @@ -10,8 +9,8 @@

Elevate Your Cycling Journey

- The ultimate smart training platform for cyclists who demand excellence - in every ride. + The ultimate smart training platform for cyclists who demand + excellence in every ride.

@@ -35,7 +34,18 @@
- +
+ RideAware icon + +
+
24.5
@@ -62,143 +72,145 @@ -
-
-

Powerful Features for Every Cyclist

-

- From beginners to professionals, RideAware provides comprehensive tools - to optimize your training and performance. -

-
+ {% if is_home %} +
+
+

Powerful Features for Every Cyclist

+

+ From beginners to professionals, RideAware provides comprehensive + tools to optimize your training and performance. +

+
-
-
-
-
- +
+
+
+
+ +
+

Smart Training Plans

+
    +
  • + AI-Powered Planning: Customized training plans + based on your goals and fitness level +
  • +
  • + Adaptive Scheduling: Smart workout scheduling + with automated reminders +
  • +
  • + Goal Tracking: Set and monitor your cycling + objectives in real-time +
  • +
-

Smart Training Plans

-
    -
  • - AI-Powered Planning: Customized training plans - based on your goals and fitness level -
  • -
  • - Adaptive Scheduling: Smart workout scheduling - with automated reminders -
  • -
  • - Goal Tracking: Set and monitor your cycling - objectives in real-time -
  • -
-
-
-
- +
+
+ +
+

Advanced Analytics

+
    +
  • + Detailed Logging: Track exercises, sets, reps, + and performance metrics +
  • +
  • + Data Visualization: Interactive charts, graphs, + and progress statistics +
  • +
  • + Progress Insights: Monitor your improvement + over time with AI analysis +
  • +
-

Advanced Analytics

-
    -
  • - Detailed Logging: Track exercises, sets, reps, - and performance metrics -
  • -
  • - Data Visualization: Interactive charts, graphs, - and progress statistics -
  • -
  • - Progress Insights: Monitor your improvement over - time with AI analysis -
  • -
-
-
-
- +
+
+ +
+

Virtual Training

+
    +
  • + Expert Coaching: Professional guidance to + achieve your cycling goals +
  • +
  • + Immersive Rides: Virtual training experiences + to boost performance +
  • +
  • + Structured Workouts: Designed programs for + fitness and performance gains +
  • +
-

Virtual Training

-
    -
  • - Expert Coaching: Professional guidance to achieve - your cycling goals -
  • -
  • - Immersive Rides: Virtual training experiences to - boost performance -
  • -
  • - Structured Workouts: Designed programs for - fitness and performance gains -
  • -
-
-
-
- +
+
+ +
+

Health & Recovery

+
    +
  • + Nutrition Tracking: Plan and monitor your + dietary intake for optimal performance +
  • +
  • + Recovery Optimization: Tools and resources for + effective rest and recovery +
  • +
  • + Injury Prevention: Proactive measures to + prevent and manage injuries +
  • +
-

Health & Recovery

-
    -
  • - Nutrition Tracking: Plan and monitor your dietary - intake for optimal performance -
  • -
  • - Recovery Optimization: Tools and resources for - effective rest and recovery -
  • -
  • - Injury Prevention: Proactive measures to prevent - and manage injuries -
  • -
-
-
-
- +
+
+ +
+

Community & Social

+
    +
  • + Social Sharing: Share achievements and progress + on social platforms +
  • +
  • + Active Community: Connect with fellow cyclists + and share experiences +
  • +
  • + Competitive Leaderboards: Challenge yourself + against the community +
  • +
-

Community & Social

-
    -
  • - Social Sharing: Share achievements and progress - on social platforms -
  • -
  • - Active Community: Connect with fellow cyclists - and share experiences -
  • -
  • - Competitive Leaderboards: Challenge yourself - against the community -
  • -
-
-
-
- +
+
+ +
+

Smart Integration

+
    +
  • + Wearable Sync: Connect with fitness trackers + and smart devices +
  • +
  • + Music Integration: Seamlessly sync with your + favorite music services +
  • +
  • + Data Portability: Easy import/export to other + cycling platforms +
  • +
-

Smart Integration

-
    -
  • - Wearable Sync: Connect with fitness trackers and - smart devices -
  • -
  • - Music Integration: Seamlessly sync with your - favorite music services -
  • -
  • - Data Portability: Easy import/export to other - cycling platforms -
  • -
-
-
+
+ {% endif %} {% endblock %} \ No newline at end of file diff --git a/templates/newsletter_detail.html b/templates/newsletter_detail.html index 754f63a..e60a8ef 100644 --- a/templates/newsletter_detail.html +++ b/templates/newsletter_detail.html @@ -7,36 +7,41 @@ {% block content %}
@@ -43,12 +45,15 @@ {% if nl.get('preview') %} {{ nl['preview'][:150] }}... {% else %} - Get the latest updates on cycling training, performance tips, and - RideAware features in this newsletter edition. + Get the latest updates on cycling training, performance tips, + and RideAware features in this newsletter edition. {% endif %}
- + Read Full Newsletter @@ -65,7 +70,7 @@ We're working on some amazing content for you. Subscribe to be the first to know when we publish our newsletters!

-