From 57276e10b24939345c191f162598c46d953b1dfe Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:07:51 +0330 Subject: [PATCH] Import source: src/components/ArtistSpotlight/ArtistSpotlight Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- .../ArtistSpotlight/ArtistSpotlight.jsx | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/components/ArtistSpotlight/ArtistSpotlight.jsx diff --git a/src/components/ArtistSpotlight/ArtistSpotlight.jsx b/src/components/ArtistSpotlight/ArtistSpotlight.jsx new file mode 100644 index 0000000..d4aa586 --- /dev/null +++ b/src/components/ArtistSpotlight/ArtistSpotlight.jsx @@ -0,0 +1,100 @@ +import { useRef } from 'react' +import { motion, useInView } from 'framer-motion' +import ArtistParticles from './ArtistParticles' +import { artists } from '../../data/mockData' + +export default function ArtistSpotlight() { + const artist = artists[0] + const ref = useRef() + const inView = useInView(ref, { once: true, margin: '-100px' }) + + return ( +
+
+ + {/* Particle field */} +
+ +
+ + {/* Gradient fade left */} +
+
+ +
+
+ {/* Text */} + +

Artist Spotlight

+

+ {artist.name} +

+

{artist.genre}

+

{artist.bio}

+ + {/* Stats */} +
+ {[ + [artist.followers, 'Followers'], + ['48', 'Tracks'], + ['6', 'Albums'], + ].map(([val, label], i) => ( +
+

{val}

+

{label}

+
+ ))} +
+ +
+ + Follow Artist + + + Play Discography + +
+
+ + {/* Artist image */} + +
+ {artist.name} +
+ {/* Gold corner accents */} +
+
+
+
+
+ +
+
+
+ ) +}