Skip to content

Commit 91065c2

Browse files
committed
globe
1 parent 41cb64f commit 91065c2

File tree

1 file changed

+108
-108
lines changed

1 file changed

+108
-108
lines changed

src/components/Sidebar/Sidebar.jsx

Lines changed: 108 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,103 @@ function Sidebar() {
144144
);
145145
}
146146

147+
// const StyledWrapper = styled.div`
148+
// .button {
149+
// cursor: pointer;
150+
// font-size: 1.4rem;
151+
// border-radius: 16px;
152+
// border: none;
153+
// padding: 2px;
154+
// background: radial-gradient(circle 80px at 80% -10%, #ffffff, #181b1b);
155+
// position: relative;
156+
// transition:
157+
// background 0.3s,
158+
// transform 0.3s;
159+
// animation: zoom 3s ease-in-out infinite;
160+
// }
161+
162+
// .button:hover {
163+
// transform: scale(0.98);
164+
// animation-play-state: paused;
165+
// }
166+
167+
// .button::after {
168+
// content: '';
169+
// position: absolute;
170+
// width: 65%;
171+
// height: 60%;
172+
// border-radius: 120px;
173+
// top: 0;
174+
// right: 0;
175+
// box-shadow: 0 0 20px #ffffff38;
176+
// z-index: -1;
177+
// transition: box-shadow 0.3s;
178+
// }
179+
180+
// .button:hover::after {
181+
// box-shadow: 0 0 10px #ffffff18;
182+
// }
183+
184+
// .blob1 {
185+
// position: absolute;
186+
// width: 70px;
187+
// height: 100%;
188+
// border-radius: 16px;
189+
// bottom: 0;
190+
// left: 0;
191+
// background: radial-gradient(circle 60px at 0% 100%, #3fe9ff, #0000ff80, transparent);
192+
// box-shadow: -10px 10px 30px #0051ff2d;
193+
// transition:
194+
// background 0.3s,
195+
// box-shadow 0.3s;
196+
// }
197+
198+
// .button:hover .blob1 {
199+
// box-shadow: -5px 5px 20px #000;
200+
// }
201+
202+
// .inner {
203+
// padding: 14px 25px;
204+
// border-radius: 14px;
205+
// color: #fff;
206+
// z-index: 3;
207+
// position: relative;
208+
// background: radial-gradient(circle 80px at 80% -50%, #777777, #0f1111);
209+
// transition: background 0.3s;
210+
// white-space: nowrap;
211+
// }
212+
213+
// .button:hover .inner {
214+
// background: radial-gradient(circle 80px at 80% -50%, #333333, #0f0f0f);
215+
// }
216+
217+
// .inner::before {
218+
// content: '';
219+
// width: 100%;
220+
// height: 100%;
221+
// left: 0;
222+
// top: 0;
223+
// border-radius: 14px;
224+
// background: radial-gradient(circle 60px at 0% 100%, #00e1ff1a, #0000ff11, transparent);
225+
// position: absolute;
226+
// transition: opacity 0.3s;
227+
// }
228+
229+
// .button:hover .inner::before {
230+
// opacity: 0;
231+
// }
232+
233+
// @keyframes zoom {
234+
// 0%,
235+
// 100% {
236+
// transform: scale(1);
237+
// }
238+
// 50% {
239+
// transform: scale(1.05);
240+
// }
241+
// }
242+
// `;
243+
147244
const StyledWrapper = styled.div`
148245
.button {
149246
cursor: pointer;
@@ -239,114 +336,17 @@ const StyledWrapper = styled.div`
239336
transform: scale(1.05);
240337
}
241338
}
242-
`;
243-
244-
export default Sidebar;
245-
246-
// const StyledWrapper = styled.div`
247-
// .button {
248-
// cursor: pointer;
249-
// font-size: 1.4rem;
250-
// border-radius: 16px;
251-
// border: none;
252-
// padding: 2px;
253-
// background: radial-gradient(circle 80px at 80% -10%, #ffffff, #181b1b);
254-
// position: relative;
255-
// transition:
256-
// background 0.3s,
257-
// transform 0.3s;
258-
// animation: zoom 3s ease-in-out infinite;
259-
// }
260-
261-
// .button:hover {
262-
// transform: scale(0.98);
263-
// animation-play-state: paused;
264-
// }
265-
266-
// .button::after {
267-
// content: '';
268-
// position: absolute;
269-
// width: 65%;
270-
// height: 60%;
271-
// border-radius: 120px;
272-
// top: 0;
273-
// right: 0;
274-
// box-shadow: 0 0 20px #ffffff38;
275-
// z-index: -1;
276-
// transition: box-shadow 0.3s;
277-
// }
278-
279-
// .button:hover::after {
280-
// box-shadow: 0 0 10px #ffffff18;
281-
// }
282-
283-
// .blob1 {
284-
// position: absolute;
285-
// width: 70px;
286-
// height: 100%;
287-
// border-radius: 16px;
288-
// bottom: 0;
289-
// left: 0;
290-
// background: radial-gradient(circle 60px at 0% 100%, #3fe9ff, #0000ff80, transparent);
291-
// box-shadow: -10px 10px 30px #0051ff2d;
292-
// transition:
293-
// background 0.3s,
294-
// box-shadow 0.3s;
295-
// }
296-
297-
// .button:hover .blob1 {
298-
// box-shadow: -5px 5px 20px #000;
299-
// }
300-
301-
// .inner {
302-
// padding: 14px 25px;
303-
// border-radius: 14px;
304-
// color: #fff;
305-
// z-index: 3;
306-
// position: relative;
307-
// background: radial-gradient(circle 80px at 80% -50%, #777777, #0f1111);
308-
// transition: background 0.3s;
309-
// white-space: nowrap;
310-
// }
311339
312-
// .button:hover .inner {
313-
// background: radial-gradient(circle 80px at 80% -50%, #333333, #0f0f0f);
314-
// }
315-
316-
// .inner::before {
317-
// content: '';
318-
// width: 100%;
319-
// height: 100%;
320-
// left: 0;
321-
// top: 0;
322-
// border-radius: 14px;
323-
// background: radial-gradient(circle 60px at 0% 100%, #00e1ff1a, #0000ff11, transparent);
324-
// position: absolute;
325-
// transition: opacity 0.3s;
326-
// }
327-
328-
// .button:hover .inner::before {
329-
// opacity: 0;
330-
// }
331-
332-
// @keyframes zoom {
333-
// 0%,
334-
// 100% {
335-
// transform: scale(1);
336-
// }
337-
// 50% {
338-
// transform: scale(1.05);
339-
// }
340-
// }
340+
@media (min-width: 768px) {
341+
.button {
342+
font-size: 1rem; /* Adjust font size for larger screens */
343+
padding: 1px; /* Adjust padding for larger screens */
344+
}
341345
342-
// @media (min-width: 768px) {
343-
// .button {
344-
// font-size: 1rem; /* Adjust font size for larger screens */
345-
// padding: 1px; /* Adjust padding for larger screens */
346-
// }
346+
.inner {
347+
padding: 10px 20px; /* Adjust inner padding for larger screens */
348+
}
349+
}
350+
`;
347351

348-
// .inner {
349-
// padding: 10px 20px; /* Adjust inner padding for larger screens */
350-
// }
351-
// }
352-
// `;
352+
export default Sidebar;

0 commit comments

Comments
 (0)