Skip to content

Commit c22dd05

Browse files
committed
fix icon home
1 parent dc82e33 commit c22dd05

4 files changed

Lines changed: 24 additions & 22 deletions

File tree

public/codesandbox.webp

2.44 KB
Loading

public/github.png

11 KB
Loading

src/index.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,3 @@ ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
1717
/>
1818
</React.StrictMode>
1919
);
20-
21-
// ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
22-
// <RouterProvider
23-
// router={router}
24-
// defaultPendingMs={0}
25-
// defaultPendingMinMs={0}
26-
// defaultErrorComponent={ErrorComponent}
27-
// defaultPendingComponent={LoadingComponent}
28-
// />
29-
// );

src/pages/Home/index.tsx

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,30 @@ export function Home() {
1515
<strong>{`${translate("WELCOME")} - ${APPLICATION_NAME}`}</strong>
1616
</h1>
1717
<p>{translate("HOME_MESSAGE_PRESENTATION")}</p>
18-
<a
19-
href="https://github.com/sajermann/BoilerplateComponentReact/"
20-
target="_blank"
21-
rel="noreferrer"
22-
>
23-
<img
24-
src="https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white"
25-
alt="github"
26-
height="18"
27-
style={{ borderRadius: 5, marginRight: 5 }}
28-
/>
29-
</a>
18+
<div className="flex gap-2">
19+
<a
20+
href="https://github.com/sajermann/TableComponentReact"
21+
target="_blank"
22+
rel="noreferrer"
23+
className="bg-black rounded-sm p-2 flex gap-2 h-7 items-center text-sm font-bold !text-white"
24+
>
25+
<img src="./github.png" alt="github" className="w-4.5" />
26+
Github
27+
</a>
28+
<a
29+
href="https://codesandbox.io/p/github/sajermann/TableComponentReact/develop"
30+
target="_blank"
31+
rel="noreferrer"
32+
className="bg-black rounded-sm p-2 flex gap-2 h-7 items-center text-sm font-bold !text-white"
33+
>
34+
<img
35+
src="./codesandbox.webp"
36+
alt="codesandbox"
37+
className="w-4 invert"
38+
/>
39+
Codesandbox
40+
</a>
41+
</div>
3042
</div>
3143
<CenterOptions options={data?.options || []} />
3244
</main>

0 commit comments

Comments
 (0)