Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download web/src/shell/Brand.tsx from fsanyoto/runloopable: direct link, hf CLI and curl.
- Browser
- Download file 872 Bytes
-
https://huggingface.co/spaces/fsanyoto/runloopable/resolve/main/web/src/shell/Brand.tsx
- Command line
-
hf download hf://spaces/fsanyoto/runloopable/web/src/shell/Brand.tsx
-
curl -L -o Brand.tsx https://huggingface.co/spaces/fsanyoto/runloopable/resolve/main/web/src/shell/Brand.tsx
872 Bytes
| // The image shares the canonical W1 rope and isolates gradient IDs between instances. | |
| // BASE_URL keeps the mark inside the app's deployment sub-path. | |
| const MARK_SRC = `${import.meta.env.BASE_URL}favicon.svg`; | |
| export function Mark({ size }: { size: number }) { | |
| return ( | |
| <img | |
| className="lp-mark" | |
| src={MARK_SRC} | |
| width={size} | |
| height={size} | |
| // Decorative: the wordmark beside it already says "Loopable", and a | |
| // screen reader announcing the product name twice is noise. | |
| alt="" | |
| aria-hidden="true" | |
| draggable={false} | |
| /> | |
| ); | |
| } | |
| /** Shared mark and wordmark for sign-in and navigation. */ | |
| export function Brand({ size, className }: { size: number; className?: string }) { | |
| return ( | |
| <div className={className}> | |
| <Mark size={size} /> | |
| <span className="lp-wordmark">Loopable</span> | |
| </div> | |
| ); | |
| } | |