From 4e5081c1e360df0cf5a49b36fbde740d13e7e24f Mon Sep 17 00:00:00 2001 From: apurvab Date: Thu, 6 Jun 2024 11:55:20 +0530 Subject: [PATCH] refactor:Change gallery section and SEO section on homepage --- _dev/elegance.css | 8 ++ assets/css/theme.css | 120 +++++++++++++++++----- templates/layouts/layout-both-columns.tpl | 115 ++++++++++----------- 3 files changed, 156 insertions(+), 87 deletions(-) diff --git a/_dev/elegance.css b/_dev/elegance.css index 97f8b55..93d3527 100644 --- a/_dev/elegance.css +++ b/_dev/elegance.css @@ -65,3 +65,11 @@ input[type="radio"],input[type="checkbox"] { clear: both; } } + +@media (max-width: 640px) { + .hide-on-small { + display: none; + } +} + + diff --git a/assets/css/theme.css b/assets/css/theme.css index 099a162..6c3ab0b 100755 --- a/assets/css/theme.css +++ b/assets/css/theme.css @@ -783,6 +783,10 @@ select { bottom: 0px; } +.bottom-1 { + bottom: 0.25rem; +} + .bottom-5 { bottom: 1.25rem; } @@ -807,6 +811,10 @@ select { right: 3rem; } +.right-2 { + right: 0.5rem; +} + .right-4 { right: 1rem; } @@ -835,6 +843,38 @@ select { z-index: 10; } +.col-span-1 { + grid-column: span 1 / span 1; +} + +.col-start-1 { + grid-column-start: 1; +} + +.col-start-2 { + grid-column-start: 2; +} + +.row-span-1 { + grid-row: span 1 / span 1; +} + +.row-span-2 { + grid-row: span 2 / span 2; +} + +.row-span-3 { + grid-row: span 3 / span 3; +} + +.row-start-1 { + grid-row-start: 1; +} + +.row-end-2 { + grid-row-end: 2; +} + .-mx-2 { margin-left: -0.5rem; margin-right: -0.5rem; @@ -875,9 +915,9 @@ select { margin-bottom: 0.5rem; } -.my-32 { - margin-top: 8rem; - margin-bottom: 8rem; +.my-48 { + margin-top: 12rem; + margin-bottom: 12rem; } .my-5 { @@ -982,6 +1022,10 @@ select { margin-top: 2rem; } +.mb-24 { + margin-bottom: 6rem; +} + .block { display: block; } @@ -1002,6 +1046,10 @@ select { display: flow-root; } +.grid { + display: grid; +} + .hidden { display: none; } @@ -1010,10 +1058,6 @@ select { aspect-ratio: 342/513; } -.h-1\/2 { - height: 50%; -} - .h-12 { height: 3rem; } @@ -1074,10 +1118,6 @@ select { width: 3.5rem; } -.w-2\/5 { - width: 40%; -} - .w-24 { width: 6rem; } @@ -1086,10 +1126,6 @@ select { width: 75%; } -.w-3\/5 { - width: 60%; -} - .w-32 { width: 8rem; } @@ -1198,6 +1234,10 @@ select { list-style-type: square; } +.grid-cols-2 { + grid-template-columns: repeat(2, minmax(0, 1fr)); +} + .flex-row { flex-direction: row; } @@ -1270,6 +1310,15 @@ select { gap: 2rem; } +.gap-x-1 { + -moz-column-gap: 0.25rem; + column-gap: 0.25rem; +} + +.gap-y-1 { + row-gap: 0.25rem; +} + .space-x-2 > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 0; margin-right: calc(0.5rem * var(--tw-space-x-reverse)); @@ -1306,11 +1355,6 @@ select { border-style: none; } -.border-\[\#74848E\] { - --tw-border-opacity: 1; - border-color: rgb(116 132 142 / var(--tw-border-opacity)); -} - .border-blue-300 { --tw-border-opacity: 1; border-color: rgb(147 197 253 / var(--tw-border-opacity)); @@ -1569,6 +1613,10 @@ select { text-align: justify; } +.text-end { + text-align: end; +} + .text-2xl { font-size: 1.5rem; line-height: 2rem; @@ -1796,6 +1844,12 @@ input[type="radio"]:focus,input[type="checkbox"]:focus { } } +@media (max-width: 640px) { + .hide-on-small { + display: none; + } +} + .file\:mr-4::file-selector-button { margin-right: 1rem; } @@ -2033,6 +2087,10 @@ input[type="radio"]:focus,input[type="checkbox"]:focus { display: flex; } + .sm\:pr-4 { + padding-right: 1rem; + } + .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; @@ -2161,6 +2219,14 @@ input[type="radio"]:focus,input[type="checkbox"]:focus { position: absolute; } + .lg\:bottom-3 { + bottom: 0.75rem; + } + + .lg\:left-0 { + left: 0px; + } + .lg\:right-0 { right: 0px; } @@ -2177,6 +2243,10 @@ input[type="radio"]:focus,input[type="checkbox"]:focus { margin-top: 6rem; } + .lg\:mb-52 { + margin-bottom: 13rem; + } + .lg\:flex { display: flex; } @@ -2241,6 +2311,10 @@ input[type="radio"]:focus,input[type="checkbox"]:focus { background-color: transparent; } + .lg\:p-4 { + padding: 1rem; + } + .lg\:py-0 { padding-top: 0px; padding-bottom: 0px; @@ -2250,10 +2324,6 @@ input[type="radio"]:focus,input[type="checkbox"]:focus { padding-top: 6rem; } - .lg\:text-center { - text-align: center; - } - .lg\:text-2xl { font-size: 1.5rem; line-height: 2rem; @@ -2281,3 +2351,5 @@ input[type="radio"]:focus,input[type="checkbox"]:focus { width: 25%; } } + + diff --git a/templates/layouts/layout-both-columns.tpl b/templates/layouts/layout-both-columns.tpl index e05596c..8d44612 100644 --- a/templates/layouts/layout-both-columns.tpl +++ b/templates/layouts/layout-both-columns.tpl @@ -86,33 +86,33 @@ {if $page.page_name == 'index'}
-

Product Categories

-
+

Custom design by you

+ -
-
- -
-
-

Business suits for men

-

Tailored business Suits designed for you to make a powerful impression and radiate confidence.

- -
-
+
+

Design and Visualize what you need

+

Choose what looks good on you

+ +
+ +
+
+

Business Suits for Men

+

Make a powerful impression and radiate confidence

+ Tailored business Suits designed for you to make a                         
+    powerful impression and radiate confidence. +
+
+

Browse through our design

+

Get inspired with our curated outfit ideas

+ +
+
+

Get the perfect fit

+

Get inspired with our curated outfit ideas

+ The future of fashion with our innovative designs. Customization options tailored to your measurements and discover your perfect fit in minutes +
+
+
+ +
+
+

Wear Your Identity

+

Fashion that speaks volumes

+ +
+
+

Timeless Quality

+

Fashion that stands the test of time

+ Invest in enduring fashion with our commitment to quality and 
+    durability.From custom-made tuxedos to business suits, each piece stands the test of time. +
+
+

Tailored to your specifications

+

Tailor every detail to match your preferences

+
+
+
-
- -
- -

Get the Perfect Fit

-

Experience a flawless & Ideal fit tailored to Your Specifications

-

The future of fashion with our innovative designs. Customization options tailored to your measurements witih a flawless silhouette every time.Discover your perfect fit in minutes.

- - {l s='Explore'} - - -
-
-
- -
-

Timeless Quality

-

Fashion that stands the test of time.

-

Invest in enduring fashion with our commitment to quality and durability. From custom-made tuxedos to business suits, each piece stands the test of time.

- - {l s='Explore' } - - -
-
- -

Browse through our Sophisticated Design

-

Get inspired with our curated outfit ideas, showcasing stylish combinations for every occasion. Customize your ensemble with custom-made shirts, stretch shirts, and sport jackets for men.

-
-
- -
- - -
-
- -
{l s='View More' d='Shop.Theme.Catalog'} -
+

Who Are We?

BrooksBingham is your destination for custom-tailored menswear, where authenticity is woven into every stitch. Experience our cutting-edge fitting technology for a flawless fit tailored to your measurements in minutes.Our perfect fit guarantee ensures that every piece you order is tailored to your exact specifications, delivering a perfect fit every time.