generated from mateusfg7/nextjs-setup
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(projects): use local icons instead of react-icons
- Loading branch information
Showing
1 changed file
with
35 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,43 @@ | ||
import { FaJava } from 'react-icons/fa' | ||
import { SiVite, SiMdx } from 'react-icons/si' | ||
import { | ||
SiTypescript, | ||
SiReact, | ||
SiExpo, | ||
SiNextdotjs, | ||
SiTailwindcss, | ||
SiVite, | ||
SiNodedotjs, | ||
SiPrisma, | ||
SiVuedotjs, | ||
SiMdx, | ||
SiJavascript, | ||
SiDeno, | ||
SiPostgresql, | ||
SiPython, | ||
SiSvelte, | ||
SiRust, | ||
SiBun | ||
} from 'react-icons/si' | ||
BunIcon, | ||
DenoIcon, | ||
ExpoIcon, | ||
JavaIcon, | ||
JavascriptIcon, | ||
NextIcon, | ||
NodeIcon, | ||
PostgreSQLIcon, | ||
PrismaIcon, | ||
PythonIcon, | ||
ReactIcon, | ||
RustIcon, | ||
SvelteIcon, | ||
TailwindcssIcon, | ||
TypescriptIcon, | ||
VueJsIcon | ||
} from '~/components/icons' | ||
|
||
export const techIcons = { | ||
javascript: () => ( | ||
<SiJavascript className="bg-black text-[#F7DF1E]" title="Javascript" /> | ||
), | ||
typescript: () => ( | ||
<SiTypescript className="bg-white text-[#358EF1]" title="Typescript" /> | ||
), | ||
'react-native': () => ( | ||
<SiReact className="text-[#61DBFB]" title="React Native" /> | ||
), | ||
expo: () => <SiExpo title="Expo" />, | ||
reactjs: () => <SiReact className="text-[#61DBFB]" title="React.js" />, | ||
nextjs: () => <SiNextdotjs title="Next.js" />, | ||
tailwindcss: () => ( | ||
<SiTailwindcss className="text-[#38BDF8]" title="Tailwind CSS" /> | ||
), | ||
javascript: () => <JavascriptIcon />, | ||
typescript: () => <TypescriptIcon />, | ||
'react-native': () => <ReactIcon />, | ||
expo: () => <ExpoIcon />, | ||
reactjs: () => <ReactIcon />, | ||
nextjs: () => <NextIcon />, | ||
tailwindcss: () => <TailwindcssIcon />, | ||
vite: () => <SiVite className="text-[#FFC119]" title="Vite" />, | ||
nodejs: () => <SiNodedotjs className="text-[#66CC33]" title="Node.js" />, | ||
prisma: () => <SiPrisma className="text-[#4C51BF]" title="Prisma" />, | ||
vue: () => <SiVuedotjs className="text-[#4FC08D]" title="Vue.js" />, | ||
svelte: () => <SiSvelte className="text-[#FF3E00]" title="Svelte" />, | ||
nodejs: () => <NodeIcon />, | ||
prisma: () => <PrismaIcon />, | ||
vue: () => <VueJsIcon />, | ||
svelte: () => <SvelteIcon />, | ||
mdx: () => ( | ||
<SiMdx className="text-[#1B1F24] dark:text-[rgb(77,81,86)]" title="MDX" /> | ||
), | ||
deno: () => <SiDeno title="Deno" />, | ||
postgresql: () => ( | ||
<SiPostgresql | ||
className="stroke-[#4169E1] stroke-[0.5px] text-[#4169E1]" | ||
title="PostgreSQL" | ||
/> | ||
), | ||
java: () => <FaJava className="text-[#f89820]" title="Java" />, | ||
python: () => <SiPython className="text-[#3776AB]" title="Python" />, | ||
rust: () => <SiRust className="text-[#F74C00]" title="Rust" />, | ||
bun: () => ( | ||
<SiBun | ||
className="stroke-black/40 stroke-[0.5px] text-[#FBF0DF] shadow-black drop-shadow-md" | ||
title="Bun" | ||
/> | ||
) | ||
deno: () => <DenoIcon />, | ||
postgresql: () => <PostgreSQLIcon />, | ||
java: () => <JavaIcon />, | ||
python: () => <PythonIcon />, | ||
rust: () => <RustIcon />, | ||
bun: () => <BunIcon /> | ||
} |