Mercurial
comparison hg-web/src/components/graph.tsx @ 224:3007ef5fc0ed hg-web
[hg-web] Simplify visuals and preview static files
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sun, 02 Aug 2026 13:51:11 -0700 |
| parents | ce7f4400c2de |
| children |
comparison
equal
deleted
inserted
replaced
| 223:0e7b9464248d | 224:3007ef5fc0ed |
|---|---|
| 271 if (sentinel) observer.observe(sentinel); | 271 if (sentinel) observer.observe(sentinel); |
| 272 return () => observer.disconnect(); | 272 return () => observer.disconnect(); |
| 273 }, [onLoadMore, hasMore, loading]); | 273 }, [onLoadMore, hasMore, loading]); |
| 274 | 274 |
| 275 return ( | 275 return ( |
| 276 <div className="graph-container" style={{ backgroundImage: 'url("/hg-web-background.jpg")' }}> | 276 <div className="graph-container"> |
| 277 {assetError && <div className="error-message">{assetError}</div>} | 277 {assetError && <div className="error-message">{assetError}</div>} |
| 278 <div | 278 <div |
| 279 ref={containerRef} | 279 ref={containerRef} |
| 280 className="graph-wrapper" | 280 className="graph-wrapper" |
| 281 > | 281 > |