diff --git a/src/app/components/links.tsx b/src/app/components/links.tsx
new file mode 100644
index 0000000..552f00a
--- /dev/null
+++ b/src/app/components/links.tsx
@@ -0,0 +1,24 @@
+import GithubSvg from "@/components/svg/github-svg";
+import GitlabSvg from "@/components/svg/gitlab-svg";
+import Link from "next/link";
+
+export default function Links() {
+
+ const links = [
+
+
+
+ ,
+
+
+
+ ]
+
+ return (
+
+
+ {links}
+
+
+ )
+}
diff --git a/src/app/globals.css b/src/app/globals.css
index 8ddd9e8..8acb3ef 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -11,6 +11,6 @@ main {
}
svg {
- @apply w-14 h-14 hover:text-cyan-500 hover:animate-bounce
+ @apply w-14 h-14 text-amber-100 hover:text-cyan-500
}
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 582e0a7..f844da4 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,18 +1,9 @@
-import GithubSvg from "@/components/svg/github-svg";
-import GitlabSvg from "@/components/svg/gitlab-svg";
-import Link from "next/link";
+import Links from "$components/links";
export default function Home() {
return (
-
-
-
-
-
-
-
-
+
)
}
diff --git a/src/components/svg/github-svg.tsx b/src/components/svg/github-svg.tsx
index 3693780..fa51343 100644
--- a/src/components/svg/github-svg.tsx
+++ b/src/components/svg/github-svg.tsx
@@ -1,3 +1,3 @@
export default function GithubSvg() {
- return ()
+ return ()
}
diff --git a/tsconfig.json b/tsconfig.json
index e59724b..f6c67e1 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -19,7 +19,9 @@
}
],
"paths": {
- "@/*": ["./src/*"]
+ "@/*": ["./src/*"],
+ "$components/*": ["./src/app/components/*"],
+ "$lib/*": ["./src/app/lib/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],