The Testimonials page (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/sorcerer/llms.txt
Use this file to discover all available pages before exploring further.
/testimonials) gathers praise from past collaborators under the heading “The Coven” with the subtitle “Whispers from past collaborators”. Quotes are displayed one at a time inside a hand-drawn SVG scrying orb at the centre of the page. The active testimonial rotates automatically every six seconds, fading between entries with a cinematic blur-and-scale transition. Visitors can also jump directly to any quote by clicking the dot indicators at the bottom of the orb.
Scrying Orb Design
SVG orb structure. The orb is composed entirely of SVG elements drawn inline:- Two concentric ellipses in
velvet-purpleform the body of the orb. - A stem and a flat base sit below the ellipses, giving the orb a chalice-like silhouette.
- A dashed outer ring surrounds the ellipses to suggest a magical aura.
- A small turquoise crystal ball sits at the top of the orb as a decorative finial.
<AnimatePresence mode="wait"> wraps the currently displayed testimonial so that the outgoing quote fully exits before the incoming one enters. The transition properties are:
| Phase | opacity | filter | scale |
|---|---|---|---|
| Enter (initial) | 0 | blur(10px) | 0.9 |
| Enter (animate) | 1 | blur(0px) | 1 |
| Exit | 0 | blur(10px) | 1.1 |
setInterval with a 6000 ms delay advances the active index on each tick, wrapping back to the first testimonial after the last. The interval is cleared in the useEffect cleanup to prevent memory leaks when the component unmounts.
Dot indicators. A row of dot buttons appears below the orb — one dot per testimonial. The active dot receives a turquoise glow and scales up to 1.5× its normal size. Inactive dots are rendered in silver/30 (30% opacity silver). Clicking any dot cancels the current interval, immediately shows the selected testimonial, and restarts the auto-cycle timer.
Testimonials Data
The three testimonials are stored in theC array in assets/main.js. Each object contains a quote, author, and title.
Adding a Testimonial
Locate the C array in assets/main.js
Open
assets/main.js and find the C array near the top of the TestimonialsPage component. The three existing entries for Sarah J., Marcus T., and Elena R. will be visible.