diff --git a/resources/css/app.scss b/resources/css/app.scss index 30a666a5b..ba0355451 100644 --- a/resources/css/app.scss +++ b/resources/css/app.scss @@ -241,14 +241,6 @@ h4 { font-weight: bold; } -.img-face-smaller-right { - max-width: 5em; -} - -.img-face-smaller-left { - max-width: 7rem; - margin: .1em auto 1.6em auto; -} .blockquote { font-size: 1.4em; diff --git a/resources/json-database/references.json b/resources/json-database/references.json index 8b708e92c..af7a6c304 100644 --- a/resources/json-database/references.json +++ b/resources/json-database/references.json @@ -12,7 +12,7 @@ "picture": "/assets/images/faces/adam_gleiss.jpg" }, { - "testimonial": "Tomas' deep expertise and tools-driven approach allowed us to modernize a significantly large legacy PHP codebase while teaching us best practices. Rector team worked around our schedule to ensure minimal disruption.
I highly recommend Rector team for legacy PHP code modernization!", + "testimonial": "Tomas' deep expertise and tools-driven approach allowed us to modernize a significantly large legacy PHP codebase while teaching us best practices. Rector team worked around our schedule to ensure minimal disruption. I highly recommend Rector team for legacy PHP code modernization!", "name": "Eric Molitor", "position": "CTO at Curve", "picture": "/assets/images/faces/eric_molitor.jpg" diff --git a/resources/views/_snippets/javascripts.blade.php b/resources/views/_snippets/javascripts.blade.php index ad5842ffd..70198ed57 100644 --- a/resources/views/_snippets/javascripts.blade.php +++ b/resources/views/_snippets/javascripts.blade.php @@ -78,3 +78,23 @@ @endif + + + diff --git a/resources/views/hire_team/references.blade.php b/resources/views/hire_team/references.blade.php index d7c553e3c..3e3667663 100644 --- a/resources/views/hire_team/references.blade.php +++ b/resources/views/hire_team/references.blade.php @@ -7,6 +7,8 @@ overflow: hidden; position: relative; padding-bottom: 1em; + max-width: 50em; + user-select: none; /* Prevent text selection during drag */ } .testimonial-carousel__track { @@ -14,7 +16,6 @@ transition-property: transform; transition-duration: .5s; transition-timing-function: ease-in-out; - align-items: flex-start; } .testimonial-carousel__item { @@ -31,27 +32,54 @@ max-width: 56rem; } - /* Navigation buttons */ + .company-quote-card-body { + padding: 1.5em 1em 0 2em; + } + + .profile-section { + display: flex; + margin-top: 2em; /* Reduced from mt-5 for better spacing */ + } + + .profile-image { + height: 5em; + border-radius: 50%; + margin: 0 1em 1em 0; /* Adjusted to remove extra bottom margin */ + } + + .profile-info { + display: flex; + flex-direction: column; + } + + .profile-info .name { + font-size: 1.5em; + } + .testimonial-carousel__button { - position: absolute; - top: 43%; - transform: translateY(-50%); + text-align: right; background: rgba(0, 0, 0, 0.5); color: white; border: none; - padding: .5rem 1rem .7rem 1rem; cursor: pointer; - border-radius: 0.3125rem; /* 5px */ transition: background 0.3s; + width: 2.5rem; /* Circular button size */ + height: 2.5rem; + border-radius: 50%; /* Make buttons circular */ + display: flex; + align-items: center; + justify-content: center; + position: static; /* Remove absolute positioning */ + margin: 1rem .3em auto; /* Add spacing between buttons and above */ } - .company-quote-card-body { - display: flex; - padding: 1.5em 1em 0 2em; + .testimonial-carousel__button svg { + width: 1.2rem; + height: 1.2rem; + fill: white; } - .testimonial-carousel__button:hover, - .testimonial-carousel__button:focus { + .testimonial-carousel__button:hover, .testimonial-carousel__button:focus { background: rgba(0, 0, 0, 0.8); outline: none; } @@ -76,44 +104,64 @@ } +
+ +"{!! $reference['testimonial'] !!}"
- -