Skip to content

Commit

Permalink
v1.13.0 Multiple style fixes (#76)
Browse files Browse the repository at this point in the history
* WH-989 WH-1002 Footer links fixes

* v1.13.0 return back takeaway links to point to old version of landing pages(not valtech)

* v1.13.0 small style fixes and layout change for feedback block

* v1.13.0 yarn update
  • Loading branch information
dandel10n authored and DamianMullins committed Feb 12, 2019
1 parent a59be77 commit 7629ea4
Show file tree
Hide file tree
Showing 8 changed files with 550 additions and 437 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


v1.13.0
------------------------------
*February 12, 2019*

### Changed
- Return back previous links for popular locations
- Return back previous links for popular cuisines
- Add link to company website
- Change link for pizza cuisine
- Fix some styles and layout for feedback block
- Fix some styles for country selector
- Remove `target="_blank"` from country selector


v1.12.0
------------------------------
*February 6, 2019*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@justeat/f-footer",
"description": "Fozzie footer – Footer Component for Just Eat projects",
"version": "1.12.0",
"version": "1.13.0",
"main": "dist/js/index.js",
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion src/scss/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ $footer-socialIconColor : $grey--dark !default;
}

.c-footer-feedbackText {
margin: 0 0 0 spacing(x2);
margin: 0 spacing(x2) 0 0;
}

.c-footer-countries {
Expand Down
2 changes: 1 addition & 1 deletion src/scss/partials/_countrySelector.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $countrySelector-boxShadow : 0 2px 28px rgba(51, 51, 51, 0.08) !default;

.c-countrySelector-link--selected {
font-weight: $font-weight-bold;
padding: spacing(x2);
padding: spacing(x2) 0 spacing(x2) spacing(x2);
}

.c-countrySelector-flag {
Expand Down
22 changes: 4 additions & 18 deletions src/templates/footer/partials/apps-and-social-links.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,8 @@

<div class="g-col g-span3 c-footer-feedback is-invisible" data-gtm-feedback>
<h2 class="c-footer-heading">{{ i18n "feedback" }}</h2>
<div class="g">
<div class="g-col g-span2">
<div class="c-footer-feedbackLogo">
<svg width="44" height="32" viewBox="0 0 44 32">
<g id="o-feedbackLogo" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M31.1433088,26.7702396 L31.9029017,26.7702396 L34.0550816,28.8968474 L36.7136567,31.5238335 C36.8402556,31.6489281 36.9668544,31.7740227 37.0934532,31.7740227 C37.220052,31.7740227 37.3466508,31.8991173 37.4732496,31.8991173 C37.5998485,31.8991173 37.8530461,31.7740227 37.9796449,31.6489281 C38.1062437,31.398739 38.2328425,31.1485498 38.2328425,30.7732661 L38.2328425,25.0189155 C41.1446153,23.392686 43.0435976,20.8907945 43.0435976,18.0136192 C43.0435976,13.2600252 37.7264473,9.25699874 31.1433088,9.25699874 C30.2571171,9.25699874 29.3709254,9.38209332 28.4847337,9.50718789 L27.3453443,15.7619168 L20.3824094,19.2645649 L19.2430201,18.0136192 C19.2430201,22.7672131 24.5601704,26.7702396 31.1433088,26.7702396 Z" id="Shape" fill="#535353"></path>
<path d="M14.9386603,0 C6.70973727,0 0.126598816,4.87868852 0.126598816,10.8832282 C0.126598816,14.510971 2.53197633,17.6383354 6.203342,19.6398487 L6.203342,26.8953342 C6.203342,27.2706179 6.32994082,27.6459016 6.45653963,27.8960908 C6.58313845,28.0211854 6.83633608,28.1462799 7.08953372,28.1462799 C7.21613253,28.1462799 7.46933016,28.0211854 7.59592898,28.0211854 C7.7225278,27.8960908 7.97572543,27.8960908 8.10232425,27.6459016 L11.3938935,24.3934426 L14.0524686,21.7664565 L15.0652591,21.7664565 C23.2941822,21.7664565 29.8773207,16.887768 29.8773207,10.8832282 C29.8773207,4.87868852 23.1675834,0 14.9386603,0 L14.9386603,0 Z M14.9386603,18.3889029 C8.73531833,18.3889029 3.54476686,14.8862547 3.54476686,11.0083228 C3.54476686,7.00529634 8.73531833,3.50264817 14.9386603,3.50264817 C21.1420023,3.50264817 26.3325538,7.00529634 26.3325538,10.8832282 C26.4591526,15.0113493 21.1420023,18.3889029 14.9386603,18.3889029 L14.9386603,18.3889029 Z" id="Shape" fill="#535353"></path>
</g>
</svg>
</div>
</div>
<div class="g-col g-span10">
<p class="c-footer-feedbackText">
{{ i18n "improveOurWebsite" }}
<a href="#">{{ i18n "sendFeedback" }}</a>
</p>
</div>
</div>
<p class="c-footer-feedbackText">
{{ i18n "improveOurWebsite" }}
<a href="#" class="o-link--bold o-link--full">{{ i18n "sendFeedback" }}</a>
</p>
</div>
2 changes: 1 addition & 1 deletion src/templates/footer/partials/country-selector.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ul class="c-countrySelector-list is-hidden" data-toggle-name="countrySelector-list">
{{#each (i18n "countries") as | country |}}
<li>
<a class="c-countrySelector-link" target="_blank" href="{{ country.siteUrl }}">
<a class="c-countrySelector-link" href="{{ country.siteUrl }}">
{{!-- {{> je-svg-sprite cssClass="c-icon--flag--small" spriteUrl=(concat (lookup ../svgSpriteModel 'iconsSpritePath') '#icons-flags-flag.' country.key) }} --}}
<img class="c-icon--flag--small" src="{{ lookup ../flagIconPaths country.flagUrl }}" alt="" />
<p>{{ country.localisedName }}</p>
Expand Down
48 changes: 24 additions & 24 deletions src/templates/resources/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -568,50 +568,50 @@
"cuisines": "Top cuisines",
"cuisineLinks": [
{
"url": "/takeaway/nearme/chinese",
"url": "/chinese-takeaways",
"text": "Chinese"
},
{
"url": "/takeaway/nearme/indian",
"url": "/indian-takeaways",
"text": "Indian"
},
{
"url": "/takeaway/nearme/italian",
"url": "/italian-takeaways",
"text": "Italian"
},
{
"url": "/takeaway/nearme/sushi",
"url": "/japanese-takeaways",
"text": "Japanese"
},
{
"url": "/takeaway/nearme/pizza",
"url": "/pizza-takeaways",
"text": "Pizza delivery"
},
{
"url": "/takeaway/nearme",
"url": "/cuisine",
"text": "View all cuisines"
}
],
"towns": "Locations",
"locationLinks": [
{
"url": "/takeaway/birmingham",
"url": "/birmingham-takeaway",
"text": "Birmingham"
},
{
"url": "/takeaway/cardiff",
"url": "/cardiff-takeaway",
"text": "Cardiff"
},
{
"url": "/takeaway/glasgow",
"url": "/glasgow-takeaway",
"text": "Glasgow"
},
{
"url": "/takeaway/leeds",
"url": "/leeds-takeaway",
"text": "Leeds"
},
{
"url": "/takeaway/manchester",
"url": "/manchester-takeaway",
"text": "Manchester"
},
{
Expand Down Expand Up @@ -646,7 +646,7 @@
"text": "About us"
},
{
"url": "/",
"url": "https://www.just-eat.com/",
"text": "Company website"
},
{
Expand Down Expand Up @@ -2544,50 +2544,50 @@
"cuisines": "[Ţöþẋ çûîšîñéšẋẋẋ]",
"cuisineLinks": [
{
"url": "/takeaway/nearme/chinese",
"url": "/chinese-takeaways",
"text": "[Çĥîñéšéẋẋẋ]"
},
{
"url": "/takeaway/nearme/indian",
"url": "/indian-takeaways",
"text": "[Îñðîåñẋẋ]"
},
{
"url": "/takeaway/nearme/italian",
"url": "/italian-takeaways",
"text": "[Îţåļîåñẋẋẋ]"
},
{
"url": "/takeaway/nearme/sushi",
"url": "/sushi-takeaways",
"text": "[Ĵåþåñéšéẋẋẋ]"
},
{
"url": "/takeaway/nearme/pizza",
"url": "/pizza-takeaways",
"text": "[Þîžžåẋẋ ðéļîṽéŕýẋẋẋ]"
},
{
"url": "/takeaway/nearme",
"url": "/cuisine",
"text": "[Ṽîéŵẋẋ åļļẋ çûîšîñéšẋẋẋ]"
}
],
"towns": "[Ļöçåţîöñšẋẋẋ]",
"locationLinks": [
{
"url": "/takeaway/birmingham",
"url": "/birmingham-takeaway",
"text": "[Ɓîŕɱîñĝĥåɱẋẋẋẋ]"
},
{
"url": "/takeaway/cardiff",
"url": "/cardiff-takeaway",
"text": "[Çåŕðẋẋẋ]"
},
{
"url": "/takeaway/glasgow",
"url": "/glasgow-takeaway",
"text": "[Ĝļåšĝöŵẋẋẋ]"
},
{
"url": "/takeaway/leeds",
"url": "/leeds-takeaway",
"text": "[Ļééðšẋẋ]"
},
{
"url": "/takeaway/manchester",
"url": "/manchester-takeaway",
"text": "[Ṁåñçĥéšţéŕẋẋẋẋ]"
},
{
Expand Down Expand Up @@ -2622,7 +2622,7 @@
"text": "[Åƀöûţẋẋ ûšẋ]"
},
{
"url": "/",
"url": "https://www.just-eat.com/",
"text": "[Çöɱþåñýẋẋẋ ŵéƀšîţéẋẋẋ]"
},
{
Expand Down
Loading

0 comments on commit 7629ea4

Please sign in to comment.