Skip to content

Commit

Permalink
Merge pull request #241 from Divjot02/update/Twitter-Icon
Browse files Browse the repository at this point in the history
Updated twitter icon (fixes #235)
  • Loading branch information
Vishal-raj-1 authored Oct 23, 2023
2 parents 3f64b71 + bcc2db5 commit bd1bbe5
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 11 deletions.
8 changes: 4 additions & 4 deletions components/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
Settings,
SunMedium,
Trash,
Twitter,
// Twitter,
Film,
User,
Star,
Expand All @@ -40,7 +40,7 @@ import {
Instagram,
Linkedin,
} from "lucide-react";

import { FaXTwitter } from "react-icons/fa6";
export type Icon = LucideIcon;

export const Icons = {
Expand Down Expand Up @@ -94,9 +94,9 @@ export const Icons = {
></path>
</svg>
),
twitter: Twitter,
twitter: FaXTwitter,
check: Check,
youtube: Youtube,
instagram: Instagram,
linkedin: Linkedin
linkedin: Linkedin,
};
16 changes: 9 additions & 7 deletions config/social.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SocialConfig } from "@/types";
import { Github, Instagram, Linkedin, Twitter, Youtube } from "lucide-react";

import { Github, Instagram, Linkedin, Youtube } from "lucide-react";
import { FaXTwitter } from "react-icons/fa6";

export const socialConfig: SocialConfig[] = [
{
Expand All @@ -11,21 +11,23 @@ export const socialConfig: SocialConfig[] = [
{
title: "Twitter",
href: "https://twitter.com/frontendfreaks",
iconName: Twitter,
iconName: FaXTwitter,
},
{
title: "YouTube",
href: "https://www.youtube.com/c/VishalRajput_1",
iconName: Youtube,
},{
},
{
title: "Instagram",
href: "https://www.instagram.com/vishalraj.dev/",
href: "https://www.instagram.com/vishalraj.dev/",
iconName: Instagram,
},{
},
{
title: "LinkedIn",
href: "https://www.linkedin.com/company/frontendfreaks/",
iconName: Linkedin,
},
];

// '<Icons.youtube className="h-9 w-9 hover:text-[#8fa0be] dark:hover:text-[#30405c]" />'
// '<Icons.youtube className="h-9 w-9 hover:text-[#8fa0be] dark:hover:text-[#30405c]" />'
9 changes: 9 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"postcss": "8.4.24",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-icons": "^4.11.0",
"react-player": "^2.12.0",
"rehype-autolink-headings": "^6.1.1",
"rehype-pretty-code": "^0.10.0",
Expand Down

0 comments on commit bd1bbe5

Please sign in to comment.