|
30 | 30 | {% endfragment %} {% fragment footer() %} |
31 | 31 | <footer class="sf-footer sf-container"> |
32 | 32 | <div class="sf-footer__content"> |
33 | | - <div class="sf-footer__top"> |
34 | | - <p class="sf-footer__tagline"> |
35 | | - A Deliberately Developmental Organization. |
36 | | - </p> |
37 | | - <p class="sf-footer__tagline">Built by real people, for real impact.</p> |
38 | | - <p class="sf-footer__tagline"> |
39 | | - Let's grow something meaningful together. |
40 | | - </p> |
| 33 | + |
| 34 | + {% if data.global.companyMission and data.global.companyMission.items and data.global.companyMission.items.length > 0 %} |
| 35 | + <div class="sf-footer__mission"> |
| 36 | + <div class="sf-footer__mission-content"> |
| 37 | + {% area data.global, 'companyMission' %} |
| 38 | + </div> |
41 | 39 | </div> |
| 40 | + {% endif %} |
42 | 41 |
|
43 | 42 | <div class="sf-footer__links"> |
44 | | - <div class="sf-footer__links-group"> |
45 | | - <a |
46 | | - href="https://www.linkedin.com/company/speed-and-function/" |
47 | | - class="sf-footer__links-item" |
48 | | - target="_blank" |
49 | | - rel="noopener noreferrer" |
50 | | - > |
51 | | - linkedin |
| 43 | + {% if data.global.socialMediaLinks and data.global.socialMediaLinks.length > 0 %} |
| 44 | + <div class="sf-footer__links-group"> |
| 45 | + {% for item in data.global.socialMediaLinks %} |
| 46 | + <a |
| 47 | + href="{% if item.SMLink.linkType == 'page' and item.SMLink._page %}{{ item.SMLink._page._url }}{% else %}{{ item.SMLink.customUrl }}{% endif %}" |
| 48 | + class="sf-footer__links-item" |
| 49 | + {% if item.SMLink.target and item.SMLink.target.includes('_blank') %}target="_blank" rel="noopener noreferrer"{% endif %} |
| 50 | + > |
| 51 | + {{ item.SMLink.linkTitle }} |
52 | 52 | </a> |
| 53 | + {% endfor %} |
| 54 | + </div> |
| 55 | + {% endif %} |
| 56 | + |
| 57 | + {% if data.global.footerLinks and data.global.footerLinks.length > 0 %} |
| 58 | + <div class="sf-footer__links-group"> |
| 59 | + {% for item in data.global.footerLinks %} |
53 | 60 | <a |
54 | | - href="mailto:connect@speedandfunction.com" |
| 61 | + href="{% if item.footerLink.linkType == 'page' and item.footerLink._page %}{{ item.footerLink._page._url }}{% else %}{{ item.footerLink.customUrl }}{% endif %}" |
55 | 62 | class="sf-footer__links-item" |
| 63 | + {% if item.footerLink.target and item.footerLink.target.includes('_blank') %}target="_blank" rel="noopener noreferrer"{% endif %} |
56 | 64 | > |
57 | | - connect@speedandfunction.com |
| 65 | + {{ item.footerLink.linkTitle }} |
58 | 66 | </a> |
| 67 | + {% endfor %} |
59 | 68 | </div> |
60 | | - <a |
61 | | - href="/privacy-policy" |
62 | | - class="sf-footer__links-item sf-footer__links-item--policy" |
63 | | - > |
64 | | - privacy policy |
65 | | - </a> |
| 69 | + {% endif %} |
| 70 | + </div> |
| 71 | + |
| 72 | + {% if data.global.footerForm and data.global.footerForm.items and data.global.footerForm.items.length > 0 %} |
| 73 | + <div class="sf-footer__form"> |
| 74 | + {% area data.global, 'footerForm' %} |
66 | 75 | </div> |
| 76 | + {% endif %} |
67 | 77 |
|
68 | 78 | <div class="sf-footer__bottom"> |
69 | 79 | <p class="sf-copy">© {{ data.currentYear or '2025' }} S&F</p> |
|
0 commit comments