From 63984c9b30686341eb53f50ff3ed8dcfd65843aa Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Fri, 9 May 2025 11:45:15 +0200 Subject: [PATCH 1/2] add more shortcuts --- .../views/_snippets/javascripts.blade.php | 20 +++++++++++++++++++ resources/views/homepage/homepage.blade.php | 13 ------------ 2 files changed, 20 insertions(+), 13 deletions(-) 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/homepage/homepage.blade.php b/resources/views/homepage/homepage.blade.php index 1fa626493..c407d35e7 100644 --- a/resources/views/homepage/homepage.blade.php +++ b/resources/views/homepage/homepage.blade.php @@ -139,7 +139,6 @@ class="img-fluid img-thumbnail"> @endif @include('homepage/_parts/posts') - @include('_snippets/homepage_separator')

@@ -147,7 +146,6 @@ class="img-fluid img-thumbnail">

@include('hire_team/references') - @include('_snippets/homepage_separator')

FAQ

@@ -155,15 +153,4 @@ class="img-fluid img-thumbnail"> @include('homepage/_parts/faq') - - @endsection From f1e3a03ac1fea2e21191ffbec46057baa786aac7 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Fri, 9 May 2025 12:14:04 +0200 Subject: [PATCH 2/2] improve testimonials with simple desing --- resources/css/app.scss | 8 -- resources/json-database/references.json | 2 +- .../views/hire_team/references.blade.php | 114 ++++++++++++------ resources/views/homepage/_parts/faq.blade.php | 2 +- 4 files changed, 82 insertions(+), 44 deletions(-) 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/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 @@ } +

diff --git a/resources/views/homepage/_parts/faq.blade.php b/resources/views/homepage/_parts/faq.blade.php index bf9510cc1..dea6e509a 100644 --- a/resources/views/homepage/_parts/faq.blade.php +++ b/resources/views/homepage/_parts/faq.blade.php @@ -1,7 +1,7 @@