-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathToolGrid.tsx
More file actions
59 lines (57 loc) · 1.93 KB
/
ToolGrid.tsx
File metadata and controls
59 lines (57 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import dynamic from "next/dynamic";
import { Heading, Section, ToolCard } from "..";
export function ToolGrid() {
return (
<Section bg="dark" align="center">
<div className="flex w-full flex-col gap-6 self-center lg:max-w-xl lg:gap-10 2xl:max-w-4xl">
<Heading type="h3" color="red">
Tools_
</Heading>
<div className="grid w-full grid-cols-2 gap-12 lg:grid-cols-4">
{[
{
icon: dynamic(() => import("@/icons/tools/NestIcon").then((mod) => mod.NestIcon)),
title: "Nest.js",
},
{
icon: dynamic(() => import("@/icons/tools/DockerIcon").then((mod) => mod.DockerIcon)),
title: "Docker",
},
{
icon: dynamic(() =>
import("@/icons/tools/GraphQLIcon").then((mod) => mod.GraphQLIcon),
),
title: "GraphQL",
},
{
icon: dynamic(() => import("@/icons/tools/NodeIcon").then((mod) => mod.NodeIcon)),
title: "Node.js",
},
{
icon: dynamic(() =>
import("@/icons/tools/PostgresIcon").then((mod) => mod.PostgresIcon),
),
title: "PostgreSQL",
},
{
icon: dynamic(() => import("@/icons/tools/ReactIcon").then((mod) => mod.ReactIcon)),
title: "React",
},
{
icon: dynamic(() => import("@/icons/tools/NextIcon").then((mod) => mod.NextIcon)),
title: "Next.js",
},
{
icon: dynamic(() =>
import("@/icons/tools/TailwindLogo").then((mod) => mod.TailwindLogo),
),
title: "TailwindCSS",
},
].map((icon, index) => (
<ToolCard key={index} index={index} {...icon} />
))}
</div>
</div>
</Section>
);
}