mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-05-07 14:13:06 +00:00
i did some work
This commit is contained in:
parent
6e2a3cd870
commit
fbec2dddc7
25 changed files with 600 additions and 248 deletions
17
src/components/static/Icons.tsx
Normal file
17
src/components/static/Icons.tsx
Normal file
|
@ -0,0 +1,17 @@
|
|||
import cssIcon from "../../assets/icons/css.svg"
|
||||
import htmlIcon from "../../assets/icons/html.svg"
|
||||
import reactjs from "../../assets/icons/reactjs.svg"
|
||||
import nodejs from "../../assets/icons/nodejs.svg"
|
||||
import typescript from "../../assets/icons/typescript.svg"
|
||||
import javascript from "../../assets/icons/javascript.svg"
|
||||
const icons:any = {
|
||||
"css": cssIcon,
|
||||
"html": htmlIcon,
|
||||
"reactjs": reactjs,
|
||||
"nodejs": nodejs,
|
||||
"typescript": typescript,
|
||||
javascript
|
||||
}
|
||||
export default function Icon({ icon, className }: { icon: string, className?: string }) {
|
||||
return <img src={icons[icon]} className={"inline-flex hover:scale-125 duration-500 linear " + (className ?? "")} />
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue