Datasets:
Download tasks/c20/repo/src/components/Counter.jsx from Roy-DOU/Webdev-Bench: direct link, hf CLI and curl.
- Browser
- Download file 614 Bytes
-
https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c20/repo/src/components/Counter.jsx
- Command line
-
hf download hf://datasets/Roy-DOU/Webdev-Bench/tasks/c20/repo/src/components/Counter.jsx
-
curl -L -o Counter.jsx https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c20/repo/src/components/Counter.jsx
614 Bytes
| export default function Counter() { | |
| const digits = ['1', '1', '3'] | |
| return ( | |
| <section className="counter-section" id="doneer"> | |
| <h2 className="counter-heading"> | |
| Wij zijn op zoek naar 150 nieuwe Actiefans! | |
| </h2> | |
| <div className="flip-row" aria-label="113 nieuwe actiefans geworven"> | |
| {digits.map((d, i) => ( | |
| <span className="flip-card" key={i}> | |
| <span className="flip-digit">{d}</span> | |
| </span> | |
| ))} | |
| </div> | |
| <a className="btn-box counter-btn" href="#blijf-op-de-hoogte"> | |
| WORD OOK DONATEUR | |
| </a> | |
| </section> | |
| ) | |
| } | |