This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| npx patch-package @fortawesome/fontawesome-common-types |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/node_modules/@fortawesome/fontawesome-common-types/index.d.ts b/node_modules/@fortawesome/fontawesome-common-types/index.d.ts | |
| index b70b000..b6b2429 100644 | |
| --- a/node_modules/@fortawesome/fontawesome-common-types/index.d.ts | |
| +++ b/node_modules/@fortawesome/fontawesome-common-types/index.d.ts | |
| @@ -1,4 +1,4 @@ | |
| -export type IconPrefix = "fas" | "fab" | "far" | "fal" | "fad"; | |
| +export type IconPrefix = "fas" | "fab" | "fac" | "far" | "fal" | "fad"; | |
| export type IconPathData = string | string[] | |
| export interface IconLookup { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "scripts": { | |
| "dev": "next", | |
| "build": "next build", | |
| "start": "next start", | |
| "postinstall": "npx patch-package" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a | |
| aria-label='react' | |
| target='__blank' | |
| href={vercel} | |
| className='bg-customGray text-white hover:text-white hover:bg-iconHover transition-colors leading-normal duration-500 text-lg inline-block text-center items-center align-middle justify-center w-8 h-8 mx-1 my-2 pt-1 rounded-full focus:outline-none' | |
| > | |
| <FontAwesomeIcon | |
| icon={faCustomVercelIcon} | |
| className='flex align-middle text-center font-extrabold text-1xl pb-1' | |
| size='lg' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | |
| import { faCustomVercelIcon } from '../lib/fas-custom-integration'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { | |
| library, | |
| IconDefinition, | |
| IconLookup | |
| } from '@fortawesome/fontawesome-svg-core'; | |
| export interface CustomIconConstruct extends IconDefinition, IconLookup {} | |
| export const faCustomVercelIcon: CustomIconConstruct = { | |
| prefix: 'fac', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export type IconPrefix = "fas" | "fab" | "fac" | "far" | "fal" | "fad"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export type IconName = 'vercel-icon' | '500px' | | |
| 'accessible-icon' | | |
| 'accusoft' | | |
| 'acquisitions-incorporated' | | |
| // ...7,846 lines later... | |
| 'wrench' | | |
| 'x-ray' | | |
| 'yen-sign' | | |
| 'yin-yang'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const faCustomVercelIcon: IconDefinition & IconLookup = { | |
| prefix: 'fab', | |
| iconName: 'vercel-icon', | |
| icon: [ | |
| 24, | |
| 24, | |
| [], | |
| 'none', | |
| 'M24 22.525H0l12-21.05l12 21.05z' | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const faCustomVercelIcon: IconDefinition & IconLookup = { | |
| prefix: 'fab', | |
| iconName: 'vercel-icon', | |
| icon: [ | |
| 24, | |
| 24, | |
| [], | |
| 'none', | |
| 'M24 22.525H0l12-21.05l12 21.05z' | |
| ] |