|
| 1 | +"use client"; |
| 2 | + |
| 3 | +import Link from "next/link"; |
| 4 | + |
| 5 | +export function CtaSection() { |
| 6 | + return ( |
| 7 | + <section |
| 8 | + style={{ |
| 9 | + position: "relative", |
| 10 | + overflow: "hidden", |
| 11 | + background: "var(--background)", |
| 12 | + borderTop: "1px solid #21262d", |
| 13 | + }} |
| 14 | + > |
| 15 | + <div |
| 16 | + style={{ |
| 17 | + position: "absolute", |
| 18 | + top: "50%", |
| 19 | + left: "50%", |
| 20 | + transform: "translate(-50%,-50%)", |
| 21 | + width: 600, |
| 22 | + height: 300, |
| 23 | + background: |
| 24 | + "radial-gradient(ellipse, rgba(88,166,255,0.15) 0%, transparent 70%)", |
| 25 | + pointerEvents: "none", |
| 26 | + }} |
| 27 | + /> |
| 28 | + <div |
| 29 | + style={{ |
| 30 | + maxWidth: 640, |
| 31 | + margin: "0 auto", |
| 32 | + padding: "100px 32px", |
| 33 | + textAlign: "center", |
| 34 | + position: "relative", |
| 35 | + zIndex: 1, |
| 36 | + }} |
| 37 | + > |
| 38 | + <h2 |
| 39 | + style={{ |
| 40 | + fontSize: "clamp(28px, 4vw, 44px)", |
| 41 | + fontWeight: 700, |
| 42 | + letterSpacing: "-0.02em", |
| 43 | + color: "var(--foreground)", |
| 44 | + marginBottom: 16, |
| 45 | + }} |
| 46 | + > |
| 47 | + Ready to level up your README? |
| 48 | + </h2> |
| 49 | + <p |
| 50 | + style={{ |
| 51 | + fontSize: 16, |
| 52 | + color: "var(--muted)", |
| 53 | + marginBottom: 40, |
| 54 | + lineHeight: 1.7, |
| 55 | + }} |
| 56 | + > |
| 57 | + Configure your widgets visually — no YAML, no tokens, no friction. |
| 58 | + </p> |
| 59 | + <Link |
| 60 | + href="/playground" |
| 61 | + style={{ |
| 62 | + background: "linear-gradient(135deg, #388bfd, #58a6ff)", |
| 63 | + color: "#fff", |
| 64 | + border: "none", |
| 65 | + borderRadius: 8, |
| 66 | + padding: "14px 36px", |
| 67 | + fontSize: 16, |
| 68 | + fontWeight: 600, |
| 69 | + textDecoration: "none", |
| 70 | + boxShadow: "0 0 32px rgba(88,166,255,0.4)", |
| 71 | + display: "inline-block", |
| 72 | + transition: "transform 0.2s ease, box-shadow 0.2s ease", |
| 73 | + }} |
| 74 | + onMouseEnter={(e) => { |
| 75 | + e.currentTarget.style.transform = "translateY(-2px)"; |
| 76 | + e.currentTarget.style.boxShadow = "0 0 48px rgba(88,166,255,0.65)"; |
| 77 | + }} |
| 78 | + onMouseLeave={(e) => { |
| 79 | + e.currentTarget.style.transform = "translateY(0)"; |
| 80 | + e.currentTarget.style.boxShadow = "0 0 32px rgba(88,166,255,0.4)"; |
| 81 | + }} |
| 82 | + > |
| 83 | + Open Playground → |
| 84 | + </Link> |
| 85 | + </div> |
| 86 | + </section> |
| 87 | + ); |
| 88 | +} |
0 commit comments