From cab15383ecbaff53f78082334eaff7507ba6504a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 10:58:01 +0000 Subject: [PATCH 01/14] Initial plan From b1e73c80aa01870cfc5a1448680c55fc8535e560 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 11:02:35 +0000 Subject: [PATCH 02/14] Initial plan From 6b194623c89b9db0cbbbdb42a5ca3263538ed672 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 11:02:52 +0000 Subject: [PATCH 03/14] Initial plan From 86bab6374915e8b1550b7e9695ee155834cbd5eb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 11:05:57 +0000 Subject: [PATCH 04/14] =?UTF-8?q?fix:=20centrar=20t=C3=ADtulo=20de=20bienv?= =?UTF-8?q?enida=20en=20vista=20m=C3=B3vil?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/8cb9755f-d00d-45ae-ab08-9799aa769175 Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com> --- tienda/templates/tienda/home.html | 9 +++++++++ tienda/tests.py | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/tienda/templates/tienda/home.html b/tienda/templates/tienda/home.html index ff4e691..98b5896 100644 --- a/tienda/templates/tienda/home.html +++ b/tienda/templates/tienda/home.html @@ -118,6 +118,15 @@ font-size: 1.1rem; opacity: 0.9; } + + @media (max-width: 767.98px) { + .hero-section h1 { + margin-left: auto; + margin-right: auto; + text-align: center; + text-wrap: balance; + } + } {% endblock %} diff --git a/tienda/tests.py b/tienda/tests.py index 1f6b083..ced6966 100644 --- a/tienda/tests.py +++ b/tienda/tests.py @@ -1358,6 +1358,12 @@ class EndpointViewTests(TestCase): response = self.client.get(url) self.assertEqual(response.status_code, 200) + def test_home_includes_mobile_centering_rule_for_welcome_title(self): + response = self.client.get(reverse("home")) + self.assertContains(response, "@media (max-width: 767.98px)") + self.assertContains(response, ".hero-section h1") + self.assertContains(response, "text-align: center;") + def test_login_required_endpoints_redirect_anonymous(self): secured_get_routes = [ reverse("mis_productos"), From 82376b0aede1bc017ced8e393718bea7d9eed76b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 11:06:46 +0000 Subject: [PATCH 05/14] chore: plan mobile categories toggle fix Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/2db304a5-95b5-4161-99c1-ce4d68b014df Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com> --- .../__pycache__/0001_initial.cpython-312.pyc | Bin 12957 -> 12957 bytes ...ioncode_code_mode_and_more.cpython-312.pyc | Bin 1028 -> 1028 bytes ...003_order_transaction_code.cpython-312.pyc | Bin 2006 -> 2006 bytes ...ation_stockreservationitem.cpython-312.pyc | Bin 3069 -> 3069 bytes .../0005_savedpaymentmethod.cpython-312.pyc | Bin 2338 -> 2338 bytes .../0006_alter_category_name.cpython-312.pyc | Bin 768 -> 768 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 174 -> 174 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 176 -> 176 bytes .../__pycache__/vat_filters.cpython-312.pyc | Bin 1470 -> 1470 bytes 9 files changed, 0 insertions(+), 0 deletions(-) diff --git a/tienda/migrations/__pycache__/0001_initial.cpython-312.pyc b/tienda/migrations/__pycache__/0001_initial.cpython-312.pyc index a016c5b0e9acfd5357404ef103784d10c760b9f0..c27100aaaed78360af72e1c8ba041d47e4cde10d 100644 GIT binary patch delta 20 acmbQ6IyaU3G%qg~0}y;>f3}f(k`VwyiUwZ* delta 20 acmbQ6IyaU3G%qg~0}xF6|8yhwBqIPu$_DuW diff --git a/tienda/migrations/__pycache__/0002_verificationcode_code_mode_and_more.cpython-312.pyc b/tienda/migrations/__pycache__/0002_verificationcode_code_mode_and_more.cpython-312.pyc index db00f0cd615427f424af019b799fc9578110a085..9a936348d371212125c8298b73567740110483dc 100644 GIT binary patch delta 20 acmZqSXyM>K&CAQh00f`epKav+$qWE9Uj?fG delta 20 acmZqSXyM>K&CAQh00h(iKi$avlNkUup9Vz$ diff --git a/tienda/migrations/__pycache__/0003_order_transaction_code.cpython-312.pyc b/tienda/migrations/__pycache__/0003_order_transaction_code.cpython-312.pyc index 33e19c018d6e85d0bd7a82fa0ed5b08e4948b388..f4647627c8fe2b8b453d8c80ec2140f07e8cedcd 100644 GIT binary patch delta 20 acmcb{e~q8}G%qg~0}y;>f3}hPG&=x5F9tIJ delta 20 acmcb{e~q8}G%qg~0}xF6|8yhwX?6fZZwAc( diff --git a/tienda/migrations/__pycache__/0004_product_stock_stockreservation_stockreservationitem.cpython-312.pyc b/tienda/migrations/__pycache__/0004_product_stock_stockreservation_stockreservationitem.cpython-312.pyc index 1ec7e542e97cc2eb54f175461c4bb20cff354c25..e27c241a777c35da839db5ecf6f013bc0466f23c 100644 GIT binary patch delta 20 acmew>{#Ts)G%qg~0}y;>f3}hP6E^@yYX-ak delta 20 acmew>{#Ts)G%qg~0}xF6|8yhwCvE^rs|Qv9 diff --git a/tienda/migrations/__pycache__/0005_savedpaymentmethod.cpython-312.pyc b/tienda/migrations/__pycache__/0005_savedpaymentmethod.cpython-312.pyc index 6250c5b1d1e256f0e92bc4c50294b6cd2c993bd0..e30e438b7ff3e03cc0e54511a0acf5c71fec2d3c 100644 GIT binary patch delta 20 acmZ1^v`C2iG%qg~0}y;>f3}fZoD%>yeFYx? delta 20 acmZ1^v`C2iG%qg~0}xF6|8yg_I41x)y#=`d diff --git a/tienda/migrations/__pycache__/0006_alter_category_name.cpython-312.pyc b/tienda/migrations/__pycache__/0006_alter_category_name.cpython-312.pyc index 1c6cf9b5ec022b88683ee29c472217f9c360819d..55f09063d6d1a19806fcd8c78b07c7398252740b 100644 GIT binary patch delta 20 acmZo*YhdF(&CAQh00f`epKav+$^-y1b_JRM delta 20 acmZo*YhdF(&CAQh00h(iKi$avl?ebfwgxl+ diff --git a/tienda/migrations/__pycache__/__init__.cpython-312.pyc b/tienda/migrations/__pycache__/__init__.cpython-312.pyc index e42c27778a5474de4a433bbaa8066a0030d479fe..f5e996fd80315bea1db3373720a348dd9ad89b51 100644 GIT binary patch delta 19 ZcmZ3-xQ>zgG%qg~0}y;>e>RbOF#s|61$Y1e delta 19 ZcmZ3-xQ>zgG%qg~0}xF6|8yevVgNLr1`+@O diff --git a/tienda/templatetags/__pycache__/__init__.cpython-312.pyc b/tienda/templatetags/__pycache__/__init__.cpython-312.pyc index ad84b47f8406edef14ab698601213cbb2017a374..7be98f2c9fbaede9e063a289c12b88f093d3d91f 100644 GIT binary patch delta 19 ZcmdnMxPg)TG%qg~0}y;>e>RbODF8A;1%3bk delta 19 ZcmdnMxPg)TG%qg~0}xF6|8yevQUEmQ1{eSU diff --git a/tienda/templatetags/__pycache__/vat_filters.cpython-312.pyc b/tienda/templatetags/__pycache__/vat_filters.cpython-312.pyc index 82d83b2433e7805b5ce5c327e6777432e7e2ce6e..2a4987d11931bd3bdef3c61db29b90a6f7a11fec 100644 GIT binary patch delta 20 acmdnTy^ovwG%qg~0}y;>f3}f(Gb;c)-38$Q delta 20 acmdnTy^ovwG%qg~0}xF6|8yhwW>x?{9R_;< From 840021c2152de9308b99c8e30b04b7c0373ab7a1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 11:11:56 +0000 Subject: [PATCH 06/14] fix: center site name in mobile header outside collapsible menu Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/4d080a78-4752-427f-8205-876ef7b85f7a Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com> --- .../__pycache__/0001_initial.cpython-312.pyc | Bin 12957 -> 12957 bytes ...ioncode_code_mode_and_more.cpython-312.pyc | Bin 1028 -> 1028 bytes ...003_order_transaction_code.cpython-312.pyc | Bin 2006 -> 2006 bytes ...ation_stockreservationitem.cpython-312.pyc | Bin 3069 -> 3069 bytes .../0005_savedpaymentmethod.cpython-312.pyc | Bin 2338 -> 2338 bytes .../0006_alter_category_name.cpython-312.pyc | Bin 768 -> 768 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 174 -> 174 bytes tienda/static/css/custom.css | 13 ++++++++++++- tienda/templates/tienda/base.html | 4 +++- .../__pycache__/__init__.cpython-312.pyc | Bin 176 -> 176 bytes .../__pycache__/vat_filters.cpython-312.pyc | Bin 1470 -> 1470 bytes tienda/tests.py | 6 ++++++ 12 files changed, 21 insertions(+), 2 deletions(-) diff --git a/tienda/migrations/__pycache__/0001_initial.cpython-312.pyc b/tienda/migrations/__pycache__/0001_initial.cpython-312.pyc index a016c5b0e9acfd5357404ef103784d10c760b9f0..6780390a3db59f8346dcad14d78e18801a6fdacf 100644 GIT binary patch delta 20 acmbQ6IyaU3G%qg~0}wo5f3}f(k`Vwy1qMt2 delta 20 acmbQ6IyaU3G%qg~0}xF6|8yhwBqIPu$_DuW diff --git a/tienda/migrations/__pycache__/0002_verificationcode_code_mode_and_more.cpython-312.pyc b/tienda/migrations/__pycache__/0002_verificationcode_code_mode_and_more.cpython-312.pyc index db00f0cd615427f424af019b799fc9578110a085..dc419884f2c171dd18ff861d24057c1a9c8ba68c 100644 GIT binary patch delta 20 acmZqSXyM>K&CAQh00a-%pKav+$qWE8+69;Z delta 20 acmZqSXyM>K&CAQh00h(iKi$avlNkUup9Vz$ diff --git a/tienda/migrations/__pycache__/0003_order_transaction_code.cpython-312.pyc b/tienda/migrations/__pycache__/0003_order_transaction_code.cpython-312.pyc index 33e19c018d6e85d0bd7a82fa0ed5b08e4948b388..d124b29bbd37993951fe553e251b27e3a8365c7a 100644 GIT binary patch delta 20 acmcb{e~q8}G%qg~0}wo5f3}hPG&=x4ss{#Ts)G%qg~0}wo5f3}hP6E^@x<_4(% delta 20 acmew>{#Ts)G%qg~0}xF6|8yhwCvE^rs|Qv9 diff --git a/tienda/migrations/__pycache__/0005_savedpaymentmethod.cpython-312.pyc b/tienda/migrations/__pycache__/0005_savedpaymentmethod.cpython-312.pyc index 6250c5b1d1e256f0e92bc4c50294b6cd2c993bd0..b765fe6d024c87899521150de7ce52466d69d8b0 100644 GIT binary patch delta 20 acmZ1^v`C2iG%qg~0}wo5f3}fZoD%>x_yr6A delta 20 acmZ1^v`C2iG%qg~0}xF6|8yg_I41x)y#=`d diff --git a/tienda/migrations/__pycache__/0006_alter_category_name.cpython-312.pyc b/tienda/migrations/__pycache__/0006_alter_category_name.cpython-312.pyc index 1c6cf9b5ec022b88683ee29c472217f9c360819d..f2218adde1247eb4ed63de20587c3aea522a8eff 100644 GIT binary patch delta 20 acmZo*YhdF(&CAQh00a-%pKav+$^-y0@dbwf delta 20 acmZo*YhdF(&CAQh00h(iKi$avl?ebfwgxl+ diff --git a/tienda/migrations/__pycache__/__init__.cpython-312.pyc b/tienda/migrations/__pycache__/__init__.cpython-312.pyc index e42c27778a5474de4a433bbaa8066a0030d479fe..97c81b202bd009f36306c051ea3f93f73ec5f17b 100644 GIT binary patch delta 19 ZcmZ3-xQ>zgG%qg~0}wo5e>RbOF#s`!1!VvL delta 19 ZcmZ3-xQ>zgG%qg~0}xF6|8yevVgNLr1`+@O diff --git a/tienda/static/css/custom.css b/tienda/static/css/custom.css index 798a7bc..9d1f262 100644 --- a/tienda/static/css/custom.css +++ b/tienda/static/css/custom.css @@ -51,12 +51,23 @@ p.price { background-color: #513CB0 !important; color: #FFF; } +.navbar.header .container-fluid { + position: relative; +} .navbar.header .navbar-brand img { border-radius: 10px; } .navbar.header .navbar-brand { color: #FFF !important; } +.navbar.header .site-title-mobile { + color: #FFF; + position: absolute; + left: 50%; + transform: translateX(-50%); + margin: 0; + pointer-events: none; +} .navbar.header .navbar-toggler { border-color: #FFF !important; } @@ -276,4 +287,4 @@ p.price { .texto-ajustado { overflow-wrap: anywhere; -} \ No newline at end of file +} diff --git a/tienda/templates/tienda/base.html b/tienda/templates/tienda/base.html index 28364dd..f4d6708 100644 --- a/tienda/templates/tienda/base.html +++ b/tienda/templates/tienda/base.html @@ -95,13 +95,15 @@ decoding="async"> + + Comercialmeria