AlexJSully-Portfolio

Socials Documentation

Overview

This document explains how the social media links are displayed and how to add new social media links to the codebase.

The social media links are displayed using the Footer component located in Footer.tsx. This component creates a grid layout to showcase the social media links.

Key Elements

Flowchart

flowchart LR
    A[Footer Component] -->|Fetches| B[Socials Data]
    B --> C[Maps Socials to Grid Items]
    C --> D[Displays Social Media Icons]
    D --> E[Social Media Icon]
    D --> F[Social Media Tooltip]
    D --> G[Social Media Link]

To add new social media links, update the socials array in src/data/socials.ts.

  1. Open the socials.ts file.
  2. Add a new object to the socials array with the following structure:

     {
     	name: 'Social Media Name',
     	url: 'https://social-media-url.com',
     	icon: SocialMediaIconComponent,
     	color: '#colorCode',
     }
    

By following these steps, you can successfully add new social media links to the footer.