Skip to content

Commit

Permalink
GitHub Pages Customer Testimonials (#5314)
Browse files Browse the repository at this point in the history
* add testimonial section

* more consistent spacing

* add tongs texts

* Fix comments in qfield.css

* Fixes for existing testimonials

* Adding customer success stories (draft)

* Fix index.html validity and indentation

* update texts and images

* better titles

* better quote style

* rebase

* justify testimonials

* unify format for citations

* add MAFFF to success stories

* NLS text

* shorter NLS text

* rename to German Archaeological Institute

* use licensed image for DB

* update testimonials

* remove useless file

---------

Co-authored-by: olivierdalang <[email protected]>
Co-authored-by: Marco Bernasocchi <[email protected]>
  • Loading branch information
3 people authored Aug 23, 2024
1 parent 6ff6d43 commit 792add3
Show file tree
Hide file tree
Showing 17 changed files with 1,461 additions and 34 deletions.
6 changes: 3 additions & 3 deletions _static/qfield.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ body {

div.navbar{
background-color:#80CC28;
// Animation
/* Animation */
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
height: 100px !important;
Expand Down Expand Up @@ -45,7 +45,7 @@ span.shadow-background {

.navbar-brand>span,
span.shadow-background {
// Animation
/* Animation */
-webkit-transition: all 0.4s;
transition: all 0.4s;

Expand All @@ -56,7 +56,7 @@ span.shadow-background {

.navbar-brand>span.unobtrusive,
span.shadow-background.unobtrusive {
// Animation
/* Animation */
-webkit-transition: all 0.4s;
transition: all 0.4s;

Expand Down
152 changes: 146 additions & 6 deletions css/qfield.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:root {
--qfield-color: #80cc28;
}

body {
padding-top: 120px;
/* background-color: #f4f4f4; */
Expand All @@ -6,7 +10,7 @@ body {
#navbar {
margin-bottom:0px !important;
height: 100px;
background-color:#80CC28;
background-color: var(--qfield-color);
border:0;
font-family:TruenoLight;
}
Expand All @@ -20,7 +24,7 @@ div.navbar li a {
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
background-color:#80cc28;
background-color:var(--qfield-color);
}

@media (min-width: 768px) {
Expand Down Expand Up @@ -122,10 +126,14 @@ footer.footer {
margin-top:4px;
}

#main-points p{
#main-points p, #customers p, #testimonials p{
text-align: justify;
}

#main-points {
margin-bottom:70px;
}

.point {
background: white;
height: auto;
Expand All @@ -139,22 +147,154 @@ text-align: justify;
max-width:100%;
}

#customers {
background-color: #ddd;
padding: 3em 0;
}

#customers>h2 {
margin-top: 0;
margin-bottom: 1em;
}

#customers .customer-logos {
margin-bottom: 2em;
}

#customers .customer-logos img {
width: 6em;
height: 6em;
object-fit: contain;
padding: 1.5em;
transition: all 0.2s linear, padding 0.5s ease-in-out;
margin: 0 0.5em;
filter: grayscale(100%);
border-radius: 20px;
}

#customers .customer-logos img:hover {
cursor: pointer;
filter: grayscale(0%);
background-color: #fff;
}

#customers .customer-logos img.customer-active {
filter: grayscale(0%);
padding: 1.25em;
/* animation of padding change */
transition: all 0.5s ease;
background-color: #fff;
}

#customers .customer-card {
display: none;
transition: opacity 2s ease;
opacity: 0;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

#customers .customer-card.customer-active {
display: block;
animation: fadeIn 1s;
opacity: 1;
}

#customers .customer-image {
display: none;
}

#customers .customer-image.customer-active {
display: block;
animation: fadeIn 1s;
opacity: 1;
}

#customers hr {
border-color: #212121;
width: 50%;
margin-bottom: 0;
}

#customers .customer-image {
position: relative;
}

#customers .customer-image img {
border-radius: 20px;
width: 100%;
aspect-ratio : 1 / 0.66;
object-fit: cover;
}

#customers .customer-image a {
position: absolute;
right: 2em;
bottom: 2em;
font-family: TruenoLight;
background-color: var(--qfield-color);
color: #fff;
border-color: #ddd;
}

#customers .customer-image a:hover {
border-color: #fff;
}

#testimonials {
padding: 3em 0;
}

#testimonials>h2 {
margin-top: 0;
margin-bottom: 1em;
}

#testimonials .testimonials-container {
max-width:1140px;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}

#testimonials .testimonial {
padding-bottom: 2em;
}

#testimonials .testimonial hr {
border-color: #212121;
width: 50%;
margin-bottom: 0;
}

#testimonials .stars {
color: #212121;
}
#testimonials cite, #customers cite {
font-size: 0.8em;
float: right;
}

#about {
background-color: #212121;
height: auto;
margin: 40px auto 0px auto;
margin: 0 auto 0px auto;
width: 100%;
position: relative;
padding: 100px 0;
color: #fff;
}

#about a, #about a:visited, #about a:focus {
color:#80cc28;
color:var(--qfield-color);
}

#about a:hover {
color:#80cc28;
color:var(--qfield-color);
text-decoration:underline;
}

Expand Down
28 changes: 28 additions & 0 deletions images/customer/dainst.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/customer/dainst_img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions images/customer/db.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/customer/db_img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/customer/kgr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/customer/maff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/customer/maff_img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions images/customer/nls.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/customer/nls_img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 792add3

Please sign in to comment.