opengraph-image.tsx 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. import { ImageResponse } from "next/og";
  2. export const alt =
  3. "Eric Wu - SDE II at AWS building agentic systems and generative UI";
  4. export const size = { width: 1200, height: 630 };
  5. export const contentType = "image/png";
  6. export default function Image() {
  7. return new ImageResponse(
  8. <div
  9. style={{
  10. background:
  11. "radial-gradient(circle at 18% 12%, rgba(40,120,200,0.45), transparent 55%), radial-gradient(circle at 92% 100%, rgba(255,120,70,0.28), transparent 50%), #05070b",
  12. width: "100%",
  13. height: "100%",
  14. display: "flex",
  15. flexDirection: "column",
  16. justifyContent: "space-between",
  17. padding: "72px 80px",
  18. fontFamily: "sans-serif",
  19. color: "#e8eef7",
  20. }}
  21. >
  22. <div
  23. style={{
  24. display: "flex",
  25. fontSize: 22,
  26. letterSpacing: 4,
  27. color: "#8592a8",
  28. }}
  29. >
  30. SEATTLE, WA · 47.61° N
  31. </div>
  32. <div style={{ display: "flex", flexDirection: "column", gap: 18 }}>
  33. <div
  34. style={{
  35. display: "flex",
  36. fontSize: 104,
  37. fontWeight: 700,
  38. letterSpacing: -4,
  39. lineHeight: 1,
  40. }}
  41. >
  42. Hey, I&apos;m{" "}
  43. <span style={{ color: "#5cc8ff", marginLeft: 24 }}>Eric.</span>
  44. </div>
  45. <div style={{ display: "flex", fontSize: 36, color: "#b7c3d4" }}>
  46. SDE II at AWS · agentic systems &amp; generative UI
  47. </div>
  48. </div>
  49. <div
  50. style={{
  51. display: "flex",
  52. justifyContent: "space-between",
  53. fontSize: 24,
  54. color: "#8592a8",
  55. }}
  56. >
  57. <span>ericwu.me</span>
  58. <span style={{ color: "#ff8a5b" }}>▲ Rainier 2027</span>
  59. </div>
  60. </div>,
  61. { ...size },
  62. );
  63. }