Skip to content

Commit 48db8a9

Browse files
committed
Update footer with socials
1 parent 6023527 commit 48db8a9

File tree

3 files changed

+55
-33
lines changed

3 files changed

+55
-33
lines changed

data/team.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ location: "Greenwood, Indiana"
55
rookie_year: 2005
66

77
social:
8-
thebluealliance: "https://www.thebluealliance.com/team/1741"
8+
facebook: "https://facebook.com/redalertrobotics"
9+
twitter: "https://twitter.com/RedAlert1741"
10+
instagram: "https://www.instagram.com/redalert1741/"
11+
youtube: "https://www.youtube.com/user/redalert1741"
12+
flickr: "https://www.flickr.com/photos/rar1741/"
913
github: "https://github.com/RAR1741"
10-
# Uncomment and fill in as needed:
11-
# instagram: ""
12-
# twitter: ""
13-
# facebook: ""
14-
# youtube: ""
14+
thebluealliance: "https://www.thebluealliance.com/team/1741"

docs/MIGRATION-COMPARISON.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ Home
110110

111111
| Platform | WordPress | Beta |
112112
|----------|-----------|------|
113-
| Facebook | ✅ facebook.com/redalertrobotics | ❌ Missing |
114-
| Twitter/X | ✅ twitter.com/RedAlert1741 | ❌ Missing |
115-
| Instagram | ✅ instagram.com/redalert1741/ | ❌ Missing |
116-
| YouTube | ✅ youtube.com/user/redalert1741 | ❌ Missing |
117-
| Flickr | ✅ flickr.com/photos/rar1741/ | ❌ Missing |
113+
| Facebook | ✅ facebook.com/redalertrobotics | ✅ Footer link + icon |
114+
| Twitter/X | ✅ twitter.com/RedAlert1741 | ✅ Footer link + icon |
115+
| Instagram | ✅ instagram.com/redalert1741/ | ✅ Footer link + icon |
116+
| YouTube | ✅ youtube.com/user/redalert1741 | ✅ Footer link + icon |
117+
| Flickr | ✅ flickr.com/photos/rar1741/ | ✅ Footer link + icon |
118118
| The Blue Alliance | ❌ Not in header/footer | ✅ Footer link |
119-
| GitHub | ✅ Sidebar link | ✅ Footer link |
119+
| GitHub | ✅ Sidebar link | ✅ Footer link + icon |
120120
| FIRST Inspires | ❌ Not linked | ✅ Footer link |
121121

122122
---
@@ -179,7 +179,7 @@ All 16 robots (2006–2025) have been migrated to `/robots/` with full game desc
179179

180180
### 🔴 High Priority (core content visitors expect)
181181
1. ~~**Complete robot pages**~~ — ✅ All 16 robots migrated with full WP descriptions and images
182-
2. **Add social media links** — Facebook, Instagram, YouTube, Twitter to footer/header
182+
2. ~~**Add social media links**~~✅ Done — Facebook, Instagram, YouTube, Twitter, Flickr, GitHub in footer (text links + icon bar)
183183
3. **Contact details** — Add mailing address and specific email contacts to Contact page
184184
4. ~~**Team history & accomplishments**~~ — ✅ Done — About page has full timeline (2005–today, 8 milestones)
185185
5. ~~**Full sponsor list with logos**~~ — ✅ All 23 sponsors migrated across 5 tiers with 22 logos
@@ -219,7 +219,7 @@ All 16 robots (2006–2025) have been migrated to `/robots/` with full game desc
219219
| Calendar | Google Calendar iFrame | ✅ Google Calendar embed (same calendar ID) |
220220
| Photo Galleries | NextGEN Gallery plugin | ❌ Not implemented |
221221
| Blog / Posts | WordPress posts | Hugo blog section |
222-
| Social Media Icons | Header bar (5 platforms) | Footer only (TBA, GitHub, FIRST) |
222+
| Social Media Icons | Header bar (5 platforms) | Footer — text links (7 platforms + FIRST) and icon bar (6 platforms) |
223223
| Mobile Navigation | Hamburger menu | Hamburger menu |
224224
| Search | WordPress search | ❌ Not implemented |
225225
| Analytics | Unknown | ❌ Not implemented |

layouts/partials/footer.html

Lines changed: 41 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,36 +26,22 @@ <h3 class="text-white text-lg font-bold mb-4">Quick Links</h3>
2626
</ul>
2727
</div>
2828

29-
<!-- External Links -->
29+
<!-- Connect -->
3030
<div>
3131
<h3 class="text-white text-lg font-bold mb-4">Connect</h3>
3232
<ul class="space-y-2 text-sm">
3333
{{ with .Site.Data.team.social }}
34-
{{ with .thebluealliance }}
35-
<li>
36-
<a href="{{ . }}" target="_blank" rel="noopener noreferrer" class="hover:text-rally-400 transition-colors">
37-
The Blue Alliance →
38-
</a>
39-
</li>
40-
{{ end }}
4134
{{ with .github }}
4235
<li>
4336
<a href="{{ . }}" target="_blank" rel="noopener noreferrer" class="hover:text-rally-400 transition-colors">
4437
GitHub →
4538
</a>
4639
</li>
4740
{{ end }}
48-
{{ with .instagram }}
49-
<li>
50-
<a href="{{ . }}" target="_blank" rel="noopener noreferrer" class="hover:text-rally-400 transition-colors">
51-
Instagram →
52-
</a>
53-
</li>
54-
{{ end }}
55-
{{ with .youtube }}
41+
{{ with .thebluealliance }}
5642
<li>
5743
<a href="{{ . }}" target="_blank" rel="noopener noreferrer" class="hover:text-rally-400 transition-colors">
58-
YouTube
44+
The Blue Alliance
5945
</a>
6046
</li>
6147
{{ end }}
@@ -70,8 +56,44 @@ <h3 class="text-white text-lg font-bold mb-4">Connect</h3>
7056

7157
</div>
7258

73-
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-sm text-gray-500">
74-
<p>&copy; {{ now.Year }} Red Alert Robotics. All rights reserved.</p>
59+
<div class="border-t border-gray-800 mt-8 pt-8 flex flex-col sm:flex-row items-center justify-between gap-4">
60+
<p class="text-sm text-gray-500">&copy; {{ now.Year }} Red Alert Robotics. All rights reserved.</p>
61+
62+
<!-- Social Icons -->
63+
{{ with .Site.Data.team.social }}
64+
<div class="flex items-center gap-3">
65+
{{ with .facebook }}
66+
<a href="{{ . }}" target="_blank" rel="noopener noreferrer" class="text-gray-500 hover:text-rally-400 transition-colors" aria-label="Facebook">
67+
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24"><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>
68+
</a>
69+
{{ end }}
70+
{{ with .instagram }}
71+
<a href="{{ . }}" target="_blank" rel="noopener noreferrer" class="text-gray-500 hover:text-rally-400 transition-colors" aria-label="Instagram">
72+
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"/></svg>
73+
</a>
74+
{{ end }}
75+
{{ with .twitter }}
76+
<a href="{{ . }}" target="_blank" rel="noopener noreferrer" class="text-gray-500 hover:text-rally-400 transition-colors" aria-label="X / Twitter">
77+
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>
78+
</a>
79+
{{ end }}
80+
{{ with .youtube }}
81+
<a href="{{ . }}" target="_blank" rel="noopener noreferrer" class="text-gray-500 hover:text-rally-400 transition-colors" aria-label="YouTube">
82+
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24"><path d="M23.498 6.186a3.016 3.016 0 00-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 00.502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 002.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 002.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>
83+
</a>
84+
{{ end }}
85+
{{ with .flickr }}
86+
<a href="{{ . }}" target="_blank" rel="noopener noreferrer" class="text-gray-500 hover:text-rally-400 transition-colors" aria-label="Flickr">
87+
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24"><circle cx="7" cy="12" r="5" fill="#0063dc"/><circle cx="17" cy="12" r="5" fill="#ff0084"/></svg>
88+
</a>
89+
{{ end }}
90+
{{ with .github }}
91+
<a href="{{ . }}" target="_blank" rel="noopener noreferrer" class="text-gray-500 hover:text-rally-400 transition-colors" aria-label="GitHub">
92+
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
93+
</a>
94+
{{ end }}
95+
</div>
96+
{{ end }}
7597
</div>
7698
</div>
7799
</footer>

0 commit comments

Comments
 (0)