Spaces:
Sleeping
Sleeping
Download src/components/Home.jsx from FocusGuard/final: direct link, hf CLI and curl.
- Browser
- Download file 415 Bytes
-
https://huggingface.co/spaces/FocusGuard/final/resolve/main/src/components/Home.jsx
- Command line
-
hf download hf://spaces/FocusGuard/final/src/components/Home.jsx
-
curl -L -o Home.jsx https://huggingface.co/spaces/FocusGuard/final/resolve/main/src/components/Home.jsx
415 Bytes
| import React from 'react'; | |
| function Home({ setActiveTab }) { | |
| return ( | |
| <main id="page-a" className="page"> | |
| <h1>FocusGuard</h1> | |
| <p>Your productivity monitor assistant.</p> | |
| <div className="home-button-grid"> | |
| <button type="button" className="btn-main" onClick={() => setActiveTab('focus')}> | |
| Start Focus | |
| </button> | |
| </div> | |
| </main> | |
| ); | |
| } | |
| export default Home; | |