Skip to content

Commit 182ba60

Browse files
Add Fable links and referral disclosure on links page
Co-authored-by: Amanda Nelson <jobs@amanda-nelson.com>
1 parent 267b493 commit 182ba60

File tree

1 file changed

+45
-1
lines changed

1 file changed

+45
-1
lines changed

src/app/links/page.tsx

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ const socialLinks: LinkItem[] = [
3737
color: 'bg-white/10 hover:bg-white/20',
3838
icon: '/icons/bluesky.svg'
3939
},
40+
{
41+
name: 'Fable',
42+
url: 'https://fable.co/fabler/pythoness-programmer-506807855588',
43+
color: 'bg-white/10 hover:bg-white/20'
44+
},
4045
]
4146

4247
// Resource links - easy to update
@@ -129,6 +134,20 @@ const readLinks: LinkItem[] = [
129134
}
130135
]
131136

137+
// Fable links section
138+
const fableLinks: LinkItem[] = [
139+
{
140+
name: 'Follow me on Fable',
141+
url: 'https://fable.co/fabler/pythoness-programmer-506807855588',
142+
color: 'bg-brand-purple-light/20 hover:bg-brand-purple-light/30'
143+
},
144+
{
145+
name: 'Join Fable with my referral link',
146+
url: 'https://fable.co/invite/?referralID=YK5IPnrfEW',
147+
color: 'bg-brand-purple-light/20 hover:bg-brand-purple-light/30'
148+
}
149+
]
150+
132151
// Affiliate links section - ready for future expansion
133152
// eslint-disable-next-line @typescript-eslint/no-unused-vars
134153
const affiliateLinks: LinkItem[] = [
@@ -210,14 +229,18 @@ export default function LinksPage() {
210229
className={`block ${link.color} w-10 h-10 rounded-full flex items-center justify-center transition-transform hover:scale-110 focus:outline-none focus:ring-2 focus:ring-brand-purple-light focus:ring-offset-2 focus:ring-offset-brand-purple-dark`}
211230
aria-label={link.name}
212231
>
213-
{link.icon && (
232+
{link.icon ? (
214233
<Image
215234
src={link.icon}
216235
alt=""
217236
width={20}
218237
height={20}
219238
className="w-5 h-5"
220239
/>
240+
) : (
241+
<span className="text-xs font-semibold text-white">
242+
{link.name.charAt(0).toUpperCase()}
243+
</span>
221244
)}
222245
</Link>
223246
))}
@@ -318,6 +341,27 @@ export default function LinksPage() {
318341
</div>
319342
</div>
320343

344+
{/* Fable Links */}
345+
<div className="space-y-3">
346+
<h2 className="font-display text-xl text-white text-center">Fable</h2>
347+
<div className="space-y-3">
348+
{fableLinks.map((link) => (
349+
<Link
350+
key={link.name}
351+
href={link.url}
352+
target="_blank"
353+
rel="noopener noreferrer"
354+
className={`block ${link.color} py-2.5 md:py-3 px-6 rounded-lg text-center transition-transform hover:scale-105 focus:outline-none focus:ring-2 focus:ring-brand-purple-light focus:ring-offset-2 focus:ring-offset-brand-purple-dark`}
355+
>
356+
{link.name}
357+
</Link>
358+
))}
359+
</div>
360+
<p className="text-white/60 text-xs text-center">
361+
Disclosure: I may receive referral credit if you use the referral link above.
362+
</p>
363+
</div>
364+
321365
{/* Listen Links */}
322366
<div className="space-y-3">
323367
<h2 className="font-display text-xl text-white text-center">Listen</h2>

0 commit comments

Comments
 (0)