Skip to content

Commit a434fac

Browse files
authored
Merge pull request codeharborhub#1679 from Saipradyumnagoud/main
Replaced with icons in the footer
2 parents a6171d6 + 9d836db commit a434fac

File tree

3 files changed

+49
-41
lines changed

3 files changed

+49
-41
lines changed

docusaurus.config.js

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
2+
import { faLinkedin, faYoutube, faDiscord } from '@fortawesome/free-brands-svg-icons';
3+
14
import { themes as prismThemes } from "prism-react-renderer";
25
import { default as npm2yarn } from "@docusaurus/remark-plugin-npm2yarn";
36
const remarkMath = require("remark-math");
@@ -359,18 +362,22 @@ const config = {
359362
{
360363
label: "LinkedIn",
361364
href: "https://www.linkedin.com/company/codeharborhub/",
365+
icon: 'faLinkedin',
362366
},
363367
{
364368
label: "YouTube",
365369
href: "https://www.youtube.com/",
370+
icon: 'faYoutube',
366371
},
367372
{
368373
label: "Discord",
369374
href: "https://discord.gg/c53FQn3pRv",
375+
icon: 'faDiscord',
370376
},
371377
{
372378
label: "Twitter(X)",
373379
href: "https://twitter.com/CodesWithAjay",
380+
icon: 'faTwitter',
374381
},
375382
],
376383
},

package-lock.json

+40-40
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@fortawesome/fontawesome-svg-core": "^6.5.2",
3434
"@fortawesome/free-brands-svg-icons": "^6.5.2",
3535
"@fortawesome/free-solid-svg-icons": "^6.5.1",
36-
"@fortawesome/react-fontawesome": "^0.2.0",
36+
"@fortawesome/react-fontawesome": "^0.2.2",
3737
"@giscus/react": "^3.0.0",
3838
"@mdx-js/react": "^3.0.0",
3939
"@types/react": "^18.3.3",
@@ -64,6 +64,7 @@
6464
"vanilla-tilt": "^1.8.1"
6565
},
6666
"devDependencies": {
67+
"@babel/core": "^7.24.7",
6768
"@babel/plugin-syntax-jsx": "^7.24.7",
6869
"@babel/preset-react": "^7.24.7",
6970
"@docusaurus/module-type-aliases": "^3.3.2",

0 commit comments

Comments
 (0)