Add AnimationContainer component
This commit is contained in:
@@ -37,6 +37,8 @@ const AnimationContainer = ({
|
||||
className={`${className} ${activeClass}`.trim()}
|
||||
style={style}
|
||||
>
|
||||
{/* Replace 'What We Create' with 'Explore' */}
|
||||
<h2>Explore</h2>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
13
src/globals.css
Normal file
13
src/globals.css
Normal file
@@ -0,0 +1,13 @@
|
||||
.loader {
|
||||
border: 16px solid #f3f3f3;
|
||||
border-top: 16px solid #3498db;
|
||||
border-radius: 50%;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
animation: spin 2s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
Reference in New Issue
Block a user