Skip to content

Commit 25f6ba5

Browse files
authored
refactor: Update Tools component to use JSX converter tools
1 parent 201509d commit 25f6ba5

File tree

1 file changed

+13
-65
lines changed

1 file changed

+13
-65
lines changed

src/app/Tools.js

Lines changed: 13 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -13,80 +13,26 @@ export default function Tools() {
1313
{
1414
name: "HTML to Markdown",
1515
description: "Convert HTML to markdown",
16-
url: "https://sopkit.github.io/html-to-markdown/",
17-
image: "",
18-
},
19-
{
20-
name: "JSON to CSV",
21-
description: "Convert JSON to CSV",
22-
url: "https://sopkit.github.io/json-to-csv/",
23-
image: "",
24-
},
25-
{
26-
name: "CSV to JSON",
27-
description: "Convert CSV to JSON",
28-
url: "https://sopkit.github.io/csv-to-json/",
29-
image: "",
30-
},
31-
{
32-
name: "JSON to YAML",
33-
description: "Convert JSON to YAML",
34-
url: "https://sopkit.github.io/json-to-yaml/",
35-
image: "",
36-
},
37-
{
38-
name: "YAML to JSON",
39-
description: "Convert YAML to JSON",
40-
url: "https://sopkit.github.io/yaml-to-json/",
41-
image: "",
42-
},
43-
{
44-
name: "JSON to XML",
45-
description: "Convert JSON to XML",
46-
url: "https://sopkit.github.io/json-to-xml/",
47-
image: "",
48-
},
49-
{
50-
name: "XML to JSON",
51-
description: "Convert XML to JSON",
52-
url: "https://sopkit.github.io/xml-to-json/",
53-
image: "",
54-
},
55-
{
56-
name: "JSON to URL",
57-
description: "Convert JSON to URL",
58-
url: "https://sopkit.github.io/json-to-url/",
59-
image: "",
60-
},
61-
{
62-
name: "URL to JSON",
63-
description: "Convert URL to JSON",
64-
url: "https://sopkit.github.io/url-to-json/",
16+
url: "https://sopkit.github.io/markdown-to-html/",
6517
image: "",
6618
},
6719
{
68-
name: "JSON to Query String",
69-
description: "Convert JSON to Query String",
70-
url: "https://sopkit.github.io/json-to-query-string/",
20+
name: "HTML to JSX",
21+
description: "Convert HTML to JSX",
22+
url: "https://sopkit.github.io/html-to-jsx-converter/",
7123
image: "",
7224
},
7325
{
74-
name: "Query String to JSON",
75-
description: "Convert Query String to JSON",
76-
url: "https://sopkit.github.io/query-string-to-json/",
26+
name: "Toss a Coin",
27+
description: "Toss a coin",
28+
url: "https://sopkit.github.io/toss-a-coin/",
7729
image: "",
7830
},
7931
{
80-
name: "JSON to Base64",
81-
description: "Convert JSON to Base64",
82-
url: "https://sopkit.github.io/json-to-base64/",
32+
name: "Play Piano",
33+
description: "Play Piano on Web",
34+
url: "https://sopkit.github.io/playable-piano/",
8335
image: "",
84-
},
85-
{
86-
name: "Base64 to JSON",
87-
description: "Convert Base64 to JSON",
88-
url: "https://sopkit.github.io/base64-to-json/",
89-
image:"",
9036
}
9137
];
9238

@@ -100,8 +46,10 @@ export default function Tools() {
10046
<CardDescription>{tool.description}</CardDescription>
10147
</CardContent>
10248
<CardFooter>
103-
<Button as="a" href={tool.url} target="_blank">
49+
<Button target="_blank">
50+
<a href={tool.url} >
10451
Visit
52+
</a>
10553
</Button>
10654
</CardFooter>
10755
</Card>

0 commit comments

Comments
 (0)