Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated twitter icon (fixes #235) #241

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading