Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testimonials section #49

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 19 additions & 18 deletions _includes/sponsors.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
<div class="sponsors">
<div class="col-lg-10 offset-md-1">
<h3 class="subheader text-center" data-i18n="sponsors:sponsors.title">Amb el suport de</h3>
<div class="sponsors-wrapper container">
<div class="row">
<div class="sponsor-logo">
<img alt="Aresta" src='{{ "/assets/img/logo_aresta.jpg" | prepend:site.baseurl }}' />
</div>
<div class="sponsor-logo">
<img alt="Conreu sereny" src='{{ "/assets/img/logo_conreu_sereny.jpg" | prepend:site.baseurl }}' />
</div>
<div class="sponsor-logo">
<img alt="Desvestint aliments" src='{{ "/assets/img/logo_desvestint_aliments.jpg" | prepend:site.baseurl }}' />
</div>
<div class="sponsor-logo">
<img alt="30 panxes" src='{{ "/assets/img/logo_30_panxes.jpg" | prepend:site.baseurl }}' />
<div class="sponsors container-wrapper-special">
<div class="container">
<div class="row">
<div class="col-lg-10 offset-md-1">
<h3 class="subheader text-center" data-i18n="sponsors:sponsors.title">Amb el suport de</h3>
<div class="sponsors-wrapper">
<div class="sponsors-logo">
<img alt="Aresta" src='{{ "/assets/img/logo_aresta.jpg" | prepend:site.baseurl }}' />
</div>
<div class="sponsors-logo">
<img alt="Conreu sereny" src='{{ "/assets/img/logo_conreu_sereny.jpg" | prepend:site.baseurl }}' />
</div>
<div class="sponsors-logo">
<img alt="Desvestint aliments" src='{{ "/assets/img/logo_desvestint_aliments.jpg" | prepend:site.baseurl }}' />
</div>
<div class="sponsors-logo">
<img alt="30 panxes" src='{{ "/assets/img/logo_30_panxes.jpg" | prepend:site.baseurl }}' />
</div>
</div>
</div>
<p class="mt-5 col-lg-6 offset-md-3 text-center" data-i18n="[html]sponsors:sponsors.body">Moltes gràcies també a les <a href="" data-toggle="modal" data-target="#sponsorModal">103 persones i entitats</a> que han fet possible que la campanya de micromecenatge <a target="_blank" href="https://www.goteo.org/project/katuma">"Katuma: Fem fàcil el consum de productes de proximitat"</a> fos un èxit.</p>
</div>

<p class="container col-lg-6 offset-md-3 text-center" data-i18n="[html]sponsors:sponsors.body">Moltes gràcies també a les <a href="" data-toggle="modal" data-target="#sponsorModal">103 persones i entitats</a> que han fet possible que la campanya de micromecenatge <a target="_blank" href="https://www.goteo.org/project/katuma">"Katuma: Fem fàcil el consum de productes de proximitat"</a> fos un èxit.</p>
</div>
</div>
54 changes: 25 additions & 29 deletions _sass/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,32 +56,25 @@
}
}

.sponsors {
width: 100%;
background-color: #f3f3f3;
padding: 4rem 0;
margin-top: 7rem;

.container {
padding-top: 3rem;
}

.sponsors-wrapper {
border-radius: 4px;
background-color: #fff;
.container {
padding-top: 5rem;
}

.row {
align-items: center;
justify-content: center;
}
.container-wrapper-special {
background-color: #f3f3f3;
padding-bottom: 5rem;
}

.sponsor-logo {
padding: 1rem;
}
.sponsors-wrapper {
border-radius: 4px;
background-color: #fff;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;

&.container {
padding-top: 0;
}
.sponsors-logo {
padding: 1rem;
}
}

Expand All @@ -93,21 +86,22 @@
}
}

.showcase {
&.container {
padding: 2rem 0;
}
}

.showcase .image-block {
margin: 8rem 0px;
}

.feature-image-wrap {
width: 100%;
max-height: 320px;
overflow: hidden;
box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
}
.container {
padding-top: 5rem;
&.showcase {
padding: 2rem 0;
}
}

.principles h5 {
font-weight: bold;
Expand Down Expand Up @@ -139,6 +133,7 @@
color: $negative-color;
}
}

.container.call-to-action-block {
padding-bottom: 1.25rem;
}
Expand All @@ -148,6 +143,7 @@
margin-bottom: 20px;
font-size: 40px;
}

.subheader {
font-variant: small-caps;
text-transform: lowercase;
Expand Down
8 changes: 7 additions & 1 deletion _sass/ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $primary-button-color-hover: #332738;
}

.nav-link, .nav-link:hover {
border: none;
border: none;

&.active {
border-bottom: 3px solid $tertiary-color;
Expand Down Expand Up @@ -109,6 +109,12 @@ $primary-button-color-hover: #332738;
}
}

.quote {
&:before, &:after {
content: '"';
}
}

@media (min-width: 768px) {
.modal-body {
padding: 0 3rem 5rem 3rem;
Expand Down
61 changes: 55 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,63 @@ <h2 data-i18n="users:journeys.groups.title">Grups de consum</h2>

</div>

<div class="container open-food-network">
<div class="open-food-network container-wrapper-special">
<div class="container">
<div class="row text-center">
<div class="col-lg-6 offset-lg-3">
<h2 data-i18n="users:open-food-network.title">Sumem esforços</h2>
<p data-i18n="[html]users:open-food-network.body">Katuma és membre afiliat del projecte <a href="https://openfoodnetwork.org">Open Food Network</a>, present a Austràlia, Regne Unit, Canadà i França entre d'altres països. Els desenvolupadors que traballen a Katuma formen part del nucli del projecte.</p>
<a href="https://openfoodnetwork.org">
<img class="ofn" src='{{ "/assets/img/ofn.png" | prepend:site.baseurl }}' width="50%" alt="Open Food Network logo">
</a>
</div>
</div>
</div>
</div>

<div class="testimonials container">
<div class="row text-center">
<div class="col-lg-6 offset-lg-3">
<h2 data-i18n="users:open-food-network.title">Sumem esforços</h2>
<p data-i18n="[html]users:open-food-network.body">Katuma és membre afiliat del projecte <a href="https://openfoodnetwork.org">Open Food Network</a>, present a Austràlia, Regne Unit, Canadà i França entre d'altres països. Els desenvolupadors que traballen a Katuma formen part del nucli del projecte.</p>
<a href="https://openfoodnetwork.org">
<img class="ofn" src='{{ "/assets/img/ofn.png" | prepend:site.baseurl }}' width="50%" alt="Open Food Network logo">
</a>
<h2 class="mb-5" data-i18n="testimonials:testimonials.title">Testimonis</h2>
</div>
</div>

<div class="row">
<div class="col-lg-3 col-sm-6 mb-5">
<div class="mb-4">
<img src="https://thispersondoesnotexist.com/" alt="Menganeta" width="150" height="150">
</div>
<blockquote cite="http://">
<p class="quote" data-i18n="testimonials:testimonial-1.body">fuga ea ut voluptatibus voluptate eaque perferendis et sit aut voluptas sunt quod autem ratione voluptate laborum beatae hic nihil</p>
<footer>Menganeta, <span data-i18n="testimonials:testimonial-1.represents">Generalitat de Catalunya</span></footer>
</blockquote>
</div>
<div class="col-lg-3 col-sm-6 mb-5">
<div class="mb-4">
<img src="https://thispersondoesnotexist.com/" alt="Menganeta" width="150" height="150">
</div>
<blockquote cite="http://">
<p class="quote" data-i18n="testimonials:testimonial-1.body">fuga ea ut voluptatibus voluptate eaque perferendis et sit aut voluptas sunt quod autem ratione voluptate laborum beatae hic nihil</p>
<footer>Menganeta, <span data-i18n="testimonials:testimonial-1.represents">Generalitat de Catalunya</span></footer>
</blockquote>
</div>
<div class="col-lg-3 col-sm-6 mb-5">
<div class="mb-4">
<img src="https://thispersondoesnotexist.com/" alt="Menganeta" width="150" height="150">
</div>
<blockquote cite="http://">
<p class="quote" data-i18n="testimonials:testimonial-1.body">fuga ea ut voluptatibus voluptate eaque perferendis et sit aut voluptas sunt quod autem ratione voluptate laborum beatae hic nihil</p>
<footer>Menganeta, <span data-i18n="testimonials:testimonial-1.represents">Generalitat de Catalunya</span></footer>
</blockquote>
</div>
<div class="col-lg-3 col-sm-6 mb-5">
<div class="mb-4">
<img src="https://thispersondoesnotexist.com/" alt="Menganeta" width="150" height="150">
</div>
<blockquote cite="http://">
<p class="quote" data-i18n="testimonials:testimonial-1.body">fuga ea ut voluptatibus voluptate eaque perferendis et sit aut voluptas sunt quod autem ratione voluptate laborum beatae hic nihil</p>
<footer>Menganeta, <span data-i18n="testimonials:testimonial-1.represents">Generalitat de Catalunya</span></footer>
</blockquote>
</div>
</div>
</div>
Expand Down
9 changes: 9 additions & 0 deletions locales/ca/testimonials.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"testimonials": {
"title": "Testimonis"
},
"testimonial-1": {
"body": "fuga ea ut voluptatibus voluptate eaque perferendis et sit aut voluptas sunt quod autem ratione voluptate laborum beatae hic nihil",
"represents": "Generalitat de Catalunya"
}
}
9 changes: 9 additions & 0 deletions locales/en/testimonials.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"testimonials": {
"title": "Testimonials"
},
"testimonial-1": {
"body": "fuga ea ut voluptatibus voluptate eaque perferendis et sit aut voluptas sunt quod autem ratione voluptate laborum beatae hic nihil",
"represents": "Generalitat de Catalunya"
}
}
9 changes: 9 additions & 0 deletions locales/es/testimonials.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"testimonials": {
"title": "Testimonios"
},
"testimonial-1": {
"body": "fuga ea ut voluptatibus voluptate eaque perferendis et sit aut voluptas sunt quod autem ratione voluptate laborum beatae hic nihil",
"represents": "Generalitat de Catalunya"
}
}
9 changes: 9 additions & 0 deletions locales/pt/testimonials.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"testimonials": {
"title": "Depoimentos"
},
"testimonial-1": {
"body": "fuga ea ut voluptatibus voluptate eaque perferendis et sit aut voluptas sunt quod autem ratione voluptate laborum beatae hic nihil",
"represents": "Generalitat de Catalunya"
}
}