From 391df3bb41d21b25a69c542f702a46e7272b0fa8 Mon Sep 17 00:00:00 2001 From: Frank John Begornia Date: Fri, 17 Apr 2026 18:00:36 +0800 Subject: [PATCH] feat: enhance team store page layout and styling for improved user experience --- .../teamstore-sublayouts/index.blade.php | 229 ++++++++--- .../product-details.blade.php | 382 ++++++++++++++---- .../teamstore-sublayouts/stores.blade.php | 295 ++++++++++---- 3 files changed, 694 insertions(+), 212 deletions(-) diff --git a/resources/views/teamstore-sublayouts/index.blade.php b/resources/views/teamstore-sublayouts/index.blade.php index 5fc4196..6e8b910 100644 --- a/resources/views/teamstore-sublayouts/index.blade.php +++ b/resources/views/teamstore-sublayouts/index.blade.php @@ -7,14 +7,17 @@ @endif @@ -267,7 +405,7 @@
-

FEATURED PRODUCTS

+
@@ -376,26 +514,23 @@ @endif {{-- ── Product grid ── --}} -
+
-

No products found in this category.

+

No products found in this category.

-
- - - +
+
+ + -

@{{ p.name }}

-
-
-
-

@{{ p.price }} @{{ store.currency }}

-
-
- View Details +
+

@{{ p.name }}

+
- +
@@ -419,22 +554,22 @@ // ── league / conference keyword map ────────────────────────────────── // Order matters: more specific phrases first const LEAGUES = [ - { key: 'NBA', terms: ['nba'] }, - { key: 'NFL', terms: ['nfl'] }, - { key: 'MLB', terms: ['mlb'] }, - { key: 'NHL', terms: ['nhl'] }, - { key: 'MLS', terms: ['mls'] }, - { key: 'WNBA', terms: ['wnba'] }, - { key: 'Big Ten', terms: ['big ten','big10','big 10'] }, - { key: 'ACC', terms: ['acc'] }, - { key: 'SEC', terms: ['sec'] }, - { key: 'Big 12', terms: ['big 12','big12'] }, - { key: 'Pac-12', terms: ['pac-12','pac12','pac 12'] }, - { key: 'AAC', terms: ['aac'] }, - { key: 'CUSA', terms: ['cusa','c-usa'] }, - { key: 'MAC', terms: ['\bmac\b'] }, - { key: 'Sun Belt',terms: ['sun belt'] }, - { key: 'Mountain West', terms: ['mountain west','mwc'] }, + { key: 'WNBA', terms: ['\\bwnba\\b'] }, + { key: 'NBA', terms: ['\\bnba\\b'] }, + { key: 'NFL', terms: ['\\bnfl\\b'] }, + { key: 'MLB', terms: ['\\bmlb\\b'] }, + { key: 'NHL', terms: ['\\bnhl\\b'] }, + { key: 'MLS', terms: ['\\bmls\\b'] }, + { key: 'Big Ten', terms: ['\\bbig\\s*ten\\b','\\bbig\\s*10\\b','\\bbig10\\b'] }, + { key: 'ACC', terms: ['\\bacc\\b'] }, + { key: 'SEC', terms: ['\\bsec\\b'] }, + { key: 'Big 12', terms: ['\\bbig\\s*12\\b','\\bbig12\\b'] }, + { key: 'Pac-12', terms: ['\\bpac[-\\s]*12\\b','\\bpac12\\b'] }, + { key: 'AAC', terms: ['\\baac\\b'] }, + { key: 'CUSA', terms: ['\\bcusa\\b','\\bc-usa\\b'] }, + { key: 'MAC', terms: ['\\bmac\\b'] }, + { key: 'Sun Belt',terms: ['\\bsun\\s+belt\\b'] }, + { key: 'Mountain West', terms: ['\\bmountain\\s+west\\b','\\bmwc\\b'] }, ]; function classify(name) { diff --git a/resources/views/teamstore-sublayouts/product-details.blade.php b/resources/views/teamstore-sublayouts/product-details.blade.php index d4f3bdb..5fe8b60 100644 --- a/resources/views/teamstore-sublayouts/product-details.blade.php +++ b/resources/views/teamstore-sublayouts/product-details.blade.php @@ -7,6 +7,45 @@ @endif -
+
-