Skip to content

Commit

Permalink
task 21 - add feedback form link to CMS
Browse files Browse the repository at this point in the history
  • Loading branch information
SourabhChakraborty committed Feb 23, 2024
1 parent 04429ba commit b8f12e0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion wp-content/themes/workingnyc/acf-json/group_5f85f88f37a35.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,23 @@
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_65d8dcf16903e",
"label": "Feedback form link",
"name": "feedback_form_link",
"type": "url",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"relevanssi_exclude": 0,
"default_value": "",
"placeholder": ""
}
],
"location": [
Expand All @@ -260,5 +277,5 @@
"active": true,
"description": "",
"show_in_rest": 0,
"modified": 1706805507
"modified": 1708711168
}
2 changes: 1 addition & 1 deletion wp-content/themes/workingnyc/views/objects/footer.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<div class="tablet:float-right desktop:float-right">
{# TODO: feedback URL should come from global field + shortcode #}
<a class="btn btn-small tablet:btn btn-secondary pointer-events-auto" href="https://airtable.com/appHMkkbuN08pgjwz/shrfQGpXvo9mmmHpJ">Send us feedback</a>
<a class="btn btn-small tablet:btn btn-secondary pointer-events-auto" target="_blank" href="{{ options.feedback_form_link }}">Send us feedback</a>
</div>
</nav>
<nav class="o-attribution__flex border-t border-slate-300 pt-3 items-start">
Expand Down

0 comments on commit b8f12e0

Please sign in to comment.