Skip to content

Commit ce51e2e

Browse files
committed
refactor: remove unused CirclingElements component and related styles
1 parent a030dad commit ce51e2e

File tree

4 files changed

+1
-80
lines changed

4 files changed

+1
-80
lines changed

src/components/animations/circle.tsx

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/components/animations/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ import YearsTabs from "@/components/animations/years-tabs";
4040
import Feedback from "@/components/shared/feedback";
4141
import Footer from "@/components/shared/footer";
4242
import Hero from "@/components/shared/hero";
43-
import CirclingElements from "./circle";
4443
import DotMatrixClock from "./dotted-matric-clock";
4544
import DynamicStatusButton from "./dynamic-status-button";
4645
import FluidButton from "./fluid-button";
@@ -60,7 +59,6 @@ export {
6059
AnimatedFeedback,
6160
Bolt,
6261
Cashflow,
63-
CirclingElements,
6462
ClickSelect,
6563
ComponentPreview,
6664
Counter,

src/pages/bd.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const BD = () => {
2121
key={index}
2222
className="absolute size-20 p-1 cursor-pointer shadow-lg shadow-black/10 rounded-lg bg-[url(/pic.png)] bg-cover bg-center"
2323
style={{ x, y, rotate: rotation }}
24-
></m.div>
24+
/>
2525
);
2626
})}
2727
<p className="text-2xl font-bold">Happy Birthday PiC</p>

tailwind.config.js

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -60,40 +60,6 @@ export default {
6060
},
6161
},
6262
},
63-
animation: {
64-
circling: {
65-
"0%": {
66-
transform:
67-
"rotate(calc(var(--circling-offset) * 1deg)) translate(calc(var(--circling-radius) * 1px), 0) rotate(calc(var(--circling-offset) * -1deg))",
68-
},
69-
"100%": {
70-
transform:
71-
"rotate(calc(360deg + (var(--circling-offset) * 1deg))) translate(calc(var(--circling-radius) * 1px), 0) rotate(calc(-360deg + (var(--circling-offset) * -1deg)))",
72-
},
73-
},
74-
"background-gradient": {
75-
"0%, 100%": {
76-
transform: "translate(0, 0)",
77-
animationDelay: "var(--background-gradient-delay, 0s)",
78-
},
79-
"20%": {
80-
transform:
81-
"translate(calc(100% * var(--tx-1, 1)), calc(100% * var(--ty-1, 1)))",
82-
},
83-
"40%": {
84-
transform:
85-
"translate(calc(100% * var(--tx-2, -1)), calc(100% * var(--ty-2, 1)))",
86-
},
87-
"60%": {
88-
transform:
89-
"translate(calc(100% * var(--tx-3, 1)), calc(100% * var(--ty-3, -1)))",
90-
},
91-
"80%": {
92-
transform:
93-
"translate(calc(100% * var(--tx-4, -1)), calc(100% * var(--ty-4, -1)))",
94-
},
95-
},
96-
},
9763
},
9864
plugins: [tailwindcssAnimate],
9965
};

0 commit comments

Comments
 (0)