Skip to content

Commit 16fa776

Browse files
fix: update JSX attributes to avoid warnings
1 parent 49511ef commit 16fa776

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed
Lines changed: 1 addition & 1 deletion
Loading

src/components/Hero.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function Hero() {
6767
loop
6868
/>
6969
</div>
70-
<div class="sm:space-x-4 space-x-0 flex flex-col items-center sm:flex-row sm:justify-center">
70+
<div className="sm:space-x-4 space-x-0 flex flex-col items-center sm:flex-row sm:justify-center">
7171
<a
7272
href="https://dub.sh/fosscu-discord"
7373
target="_blank"

src/components/Navbar.jsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const Navbar = () => {
8686
<Link to="/shipyard">Shipyard</Link>
8787
</li>
8888

89-
<div class="relative group xl:mr-0 mr-8">
89+
<div className="relative group xl:mr-0 mr-8">
9090
<button className=" px-4 pt-4 pb-0 hover:text-[#0DFF1C] flex items-center text-white ">
9191
<span className="mr-1">
9292
{" "}
@@ -95,24 +95,24 @@ const Navbar = () => {
9595
width="16"
9696
height="16"
9797
fill="currentColor"
98-
class="bi bi-chevron-down"
98+
className="bi bi-chevron-down"
9999
viewBox="0 0 16 16"
100100
>
101101
<path
102-
fill-rule="evenodd"
102+
fillRule="evenodd"
103103
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"
104104
/>
105105
</svg>
106106
</span>
107107
<span>More</span>
108108
</button>
109-
<div class="translate-x-[-0em] hidden absolute bg-black text-white rounded mt-1 w-36 group-hover:block hover:rounded-md ">
110-
<a href="/resource" class="block px-4 py-2 hover:text-[#0dff1c]">
109+
<div className="translate-x-[-0em] hidden absolute bg-black text-white rounded mt-1 w-36 group-hover:block hover:rounded-md ">
110+
<a href="/resource" className="block px-4 py-2 hover:text-[#0dff1c]">
111111
Resources
112112
</a>
113113
<a
114114
href="https://docs.fosscu.org"
115-
class="block px-4 py-2 hover:text-[#0dff1c]"
115+
className="block px-4 py-2 hover:text-[#0dff1c]"
116116
target="blank"
117117
>
118118
Handbook
@@ -121,14 +121,14 @@ const Navbar = () => {
121121
href="https://lu.ma/fosscu"
122122
rel="noreferrer"
123123
target="blank"
124-
class="block px-4 py-2 hover:text-[#0dff1c]"
124+
className="block px-4 py-2 hover:text-[#0dff1c]"
125125
>
126126
Calendar
127127
</a>
128128
<a
129129
href="https://github.com/FOSS-Community/"
130130
target="blank"
131-
class="block px-4 py-2 hover:text-[#0dff1c]"
131+
className="block px-4 py-2 hover:text-[#0dff1c]"
132132
>
133133
Contribute
134134
</a>

src/components/Roadmaps.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Roadmaps = (props) => {
2020
Learn more
2121
<svg className="ml-1 w-6 h-6" fill="currentColor" viewBox="0 0 20 20"
2222
xmlns="http://www.w3.org/2000/svg">
23-
<path fill-rule="evenodd"
23+
<path fillRule="evenodd"
2424
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"
2525
clip-rule="evenodd"></path>
2626
</svg>

0 commit comments

Comments
 (0)