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 1/9] 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 2/9] 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 3/9] =?UTF-8?q?fix:=20centrar=20t=C3=ADtulo=20de=20bienven?= =?UTF-8?q?ida=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 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 4/9] 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