File tree Expand file tree Collapse file tree 5 files changed +56
-1
lines changed
Expand file tree Collapse file tree 5 files changed +56
-1
lines changed Original file line number Diff line number Diff line change 11function App ( ) {
2- return < div className = "text-lg" > 폰트 크기 설정 테스트 </ div >
2+ return ;
33}
44
55export default App ;
Original file line number Diff line number Diff line change 1+ import LoadingSpinner from "@/components/spinner/LoadingSpinner" ;
2+
3+ const LoadingCommentBox = ( ) => {
4+ return (
5+ < div className = "flex justify-center items-center bg-white border border-gray-100 rounded-xl rounded-tl-none w-[100px] h-[52px]" >
6+ < LoadingSpinner />
7+ </ div >
8+ ) ;
9+ } ;
10+
11+ export default LoadingCommentBox ;
Original file line number Diff line number Diff line change 1+ const LoadingSpinner = ( ) => {
2+ return (
3+ < div className = "flex justify-center items-center space-x-3" >
4+ < div className = "bg-primary-normal rounded-full w-2.5 h-2.5 animate-pulse-custom delay-400" > </ div >
5+ < div className = "bg-primary-light rounded-full w-2.5 h-2.5 animate-pulse-custom delay-600" > </ div >
6+ < div className = "bg-primary-pale rounded-full w-2.5 h-2.5 animate-pulse-custom delay-800" > </ div >
7+ </ div >
8+ ) ;
9+ } ;
10+
11+ export default LoadingSpinner ;
Original file line number Diff line number Diff line change @@ -59,4 +59,33 @@ body {
5959 place-items : center;
6060 min-width : 320px ;
6161 min-height : 100vh ;
62+ }
63+
64+ @keyframes pulse-custom {
65+
66+ 0% ,
67+ 100% {
68+ transform : scale (1 );
69+ }
70+
71+ 50% {
72+ transform : scale (1.5 );
73+ /* 크기를 늘리는 효과 */
74+ }
75+ }
76+
77+ .animate-pulse-custom {
78+ animation : pulse-custom 1s infinite;
79+ }
80+
81+ .delay-400 {
82+ animation-delay : 0.4s ;
83+ }
84+
85+ .delay-600 {
86+ animation-delay : 0.6s ;
87+ }
88+
89+ .delay-800 {
90+ animation-delay : 0.8s ;
6291}
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3+ "baseUrl" : " src" ,
4+ "paths" : {
5+ "@/*" : [" *" ]
6+ },
37 "tsBuildInfoFile" : " ./node_modules/.tmp/tsconfig.app.tsbuildinfo" ,
48 "target" : " ES2020" ,
59 "useDefineForClassFields" : true ,
You can’t perform that action at this time.
0 commit comments