MCPcopy Create free account
hub / github.com/DavidHDev/react-bits / ShowcasePage

Function ShowcasePage

src/pages/ShowcasePage.jsx:10–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8import '../css/showcase.css';
9
10const ShowcasePage = () => {
11 useScrollToTop();
12
13 return (
14 <>
15 <Navbar showDocs />
16 <div className="showcase-dotfield">
17 <DotField sparkle waveAmplitude={5} dotRadius={2} />
18 </div>
19 <section className="showcase-page">
20 <title>React Bits - Showcase</title>
21
22 <div className="showcase-header">
23 <div className="showcase-header-left">
24 <h1 className="showcase-title">Showcase</h1>
25 <p className="showcase-subtitle">
26 See how developers around the world are using React Bits in their projects.
27 </p>
28 </div>
29 <a
30 href="https://docs.google.com/forms/d/e/1FAIpQLSdlzugJovfr5HPon3YAi8YYSSRuackqX8XIXSeeQmSQypNc7w/viewform?usp=dialog"
31 target="_blank"
32 rel="noreferrer"
33 className="showcase-submit-btn"
34 >
35 Submit Your Project <FaArrowRight size={12} />
36 </a>
37 </div>
38
39 <div className="showcase-grid">
40 {SHOWCASE_ITEMS.map(item => (
41 <a
42 href={item.url}
43 rel="noreferrer"
44 target="_blank"
45 className="showcase-card"
46 key={item.url}
47 >
48 <div className="showcase-card-media">
49 <img
50 className="showcase-card-img"
51 src={item.image}
52 alt={`Showcase website by ${item.name || 'Anonymous'}`}
53 loading="lazy"
54 />
55 </div>
56 <div className="showcase-card-info">
57 <span className="showcase-card-name">{item.name || 'Anonymous'}</span>
58 <span className="showcase-card-using">{item.using}</span>
59 </div>
60 </a>
61 ))}
62 </div>
63 </section>
64
65 <Footer />
66 </>
67 );

Callers

nothing calls this directly

Calls 1

useScrollToTopFunction · 0.85

Tested by

no test coverage detected