diff --git a/app/templates/shop/account/dashboard.html b/app/templates/shop/account/dashboard.html new file mode 100644 index 00000000..3cd760ae --- /dev/null +++ b/app/templates/shop/account/dashboard.html @@ -0,0 +1,228 @@ +{# app/templates/shop/account/dashboard.html #} +{% extends "shop/base.html" %} + +{% block title %}My Account - {{ vendor.name }}{% endblock %} + +{% block alpine_data %}accountDashboard(){% endblock %} + +{% block content %} +
+ +
+

My Account

+

Welcome back, {{ user.first_name }}!

+
+ + +
+ + + +
+
+ + + +
+
+

Orders

+

View order history

+
+
+
+

{{ user.total_orders }}

+

Total Orders

+
+
+ + + +
+
+ + + +
+
+

Profile

+

Edit your information

+
+
+
+

{{ user.email }}

+
+
+ + + +
+
+ + + + +
+
+

Addresses

+

Manage addresses

+
+
+
+
+ + +
+

Account Summary

+
+
+

Customer Since

+

{{ user.created_at.strftime('%B %Y') }}

+
+
+

Total Orders

+

{{ user.total_orders }}

+
+
+

Customer Number

+

{{ user.customer_number }}

+
+
+
+ + +
+ +
+
+ + + +{% endblock %} + +{% block extra_scripts %} + +{% endblock %} diff --git a/app/templates/shop/account/forgot-password.html b/app/templates/shop/account/forgot-password.html new file mode 100644 index 00000000..a866599e --- /dev/null +++ b/app/templates/shop/account/forgot-password.html @@ -0,0 +1,254 @@ +{# app/templates/shop/account/forgot-password.html #} + + + + + + Forgot Password - {{ vendor.name }} + + + {# CRITICAL: Inject theme CSS variables #} + + + {# Tailwind CSS with local fallback #} + + + +
+
+
+ +
+
+ {% if theme.branding.logo %} + {{ vendor.name }} + {% else %} +
🔐
+ {% endif %} +

{{ vendor.name }}

+

Reset your password

+
+
+ + +
+
+ + + + + + +
+ +

+ Remember your password? + + Sign in + +

+

+ + ← Continue shopping + +

+
+
+
+
+
+ + + + + + + + diff --git a/app/templates/shop/account/login.html b/app/templates/shop/account/login.html index 2b050525..98b6c97b 100644 --- a/app/templates/shop/account/login.html +++ b/app/templates/shop/account/login.html @@ -1,127 +1,177 @@ +{# app/templates/shop/account/login.html #} - + - - <!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Login - {{ vendor.name }} - - - + + + Customer Login - {{ vendor.name }} + + + {# CRITICAL: Inject theme CSS variables #} + + + {# Tailwind CSS with local fallback #} + - -
- -
- {% if vendor.logo_url %} - - {% else %} - - {% endif %} -

Welcome Back

-

Sign in to {{ vendor.name }}

-
- - -
- - -
- -
- - -
-
- - -
- -
- - + +
+
+
+ +
+
+ {% if theme.branding.logo %} + {{ vendor.name }} + {% else %} +
🛒
+ {% endif %} +

{{ vendor.name }}

+

Welcome back to your shopping experience

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

+ Customer Login +

+ + +
+ + +
+ + + + + + + + +
+ + + Forgot password? + +
+ + + + +
+ +

+ Don't have an account? + + Create an account + +

+

+ + ← Continue shopping + +

+
- - Forgot password? -
- - - - - - - - - -
+ + + + - - - - - - \ No newline at end of file + diff --git a/app/templates/shop/account/register.html b/app/templates/shop/account/register.html index 955b31a2..d21ad907 100644 --- a/app/templates/shop/account/register.html +++ b/app/templates/shop/account/register.html @@ -1,341 +1,378 @@ +{# app/templates/shop/account/register.html #} - + - - + + Create Account - {{ vendor.name }} - - - - - -