awesome-ring-carousel 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,14 +42,36 @@ const slides = [
|
|
|
42
42
|
{ title: 'Slide 2', description: 'Second slide', image: 'url2.jpg' },
|
|
43
43
|
];
|
|
44
44
|
|
|
45
|
-
export default function App() {
|
|
46
|
-
return (
|
|
47
|
-
<div
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
45
|
+
export default function App() {
|
|
46
|
+
return (
|
|
47
|
+
<div
|
|
48
|
+
style={{
|
|
49
|
+
minHeight: '100vh',
|
|
50
|
+
padding: '48px 20px 64px',
|
|
51
|
+
background:
|
|
52
|
+
'radial-gradient(70% 50% at 50% 35%, rgba(0,245,255,0.18) 0%, rgba(0,0,0,0) 60%), linear-gradient(180deg, #05070f 0%, #060b1a 55%, #070b12 100%)',
|
|
53
|
+
color: '#e6f0ff',
|
|
54
|
+
display: 'flex',
|
|
55
|
+
flexDirection: 'column',
|
|
56
|
+
alignItems: 'center',
|
|
57
|
+
justifyContent: 'center',
|
|
58
|
+
gap: '18px',
|
|
59
|
+
}}
|
|
60
|
+
>
|
|
61
|
+
<h1 style={{ margin: 0, fontSize: 'clamp(28px, 5vw, 56px)', letterSpacing: '-0.02em' }}>
|
|
62
|
+
Explore the Universe of <span style={{ color: '#00f5ff' }}>Possibilities</span>
|
|
63
|
+
</h1>
|
|
64
|
+
<p style={{ margin: 0, opacity: 0.7 }}>
|
|
65
|
+
Explore the full spectrum of products by clicking on any card
|
|
66
|
+
</p>
|
|
67
|
+
|
|
68
|
+
<div style={{ width: '100%', maxWidth: 980, height: '60vh', minHeight: 420 }}>
|
|
69
|
+
<AwesomeRingCarousel data={slides} theme="dark" />
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
```
|
|
53
75
|
|
|
54
76
|
## Data Format
|
|
55
77
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "awesome-ring-carousel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "A beautiful, interactive 3D ring carousel component for React with smooth animations, multiple themes, and flexible data handling",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|