| 1 | import { YANTRA_THEMES, yantraSvg } from "./yantra"; |
| 2 | |
| 3 | export const README_HERO_W = 1200; |
| 4 | export const README_HERO_H = 720; |
| 5 | |
| 6 | export function ReadmeHero() { |
| 7 | return ( |
| 8 | <div |
| 9 | style={{ |
| 10 | width: README_HERO_W, |
| 11 | height: README_HERO_H, |
| 12 | display: "flex", |
| 13 | flexDirection: "column", |
| 14 | alignItems: "center", |
| 15 | justifyContent: "center", |
| 16 | gap: 16, |
| 17 | backgroundColor: YANTRA_THEMES.light.bg, |
| 18 | fontFamily: "'Source Serif 4'", |
| 19 | color: "#2a2620", |
| 20 | }} |
| 21 | > |
| 22 | <img |
| 23 | src={yantraSvg({ size: 280, output: "url" })} |
| 24 | width={280} |
| 25 | height={280} |
| 26 | /> |
| 27 | <div |
| 28 | style={{ |
| 29 | fontStyle: "italic", |
| 30 | fontWeight: 600, |
| 31 | fontVariationSettings: "'opsz' 60", |
| 32 | fontSize: 270, |
| 33 | lineHeight: 1, |
| 34 | letterSpacing: -4, |
| 35 | }} |
| 36 | > |
| 37 | Alchemy |
| 38 | </div> |
| 39 | </div> |
| 40 | ); |
| 41 | } |