File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 99 "lint" : " eslint" ,
1010 "icons:clean" : " svgo -r -f src/shared/icons/source --config=./svgo.config.mjs --multipass" ,
1111 "icons:gen" : " pnpm dlx tsx src/shared/icons/scripts/generate-icon-list.ts " ,
12- "icons" : " pnpm icons:clean && pnpm icons:gen" ,
13- "icons:watch" : " chokidar \" src/shared/icons/source/**/*.svg\" -c \" pnpm icons\" "
12+ "icons" : " pnpm icons:clean && pnpm icons:gen"
1413 },
1514 "dependencies" : {
1615 "axios" : " ^1.12.2" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default function Home() {
1212 < Icon name = 'CalendarBlank' size = { 200 } color = 'gray-900' />
1313 < Icon name = 'User' size = { 200 } color = 'blue-400' />
1414 < Icon name = 'User' size = { 200 } color = 'red-300' />
15-
15+ < Icon name = 'User' size = { 200 } color = 'red-300' />
1616 < p className = 'mt-3 text-lg sm:text-2xl text-gray-600' >
1717 Next.js(Page Router) + TS + Tailwind + Axios
1818 </ p >
Original file line number Diff line number Diff line change @@ -78,8 +78,9 @@ export const Icon = ({
7878
7979 const combined = clsx (
8080 'inline-block' ,
81+ 'transform' ,
8182 rotateClass ,
82- hasRotateAnimation && 'transform transition-transform duration-200' ,
83+ hasRotateAnimation && 'transition-transform duration-200' ,
8384 className ,
8485 ) ;
8586
You can’t perform that action at this time.
0 commit comments