Skip to main content

Page7 - How I Connected My FREE AI App to Social Media: Adding Social Links to SosyalAi's Landing Page

Here’s how I made my FREE AI APP homepage instantly link to my social media channels with just a few lines of Next.js magic.


There’s a special kind of satisfaction that comes when you click that glowing YouTube icon and it actually works. You know what I mean that small, thrilling moment when you realize your personal project isn’t just “on localhost” anymore. It’s alive. It’s connected to the world.

Get the full code after reading.

Next.js code editor showing social media link integration in SosyalAi landing page using Image components.

When I built SosyalAi’s homepage, I wanted that exact feeling. I didn’t just want a static landing page; I wanted a digital handshake a way for visitors to instantly find me on YouTube, TikTok, and Instagram. After all, SosyalAi is about empowering creators and small business owners to automate their social posting. So, it only makes sense that my own homepage should live and breathe social connectivity.


The Vision: Making the Page Feel Alive

Let’s be honest, a landing page without social links is like a mall without exits. People come in, explore, but have nowhere else to go. I wanted SosyalAi’s homepage to feel like a hub interactive, responsive, and globally connected.

My goal?

  • Add clickable, glowing social media icons that instantly direct users to my platforms.
  • Make them responsive, adapting beautifully on both desktop and mobile.
  • Design subtle hover effects that add a layer of motion not too flashy, just enough to catch your eye.

That’s when I pulled in one of my favorite tools in Next.js, the <Image> component.

Step 1: Importing and Structuring the Icons

I started with the basics. Using Next.js’s built-in <Image> component, I imported my social icons into the SocialLinks section of my homepage.

Here’s the setup:

"use client";
import Image from "next/image";
import Link from "next/link";

export default function SocialLinks() {
const socials = [
{ name: "YouTube", icon: "/icons/youtube.png", link: "https://youtube.com/@vaughnspodcast" },
{ name: "TikTok", icon: "/icons/tiktok.png", link: "https://tiktok.com/@vaughnito" },
{ name: "Instagram", icon: "/icons/instagram.png", link: "https://instagram.com/vaughnito" },
];

return (
<div className="flex gap-6 justify-center items-center mt-8">
{socials.map((item, index) => (
<Link key={index} href={item.link} target="_blank">
<Image
src={item.icon}
alt={item.name}
width={48}
height={48}
className="transition-transform duration-300 hover:scale-110 hover:brightness-125"
/>

</Link>
))}
</div>

);
}
Next.js landing page showing clickable icons that lead to YouTube, TikTok, and other creator platforms.
Next.js landing page showing clickable icons that lead to YouTube, TikTok, and other creator platforms.

When I first saw these icons pop up, I won’t lie I stared for a good minute. Seeing those familiar logos in my own interface gave me the kind of developer high that’s hard to explain. It felt like my app had taken its first breath.

Step 2: Adding Glow Effects & Energy

Flat icons? Too static. SosyalAi’s design language is movement every element should feel alive, like it’s pulsing with purpose.

So, I wrapped the icons in Tailwind CSS classes that add a glowing hover effect. Something subtle, yet visually appealing:

.hover-glow {
filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

And in my component:

className="transition-all hover:scale-110 hover-glow"

Now, when you hover over an icon, it gives off this soft radiance like it’s saying,

Hey, come connect with me.

It’s amazing how something so simple can make your site feel more human.

Step 3: Making It Responsive (Because Mobile Matters)

If there’s one thing I’ve learned, it’s this: if your design doesn’t work on mobile, it doesn’t work.

So I adjusted the layout using Tailwind’s responsive utilities:

<div className="flex flex-wrap justify-center gap-4 sm:gap-6 md:gap-8">
Next.js landing page displaying SosyalAi social media icons with hover glow and responsive design.
Next.js landing page displaying SosyalAi social media icons with hover glow and responsive design.

That single line ensured my icons look perfectly spaced whether you’re on a phone, tablet, or wide monitor. It’s the little details that make your build feel professional.

Why map() Over Hardcoding?

I see beginners sometimes hardcoding every single <Image> link and I get it, it feels simpler at first. But when you’re maintaining multiple links, that becomes a nightmare.

Using .map() is cleaner, scalable, and future-proof.

Here’s why:

  • You can add or remove social links easily without touching the markup.
  • Keeps your code DRY (Don’t Repeat Yourself).
  • Future-ready, imagine integrating an admin panel later to dynamically fetch social links from your CMS.

By mapping an array, you’re basically saying: “I’m coding for tomorrow, not just today.”

Bringing Personality into the Page

Now let’s get a bit personal. When I placed those icons, it wasn’t just about “UI polish.” It was a statement.

I wanted new visitors to instantly know,

Hey, this guy’s real.

He’s building an app, documenting the journey, and showing up across multiple platforms.

Because let’s be real, people connect with people, not products. And if SosyalAi is about empowering creators to automate their social media, then it’s only fair that my own homepage shows I’m walking that talk.

The Bigger Picture: SEO & AEO Connection

Adding clickable links to your verified social profiles doesn’t just boost aesthetics it boosts trust and ranking.

Here’s how:

  • Search engines verify credibility when they see consistent brand links across domains.
  • Internal and external linking improves retention and authority signals.
  • Answer Engine Optimization (AEO) helps your content surface in AI-driven searches like ChatGPT or Google’s AI Overviews.

So yes those little icons are doing a lot more than just looking good.

Quick Recap (for the TL;DR folks)

If you’re planning to integrate social links into your Next.js project:

  • Use <Image> for optimized loading and responsive rendering.
  • Keep your icons in an array and render them dynamically with .map().
  • Add hover glows to bring life and personality.
  • Prioritize mobile-first responsiveness.
  • Always link to verified and consistent handles for credibility.
Small steps, massive impact.

When I hit refresh and saw those glowing icons line up perfectly, I felt a quiet joy like planting flags across my little corner of the internet.

It reminded me why I started SosyalAi in the first place to create something that connects people, empowers creators, and saves time through automation.

So the next time you see those icons glowing softly on the homepage, know that they represent more than links they’re little gateways to the creative universe I’m building.

If you want to copy my full working SosyalAi homepage code, visit my official website, everything’s there, ready to fork, modify, and make your own project shine.

And if this story resonated with you:

  • 💬 Leave me a comment - I’d love to hear what you’re building!
  • 🔄 Restack it with your fellow developers or creators.
  • ☕ If you want to support my work, buy me a coffee, it keeps me fueled to write more guides like this.
Because building apps is fun. But building with a community? That’s magic.

🧭 What’s Next

In Page 7, I’ll show you how I cleaned up that default Next.js homepage, customized it, and started shaping it into the SosyalAi interface I had in mind.

Before you go, if this story inspired you to start your own build, you might also enjoy:

💌 Click the email icon at the bottom of this story to subscribe and get notified when I release new coding topics, tutorials, and behind-the-code stories.



Comments

Popular posts from this blog

Page3 - Designing My Homepage Vision Using Next.js for my FREE AI App to Automate Social Media Posting

How I Designed a Homepage for My FREE AI App to Automate Social Media Posting Homepage wireframe design for SosyalAi , a free social post AI automation app built with Next.js. H ave you ever stared at your screen, juggling 5 social media tabs, and thought, “There’s got to be a better way to do this” ? Yeah, me too. That’s the day SosyalAi was born, not in a fancy startup office, but in the chaos of managing my own content. When I realized that most social post automation tools cost more than my entire monthly Wi-Fi bill, I knew I had to build my own solution, something smart, simple, and self-sustaining . Get the full code after reading. The Spark Behind SosyalAi I didn’t plan to create a FREE Social Post AI automation app. I just wanted to stop paying absurd fees. When I searched for tools that could automatically post to Facebook , TikTok , Instagram , X (Twitter), Threads , YouTube , and my personal blog I was shocked . Platforms like: Hootsuite - starts around $99...

Page6 - How I Added Guides and Links to the Homepage of my FREE AI App to Automate Social Media Posting

Because a static page is like a coffee shop with no conversations, it looks good, but feels empty. H ave you ever opened your beautifully designed homepage only to realize… it’s lifeless? Everything’s in place the layout, the colors, the title section but something’s missing: content that moves , guides that grow , and links that lead somewhere . Get the full code after reading. That was exactly me building SosyalAi. My homepage looked polished, but it didn’t guide my users anywhere. So I decided to turn it from static to dynamic by adding guides, interactive links, and responsive grids using a little JavaScript magic. Here’s how I made my content come alive. The Day I Realized Static Doesn’t Scale At first, I hardcoded my guides section line by line. < div > < h2 > Getting Started with SosyalAi </ h2 > < p >Learn how to set up your social post automation in minutes.</ p > </ div > < div > < h2 > Building Your First Camp...

Page4 - Building the Core Layout Using Next.js - The Skeleton of my FREE AI App to Automate Social Media Posting

A great homepage isn’t just designed, it’s engineered with intent. You ever stare at a blank page.js file and feel like it’s staring back? That was me when I began building SosyalAi ’s homepage. Blank. White. Silent. But inside that emptiness was the potential of a living, breathing landing page, one that would greet users, pull them in, and whisper: Relax, I got this automated. That’s how SosyalAi Home started from nothing but vision, caffeine, and a few imports that changed everything. Get the full code after reading. Why Start with the Skeleton Before the animations , gradients, and aesthetic glow there has to be structure. Think of it like a human body: muscles ( CSS ), organs (functions), and nerves (state logic) only work when attached to a solid skeleton . When I began the layout for SosyalAi’s homepage , I didn’t jump straight into design. I started with the barebones structure the foundation that would hold everything together. Here’s the mindset I followed: Clarit...