diff --git a/package-lock.json b/package-lock.json index 6839ad6..b9c745e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,9 @@ "@astrojs/check": "^0.9.4", "@astrojs/tailwind": "^5.1.2", "@fontsource/bricolage-grotesque": "^5.1.0", + "@fortawesome/fontawesome-svg-core": "^6.7.1", + "@fortawesome/free-brands-svg-icons": "^6.7.1", + "@fortawesome/free-solid-svg-icons": "^6.7.1", "astro": "^4.16.13", "astro-navbar": "^2.3.7", "autoprefixer": "10.4.14", @@ -929,6 +932,47 @@ "integrity": "sha512-kdZyXbftmi09GjewApG5z7KVbcz5ZXNvFUguKodNtOe34j9F3Hp7dWjcZNqMt/o4BtBKZBBLM4MjAVE+DrQpng==", "license": "OFL-1.1" }, + "node_modules/@fortawesome/fontawesome-common-types": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.7.1.tgz", + "integrity": "sha512-gbDz3TwRrIPT3i0cDfujhshnXO9z03IT1UKRIVi/VEjpNHtSBIP2o5XSm+e816FzzCFEzAxPw09Z13n20PaQJQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/fontawesome-svg-core": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.7.1.tgz", + "integrity": "sha512-8dBIHbfsKlCk2jHQ9PoRBg2Z+4TwyE3vZICSnoDlnsHA6SiMlTwfmW6yX0lHsRmWJugkeb92sA0hZdkXJhuz+g==", + "dependencies": { + "@fortawesome/fontawesome-common-types": "6.7.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/free-brands-svg-icons": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/@fortawesome/free-brands-svg-icons/-/free-brands-svg-icons-6.7.1.tgz", + "integrity": "sha512-nJR76eqPzCnMyhbiGf6X0aclDirZriTPRcFm1YFvuupyJOGwlNF022w3YBqu+yrHRhnKRpzFX+8wJKqiIjWZkA==", + "dependencies": { + "@fortawesome/fontawesome-common-types": "6.7.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@fortawesome/free-solid-svg-icons": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-6.7.1.tgz", + "integrity": "sha512-BTKc0b0mgjWZ2UDKVgmwaE0qt0cZs6ITcDgjrti5f/ki7aF5zs+N91V6hitGo3TItCFtnKg6cUVGdTmBFICFRg==", + "dependencies": { + "@fortawesome/fontawesome-common-types": "6.7.1" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/@img/sharp-darwin-arm64": { "version": "0.33.5", "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz", diff --git a/package.json b/package.json index fc0db50..9492d67 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,9 @@ "@astrojs/check": "^0.9.4", "@astrojs/tailwind": "^5.1.2", "@fontsource/bricolage-grotesque": "^5.1.0", + "@fortawesome/fontawesome-svg-core": "^6.7.1", + "@fortawesome/free-brands-svg-icons": "^6.7.1", + "@fortawesome/free-solid-svg-icons": "^6.7.1", "astro": "^4.16.13", "astro-navbar": "^2.3.7", "autoprefixer": "10.4.14", diff --git a/src/components/Button.astro b/src/components/Button.astro index 3818d45..1a0de9c 100644 --- a/src/components/Button.astro +++ b/src/components/Button.astro @@ -1,18 +1,23 @@ --- -const { class: className, isPrimary, isBordered, href } = Astro.props; +const { class: className, isPrimary, isBordered, href, id } = Astro.props; --- {href ? ( - + ) : ( - )} \ No newline at end of file diff --git a/src/components/Circles.astro b/src/components/Circles.astro index e4b9b1e..2e89e1d 100644 --- a/src/components/Circles.astro +++ b/src/components/Circles.astro @@ -6,7 +6,7 @@ const borderWidths = [20, 30, 40, 50]
{[...Array(4)].map((_, i) => ( -
@@ -76,4 +82,9 @@ import { ArrowRight, Github, Twitter } from 'lucide-astro'