-
- Projects
-
-
- Showcase of my works on frontend development.
-
-
- {projects.map((project, index) => (
-
-
- {project.category}
-
-
-
- ))}
+
+
+
+
Projects
+
+ Showcase of my projects on front-end development that I'm proud
+ of.
+
+ {projects?.map((project, index) => (
+
+
+ {project.category}
+
+
+
+ ))}
+
diff --git a/src/store/collections/index.tsx b/src/store/collections/index.tsx
deleted file mode 100644
index 244a6e8..0000000
--- a/src/store/collections/index.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import { atom } from 'recoil';
-
-export const collectionsAtom = atom({
- key: 'COLLECTION_ATOM',
- default: [
- {
- category: 'Next Ecosystem',
- child: [
- {
- title: 'nextjs-tailwind-blog',
- description:
- 'The most beautiful blog in modern times, using Next.js, TypeScript, Tailwind CSS, Welcome to visit',
- link: 'https://github.com/Chocolate1999/nextjs-tailwind-blog',
- techs: 'next,tailwindcss,typescript',
- },
- ],
- },
- ],
-});
diff --git a/src/store/projects.tsx b/src/store/projects.tsx
new file mode 100644
index 0000000..ddf92a3
--- /dev/null
+++ b/src/store/projects.tsx
@@ -0,0 +1,56 @@
+import { BsGithub } from 'react-icons/bs';
+import { SiBilibili, SiNextdotjs, SiVite } from 'react-icons/si';
+import { atom } from 'recoil';
+
+export const projectsAtom = atom({
+ key: 'PROJECTS_ATOM',
+ default: [
+ {
+ category: 'Next Ecosystem',
+ child: [
+ {
+ title: 'nextjs-tailwind-blog',
+ description:
+ 'The most beautiful blog in modern times, using Next.js, TypeScript, Tailwind CSS, Welcome to visit',
+ link: 'https://github.com/Chocolate1999/nextjs-tailwind-blog',
+ icon:
,
+ },
+ {
+ title: 'nextjs-tailwind-blog',
+ description:
+ 'The most beautiful blog in modern times, using Next.js, TypeScript, Tailwind CSS, Welcome to visit',
+ link: 'https://github.com/Chocolate1999/nextjs-tailwind-blog',
+ icon:
,
+ },
+ {
+ title: 'nextjs-tailwind-blog',
+ description:
+ 'The most beautiful blog in modern times, using Next.js, TypeScript, Tailwind CSS, Welcome to visit',
+ link: 'https://github.com/Chocolate1999/nextjs-tailwind-blog',
+ icon:
,
+ },
+ {
+ title: 'nextjs-tailwind-blog',
+ description:
+ 'The most beautiful blog in modern times, using Next.js, TypeScript, Tailwind CSS, Welcome to visit',
+ link: 'https://github.com/Chocolate1999/nextjs-tailwind-blog',
+ icon:
,
+ },
+ {
+ title: 'nextjs-tailwind-blog',
+ description:
+ 'The most beautiful blog in modern times, using Next.js, TypeScript, Tailwind CSS, Welcome to visit',
+ link: 'https://github.com/Chocolate1999/nextjs-tailwind-blog',
+ icon:
,
+ },
+ {
+ title: 'nextjs-tailwind-blog',
+ description:
+ 'The most beautiful blog in modern times, using Next.js, TypeScript, Tailwind CSS, Welcome to visit',
+ link: 'https://github.com/Chocolate1999/nextjs-tailwind-blog',
+ icon:
,
+ },
+ ],
+ },
+ ],
+});
diff --git a/src/store/projects/index.tsx b/src/store/projects/index.tsx
deleted file mode 100644
index 0a5699e..0000000
--- a/src/store/projects/index.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import { atom } from 'recoil';
-
-export const projectsAtom = atom({
- key: 'PROJECTS_ATOM',
- default: [
- {
- category: 'Next Ecosystem',
- child: [
- {
- title: 'nextjs-tailwind-blog',
- description:
- 'The most beautiful blog in modern times, using Next.js, TypeScript, Tailwind CSS, Welcome to visit',
- link: 'https://github.com/Chocolate1999/nextjs-tailwind-blog',
- techs: 'next,tailwindcss,typescript',
- },
- ],
- },
- ],
-});
diff --git a/src/styles/globals.css b/src/styles/globals.css
index f7e22f1..2857d4a 100644
--- a/src/styles/globals.css
+++ b/src/styles/globals.css
@@ -112,7 +112,7 @@
}
[data-fade] {
- @apply translate-y-10 opacity-0 transition duration-[400ms] ease-out motion-reduce:translate-y-0 motion-reduce:opacity-100;
+ @apply translate-y-0 opacity-0 transition duration-[400ms] ease-out motion-reduce:translate-y-0 motion-reduce:opacity-100;
}
.fade-in-start [data-fade] {
@apply translate-y-0 opacity-100;
diff --git a/src/types/frontmatters.ts b/src/types/frontmatters.ts
index bf993bd..0c189b6 100644
--- a/src/types/frontmatters.ts
+++ b/src/types/frontmatters.ts
@@ -59,7 +59,8 @@ export type projectItemType = {
title: string;
description: string;
link: string;
- techs: string;
+ // eslint-disable-next-line
+ icon: React.ReactComponentElement
;
};
export type ProjectsType = {