Skip to content

Commit ebe42e7

Browse files
feat: add YouTube Subscribe button to footer and YouTube link to Connect nav
1 parent ff29db1 commit ebe42e7

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

components/Footer.tsx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ const NAV_LINKS: NavSection[] = [
5555
{ label: 'LinkedIn', href: 'https://www.linkedin.com/in/dattasable/', icon: Users, external: true },
5656
{ label: 'Twitter / X', href: 'https://x.com/sabledattatray', icon: MessageSquare, external: true },
5757
{ label: 'GitHub', href: 'https://github.com/sabledattatray', icon: Code2, external: true },
58+
{ label: 'YouTube', href: 'https://www.youtube.com/@sabledatttatray', icon: Globe, external: true },
5859
],
5960
},
6061
{
@@ -187,6 +188,35 @@ export default function Footer() {
187188
Mumbai, Maharashtra, India
188189
</span>
189190

191+
{/* YouTube Subscribe Button */}
192+
<div style={{ marginTop: '1.5rem' }}>
193+
<a
194+
href="https://www.youtube.com/@sabledatttatray?sub_confirmation=1"
195+
target="_blank"
196+
rel="noopener noreferrer"
197+
className="inline-flex items-center gap-3 rounded-[8px] transition-all duration-300 no-underline transform hover:-translate-y-0.5 hover:shadow-[0_0_20px_rgba(255,0,0,0.3)] group/yt"
198+
style={{
199+
background: '#FF0000',
200+
border: '1px solid rgba(255,0,0,0.4)',
201+
padding: '10px 20px',
202+
minWidth: '170px',
203+
}}
204+
>
205+
{/* YouTube Icon */}
206+
<svg width="24" height="24" viewBox="0 0 24 24" fill="white" xmlns="http://www.w3.org/2000/svg" className="flex-shrink-0 group-hover/yt:scale-110 transition-transform">
207+
<path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/>
208+
</svg>
209+
<div className="flex flex-col text-left">
210+
<span style={{ fontSize: '10px', fontFamily: 'Roboto, sans-serif', fontWeight: 500, textTransform: 'uppercase', letterSpacing: '0.5px', color: 'rgba(255,255,255,0.85)', lineHeight: '11px', marginBottom: '1px' }}>
211+
Subscribe on
212+
</span>
213+
<span style={{ fontSize: '17px', fontFamily: 'Roboto, sans-serif', fontWeight: 700, color: '#ffffff', letterSpacing: '-0.3px', lineHeight: '19px' }}>
214+
YouTube
215+
</span>
216+
</div>
217+
</a>
218+
</div>
219+
190220
{/* Official Theme-Aware Google Play Store Badge */}
191221
<div style={{ marginTop: '1.5rem', marginBottom: '1.5rem' }}>
192222
<a

0 commit comments

Comments
 (0)