From e31ed29962fd9b22de29d968867fb4a09b99ab2b Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Sun, 23 Aug 2026 16:05:31 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8feature:=20Enhance=20footer=20with=20s?= =?UTF-8?q?ocial=20media=20links=20and=20styling=20updates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- acf/group_5fd3e006e5da5.json | 133 ++------------ footer.php | 85 +++++++-- header.php | 1 - styles/components/site-footer.css | 166 +++++++++++++++--- .../recent-projects/recent-projects.php | 3 + views/components/project-card.php | 26 +-- views/components/project-stat-card.php | 4 +- views/icons/gitea.php | 1 + views/icons/github.php | 1 + views/partials/social-media.php | 70 ++++++-- 10 files changed, 299 insertions(+), 191 deletions(-) create mode 100644 views/icons/gitea.php create mode 100644 views/icons/github.php diff --git a/acf/group_5fd3e006e5da5.json b/acf/group_5fd3e006e5da5.json index d8f300f..cfe09bc 100644 --- a/acf/group_5fd3e006e5da5.json +++ b/acf/group_5fd3e006e5da5.json @@ -84,8 +84,8 @@ "label": "Social Media", "name": "social_media", "aria-label": "", - "type": "group", - "instructions": "", + "type": "repeater", + "instructions": "Add social media links. The service icon will be auto-detected from the URL domain.", "required": 0, "conditional_logic": 0, "wrapper": { @@ -93,15 +93,19 @@ "class": "", "id": "" }, - "layout": "row", + "collapsed": "", + "min": 0, + "max": 0, + "layout": "table", + "button_label": "Add Social Link", "sub_fields": [ { - "key": "field_677bf0e692d3c", - "label": "Facebook", - "name": "facebook", + "key": "field_677bf0e692d40", + "label": "URL", + "name": "url", "aria-label": "", "type": "url", - "instructions": "", + "instructions": "Enter the full URL to your social media profile", "required": 0, "conditional_logic": 0, "wrapper": { @@ -112,78 +116,6 @@ "default_value": "", "allow_in_bindings": 1, "placeholder": "" - }, - { - "key": "field_677bf0e692d3e", - "label": "Instagram", - "name": "instagram", - "aria-label": "", - "type": "url", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "allow_in_bindings": 1, - "placeholder": "" - }, - { - "key": "field_677bf0e692d3d", - "label": "X\/Twitter", - "name": "twitter", - "aria-label": "", - "type": "url", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "allow_in_bindings": 1, - "placeholder": "" - }, - { - "key": "field_677bf0e692d41", - "label": "LinkedIn", - "name": "linkedin", - "aria-label": "", - "type": "url", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "allow_in_bindings": 1, - "placeholder": "" - }, - { - "key": "field_6a82713dd82d4", - "label": "Github", - "name": "github", - "aria-label": "", - "type": "url", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "allow_in_bindings": 0, - "placeholder": "" } ] }, @@ -289,26 +221,6 @@ "max_size": "", "mime_types": "" }, - { - "key": "field_64761ea8cb0dd", - "label": "Footer Description", - "name": "footer_description", - "aria-label": "", - "type": "wysiwyg", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "tabs": "all", - "toolbar": "full", - "media_upload": 1, - "delay": 0 - }, { "key": "field_61df3348c3795", "label": "Copyright Text", @@ -329,27 +241,6 @@ "placeholder": "", "prepend": "", "append": "" - }, - { - "key": "field_684af923d5f68", - "label": "Credit Text", - "name": "credit_text", - "aria-label": "", - "type": "text", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "Web Design & Development by Vincent Design<\/strong><\/a>", - "maxlength": "", - "allow_in_bindings": 1, - "placeholder": "", - "prepend": "", - "append": "" } ] }, @@ -417,5 +308,5 @@ "display_title": "", "allow_ai_access": false, "ai_description": "", - "modified": 1787063276 + "modified": 1787502285 } diff --git a/footer.php b/footer.php index 61f88cb..8d176be 100644 --- a/footer.php +++ b/footer.php @@ -25,22 +25,26 @@ $footerNav = ! empty( $locations['footer_navigation'] )