Skip to content

Commit

Permalink
Merge pull request #351 from tejasbenibagde/main
Browse files Browse the repository at this point in the history
fix: update JSX attributes to avoid warnings
  • Loading branch information
Mr-Sunglasses authored Oct 3, 2024
2 parents 18bc99b + f9784e2 commit e54970d
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/assets/img/resources_icons/web3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/components/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ const Contact = () => {
<div className="lg:w-1/2 md:w-2/3 mx-auto mb-8">
<div className="flex justify-center md:space-x-12 lg:space-x-14 xl:space-x-20 space-x-6">
<div className="w-12 h-10 flex flex-col items-center">

<a href="https://discord.com/invite/4xruwjjU9B" target="discord">
<FaDiscord className="hover:fill-current hover:text-[#0DFF1C] hover:w-12" size={40} />
</a>
Expand Down Expand Up @@ -168,4 +169,4 @@ const Contact = () => {
);
};

export default Contact;
export default Contact;
2 changes: 1 addition & 1 deletion src/components/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function Hero() {
loop
/>
</div>
<div class="sm:space-x-4 space-x-0 flex flex-col items-center sm:flex-row sm:justify-center">
<div className="sm:space-x-4 space-x-0 flex flex-col items-center sm:flex-row sm:justify-center">
<a
href="https://dub.sh/fosscu-discord"
target="_blank"
Expand Down
18 changes: 10 additions & 8 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const Navbar = () => {
<Link to="/shipyard">Shipyard</Link>
</li>

<div class="relative group xl:mr-0 mr-8">
<div className="relative group xl:mr-0 mr-8">
<button className=" px-4 pt-4 pb-0 hover:text-[#0DFF1C] flex items-center text-white ">
<span className="mr-1">
{" "}
Expand All @@ -95,24 +95,24 @@ const Navbar = () => {
width="16"
height="16"
fill="currentColor"
class="bi bi-chevron-down"
className="bi bi-chevron-down"
viewBox="0 0 16 16"
>
<path
fill-rule="evenodd"
fillRule="evenodd"
d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"
/>
</svg>
</span>
<span>More</span>
</button>
<div class="translate-x-[-0em] hidden absolute bg-black text-white rounded mt-1 w-36 group-hover:block hover:rounded-md ">
<a href="/resource" class="block px-4 py-2 hover:text-[#0dff1c]">
<div className="translate-x-[-0em] hidden absolute bg-black text-white rounded mt-1 w-36 group-hover:block hover:rounded-md ">
<a href="/resource" className="block px-4 py-2 hover:text-[#0dff1c]">
Resources
</a>
<a
href="https://docs.fosscu.org"
class="block px-4 py-2 hover:text-[#0dff1c]"
className="block px-4 py-2 hover:text-[#0dff1c]"
target="blank"
>
Handbook
Expand All @@ -121,14 +121,14 @@ const Navbar = () => {
href="https://lu.ma/fosscu"
rel="noreferrer"
target="blank"
class="block px-4 py-2 hover:text-[#0dff1c]"
className="block px-4 py-2 hover:text-[#0dff1c]"
>
Calendar
</a>
<a
href="https://github.com/FOSS-Community/"
target="blank"
class="block px-4 py-2 hover:text-[#0dff1c]"
className="block px-4 py-2 hover:text-[#0dff1c]"
>
Contribute
</a>
Expand Down Expand Up @@ -168,6 +168,7 @@ const Navbar = () => {
<Link to="/about">About</Link>
</li>
<li

className={`p-4 ${activeLink === "/team" ? "text-[#0DFF1C]" : "hover:text-[#0DFF1C]"
} border-b border-gray-600`}
>
Expand All @@ -194,6 +195,7 @@ const Navbar = () => {
<a href="https://github.com/FOSS-Community">Projects</a>
</li>
<li

className={`p-4 ${activeLink === "/contact" ? "text-[#0DFF1C]" : "hover:text-[#0DFF1C]"
} border-b border-gray-600`}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Roadmaps.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Roadmaps = (props) => {
Learn more
<svg className="ml-1 w-6 h-6" fill="currentColor" viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
<path fillRule="evenodd"
d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
clip-rule="evenodd"></path>
</svg>
Expand Down
34 changes: 20 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.4.tgz"
integrity sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==

"@babel/core@^7.21.3", "@babel/core@^7.24.5":
"@babel/core@^7.0.0", "@babel/core@^7.0.0-0", "@babel/core@^7.21.3", "@babel/core@^7.24.5":
version "7.25.2"
resolved "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz"
integrity sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==
Expand Down Expand Up @@ -474,7 +474,7 @@
"@svgr/babel-plugin-transform-react-native-svg" "8.1.0"
"@svgr/babel-plugin-transform-svg-component" "8.0.0"

"@svgr/core@^8.1.0":
"@svgr/core@*", "@svgr/core@^8.1.0":
version "8.1.0"
resolved "https://registry.npmjs.org/@svgr/core/-/core-8.1.0.tgz"
integrity sha512-8QqtOQT5ACVlmsvKOJNEaWmRPmcojMOzCz4Hs2BGG/toAp/K38LcsMRyLp349glq5AzJbCEeimEoxaX6v/fLrA==
Expand Down Expand Up @@ -503,7 +503,7 @@
"@svgr/hast-util-to-babel-ast" "8.0.0"
svg-parser "^2.0.4"

"@testing-library/dom@^9.0.0":
"@testing-library/dom@^9.0.0", "@testing-library/dom@>=7.21.4":
version "9.3.4"
resolved "https://registry.npmjs.org/@testing-library/dom/-/dom-9.3.4.tgz"
integrity sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ==
Expand Down Expand Up @@ -608,6 +608,7 @@
resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz"
integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==


"@types/node@^14.0.0", "@types/node@>=8.0.0 <15":
version "14.18.32"
resolved "https://registry.npmjs.org/@types/node/-/node-14.18.32.tgz"
Expand All @@ -630,7 +631,7 @@
dependencies:
"@types/react" "*"

"@types/react@*":
"@types/react@*", "@types/react@^16.9.0 || ^17.0.0 || ^18.0.0":
version "18.0.21"
resolved "https://registry.npmjs.org/@types/react/-/react-18.0.21.tgz"
integrity sha512-7QUCOxvFgnD5Jk8ZKlUAhVcRj7GuJRjnjjiY/IUBWKgOlnvDvTMLD4RTF7NPyVmbRhNrbomZiOepg7M/2Kj1mA==
Expand Down Expand Up @@ -886,7 +887,7 @@ braces@^3.0.2, braces@~3.0.2:
dependencies:
fill-range "^7.0.1"

browserslist@^4.23.1, browserslist@^4.23.3:
browserslist@^4.23.1, browserslist@^4.23.3, "browserslist@>= 4.21.0":
version "4.23.3"
resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz"
integrity sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==
Expand Down Expand Up @@ -1135,7 +1136,7 @@ cosmiconfig-typescript-loader@^4.0.0:
resolved "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.1.1.tgz"
integrity sha512-9DHpa379Gp0o0Zefii35fcmuuin6q92FnLDffzdZ0l9tVd3nEobG3O+MZ06+kuBvFTSVScvNb/oHA13Nd4iipg==

cosmiconfig@^7.0.0:
cosmiconfig@^7.0.0, cosmiconfig@>=7:
version "7.0.1"
resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz"
integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==
Expand Down Expand Up @@ -1579,7 +1580,7 @@ flowbite-react@^0.3.2:
react-icons "^4.6.0"
react-indiana-drag-scroll "^2.2.0"

flowbite@^1.8.1:
flowbite@^1, flowbite@^1.8.1:
version "1.8.1"
resolved "https://registry.npmjs.org/flowbite/-/flowbite-1.8.1.tgz"
integrity sha512-lXTcO8a6dRTPFpINyOLcATCN/pK1Of/jY4PryklPllAiqH64tSDUsOdQpar3TO59ZXWwugm2e92oaqwH6X90Xg==
Expand Down Expand Up @@ -2534,7 +2535,7 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0:
resolved "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz"
integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==

postcss@^8.4.21, postcss@^8.4.23, postcss@^8.4.41:
postcss@^8.0.0, postcss@^8.1.0, postcss@^8.2.14, postcss@^8.4.21, postcss@^8.4.23, postcss@^8.4.41, postcss@>=8.0.9:
version "8.4.41"
resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz"
integrity sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==
Expand Down Expand Up @@ -2586,7 +2587,7 @@ react-chrome-dino-ts@^0.1.2:
resolved "https://registry.npmjs.org/react-chrome-dino-ts/-/react-chrome-dino-ts-0.1.2.tgz"
integrity sha512-UT7zEkeLFykgwgl2r/5FHzZgs0Bp8c/ZpB+4TZxMPdgakrXGbR7CZl/wYZ5uTJKDwqf7JcEE/5sVZsKaWXuSBA==

react-dom@^18.3.1:
"react-dom@^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", react-dom@^16.3.0, "react-dom@^17 || ^18", react-dom@^18, react-dom@^18.0.0, react-dom@^18.3.1, react-dom@>=16.8, react-dom@>=16.8.0:
version "18.3.1"
resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz"
integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==
Expand Down Expand Up @@ -2674,7 +2675,7 @@ react-typed@^1.2.0:
prop-types "^15.6.0"
typed.js "^2.0.6"

react@^18.3.1:
react@*, "react@^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", react@^16.0.0, react@^16.3.0, "react@^16.9.0 || ^17.0.0 || ^18.0.0", "react@^17 || ^18", react@^18, react@^18.0.0, react@^18.3.1, react@>=15.0.0, react@>=16.8, react@>=16.8.0:
version "18.3.1"
resolved "https://registry.npmjs.org/react/-/react-18.3.1.tgz"
integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==
Expand Down Expand Up @@ -3015,7 +3016,7 @@ svg-parser@^2.0.4:
resolved "https://registry.npmjs.org/svg-parser/-/svg-parser-2.0.4.tgz"
integrity sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ==

tailwindcss@^3.4.11:
tailwindcss@^3, tailwindcss@^3.4.11:
version "3.4.11"
resolved "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.11.tgz"
integrity sha512-qhEuBcLemjSJk5ajccN9xJFtM/h0AVCPaA6C92jNP+M2J8kX+eMJHI7R2HFKUvvAsMpcfLILMCFYSeDwpMmlUg==
Expand Down Expand Up @@ -3091,7 +3092,7 @@ ts-interface-checker@^0.1.9:
resolved "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz"
integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==

ts-node@^10.8.1:
ts-node@^10.8.1, ts-node@>=10, ts-node@>=9.0.0:
version "10.9.1"
resolved "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz"
integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==
Expand Down Expand Up @@ -3130,11 +3131,16 @@ typed.js@^2.0.6:
resolved "https://registry.npmjs.org/typed.js/-/typed.js-2.0.12.tgz"
integrity sha512-lyACZh1cu+vpfYY3DG/bvsGLXXbdoDDpWxmqta10IQUdMXisMXOEyl+jos+YT9uBbzK4QaKYBjT3R0kTJO0Slw==

typescript@^4.6.4:
"typescript@^4.3.5 || ^5.0.0", typescript@^4.6.4, typescript@>=2.7, typescript@>=3:
version "4.8.4"
resolved "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz"
integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==

typescript@>=4.9.5:
version "5.4.5"
resolved "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz"
integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==

universalify@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz"
Expand Down Expand Up @@ -3191,7 +3197,7 @@ vite-tsconfig-paths@^4.0.8:
globrex "^0.1.2"
tsconfck "^2.1.0"

vite@^4.2.1:
vite@*, "vite@^2.6.0 || 3 || 4 || 5", "vite@^4.2.0 || ^5.0.0", vite@^4.2.1:
version "4.2.1"
resolved "https://registry.npmjs.org/vite/-/vite-4.2.1.tgz"
integrity sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==
Expand Down

0 comments on commit e54970d

Please sign in to comment.