diff --git a/package-lock.json b/package-lock.json index 6f7b4a5..954df6b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.1.0", "dependencies": { "@headlessui/react": "^2.1.0", + "@heroicons/react": "^2.2.0", "@tailwindcss/forms": "^0.5.3", "@tailwindcss/postcss": "^4.1.7", "@types/node": "^20.10.8", @@ -205,6 +206,15 @@ "react-dom": "^18" } }, + "node_modules/@heroicons/react": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-2.2.0.tgz", + "integrity": "sha512-LMcepvRaS9LYHJGsF0zzmgKCUim/X3N/DQKc4jepAXJ7l8QxJ1PmxJzqplF2Z3FE4PqBAIGyJAQ/w4B5dsqbtQ==", + "license": "MIT", + "peerDependencies": { + "react": ">= 16 || ^19.0.0-rc" + } + }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.14", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", diff --git a/package.json b/package.json index db6674b..a44da93 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "browserslist": "defaults, not ie <= 11", "dependencies": { "@headlessui/react": "^2.1.0", + "@heroicons/react": "^2.2.0", "@tailwindcss/forms": "^0.5.3", "@tailwindcss/postcss": "^4.1.7", "@types/node": "^20.10.8", diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 190ea7e..8a1d689 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -1,4 +1,5 @@ import { Logo_darkbg } from '@/components/Logo_darkbg' +import { SVGProps } from 'react' const navigation = { solutions: [ @@ -28,7 +29,7 @@ const navigation = { { name: 'Facebook', href: '#', - icon: (props) => ( + icon: (props: SVGProps) => ( ( + icon: (props: SVGProps) => ( @@ -54,7 +55,7 @@ const navigation = { { name: 'X', href: '#', - icon: (props) => ( + icon: (props: SVGProps) => ( @@ -63,7 +64,7 @@ const navigation = { { name: 'GitHub', href: '#', - icon: (props) => ( + icon: (props: SVGProps) => ( ( + icon: (props: SVGProps) => (