loopable / web /src /shell /Brand.tsx
fsanyoto's picture
Deploy AIOS web (React glide grid + FastAPI slice)
98c8696 verified
Raw History Blame Contribute Delete
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>
);
}