Skip to content

A desktop coding agent with free access to frontier models.

TypeScript
14.3 KB
Raw Blame
import { ChevronRight } from "lucide-react";

const demoData = {
  task: "Like Twitter replies and extract users to CSV.",
  chatHistory: [
    {
      role: "user" as const,
      content: "Like all the replies to this tweet and save the users to a CSV."
    },
    {
      role: "timeline" as const,
      items: ["Navigates to tweet URL", "Extracts bio data to tweet_replies.csv"]
    },
    {
      role: "agent" as const,
      content:
        'I liked 42 replies and saved the data to "tweet_replies.csv" on your desktop.'
    }
  ]
};

export function OmniRushLogo(props: { size?: number; titleSize?: number }) {
  const size = props.size ?? 48;
  const titleSize = props.titleSize ?? 36;

  return (
    <div style={{ alignItems: "center", color: "#011627", display: "flex", gap: 12 }}>
      <svg width={size} height={(size * 38) / 48} viewBox="0 0 834 649" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path fill="#011627" transform="scale(0.723958 0.723958)" d="M670.016 9.80456C700.542 8.39359 721.223 21.2698 746.57 35.5705L792.565 61.3465L847.289 91.9071C861.282 99.6812 879.667 108.971 891.37 119.122C910.759 135.939 922.626 160.834 923.473 186.494C924.114 205.907 923.794 226.341 923.773 245.989L923.73 349.326L923.701 452.801C923.701 491.695 925.84 526.276 916.777 564.412C907.001 605.263 886.973 642.948 858.584 673.909C826.943 708.919 799.772 720.54 759.28 742.808L656.306 799.701L556.464 854.887C526.234 871.401 510.158 884.943 474.89 886.713C445.361 888.851 423.246 874.824 398.753 861.145L348.95 833.283L297.76 804.589C284.087 796.924 267.119 788.262 255.629 778.354C235.171 760.712 222.689 733.072 221.867 706.162C221.224 685.111 221.553 662.351 221.553 641.051L221.576 517.07L221.614 408.776C221.629 379.759 220.064 344.661 226.113 316.826C233.67 282.822 249.679 251.272 272.658 225.092C284.43 211.721 297.948 199.996 312.849 190.232C333.526 176.657 361.689 162.577 384.045 150.508L488.852 93.2977L569.651 48.8522C588.06 38.5972 607.72 27.1256 626.955 18.6589C640.795 12.5669 655.03 10.7158 670.016 9.80456Z" />
        <path fill="#ffffff" transform="scale(0.723958 0.723958)" d="M829.487 135.206C839.064 133.893 851.239 136.27 859.872 140.361C872.035 146.116 881.351 156.549 885.698 169.284C892.339 188.377 889.96 235.005 889.915 256.763L889.722 375.252L889.607 467.527C889.591 488.951 890.29 512.574 887.824 533.687C884.836 557.275 877.921 580.198 867.367 601.505C835.619 666.244 794.376 685.014 734.634 717.66L635.404 772.211L549.448 819.837C531.359 829.896 508.335 844.125 489.262 850.662C457.163 857.628 434.189 843.398 430.792 809.357C428.903 790.424 429.894 770.325 429.902 751.191L429.989 644.028L429.931 504.112C429.924 479.801 428.443 440.879 432.509 418.505C437.748 390.523 449.846 364.277 467.72 342.118C478.981 328.009 492.366 315.735 507.396 305.735C522.026 296.022 545.776 284.138 561.947 275.36L648.741 227.647L752.85 170.462C765.64 163.415 778.534 156.274 791.235 149.076C804.257 141.697 814.291 136.922 829.487 135.206Z" />
        <path fill="#011627" transform="scale(0.723958 0.723958)" d="M752.698 267.949C792.924 267.604 788.579 308.951 788.564 336.845L788.585 395.288L788.609 477.57C788.603 494.548 789.375 516.803 786.777 533.202C783.78 551.695 776.962 569.361 766.76 585.074C758.088 598.597 747.062 610.456 734.205 620.088C724.627 627.261 714.835 632.194 704.389 637.937L666.519 658.795L610.672 689.615C599.016 695.993 580.979 707.112 568.502 709.784L568.034 709.835C559.615 710.678 551.383 709.367 544.8 703.665C532.06 692.631 532.83 674.84 532.78 659.49C532.755 651.94 532.77 644.39 532.773 636.841L532.81 567.068L532.753 492.436C532.737 472.715 531.898 447.901 535.692 428.969C539.526 409.586 548.169 391.476 560.827 376.302C567.674 368.272 575.58 361.208 584.328 355.304C593.645 349.065 605.712 342.738 615.677 337.293L663.439 311.294L705.777 287.916C719.643 280.242 736.788 269.239 752.698 267.949Z" />
        <path fill="#ffffff" transform="scale(0.723958 0.723958)" d="M752.913 438.639L753.463 438.778C754.402 440.415 754.084 513.012 753.537 520.047C753.037 527.281 751.739 534.438 749.667 541.387C744.735 558.163 735.4 573.311 722.632 585.259C710.656 596.329 696.524 603.478 682.332 611.21L648.714 629.521L567.884 673.796L567.231 673.473C566.74 670.541 567.024 663.862 567.033 660.643L567.08 635.07C567.229 603.622 567.218 572.174 567.045 540.727C575.136 535.657 588.415 529.038 597.043 524.399L644.088 498.651L706.909 464.13C722.043 455.693 737.614 446.664 752.913 438.639Z" />
        <path fill="#ffffff" transform="scale(0.723958 0.723958)" d="M748.561 302.532C753.088 302.142 754.018 304.969 754.273 308.994C754.978 320.091 754.665 331.35 754.632 342.482L754.729 398.185C693.808 432.288 632.619 465.911 571.168 499.05L566.544 501.649C566.412 470.288 561.729 429.298 580.961 402.878C592.009 387.702 608.244 380.226 624.28 371.42L664.102 349.529L717.771 319.55C727.609 314.034 738.563 307.565 748.561 302.532Z" />
        <path fill="#ffffff" transform="scale(0.723958 0.723958)" d="M667.193 44.1094C680.449 43.5092 692.49 44.9422 704.362 51.1416C737.072 68.2222 768.804 87.7213 801.453 104.917C775.143 117.607 742.995 136.732 717.098 151.114L582.343 225.05C566.476 233.888 550.541 242.604 534.541 251.197C507.787 265.651 485.812 276.356 462.96 297.099C433.115 324.436 411.878 359.872 401.844 399.08C394.466 427.889 395.661 449.011 395.673 478.449L395.706 538.159L395.686 710.557L395.74 799.307C395.768 801.943 396.645 819.624 396.045 820.843L395.165 820.538L324.394 780.635C284.71 758.335 254.533 747.018 255.521 694.363C255.857 676.496 255.46 656.444 255.473 638.345L255.501 519.039L255.481 406.593C255.475 383.399 254.214 349.449 258.574 327.533C264.527 298.517 277.805 271.506 297.144 249.069C307.058 237.556 318.555 227.507 331.293 219.225C349.031 207.589 375.141 194.437 394.449 183.918L494.962 128.661L589.084 76.9263C604.628 68.3986 620.309 59.3498 636.171 51.4434C645.64 46.7238 656.691 44.9119 667.193 44.1094Z" />
      </svg>
      <span style={{ fontSize: titleSize, fontWeight: 600, letterSpacing: -0.7, lineHeight: 1, textTransform: "lowercase" }}>
        OmniRush.ai
      </span>
    </div>
  );
}

export function OGImageContent() {
  return (
    <div
      style={{
        width: "100%",
        height: "100%",
        display: "flex",
        alignItems: "center",
        justifyContent: "space-between",
        padding: "0 64px",
        position: "relative",
        zIndex: 1,
        color: "#011627",
        fontFamily: "Inter, ui-sans-serif, system-ui, sans-serif"
      }}
    >
      <div style={{ width: 500, display: "flex", flexDirection: "column", gap: 32, paddingLeft: 32 }}>
        <OmniRushLogo />

        <div
          style={{
            display: "flex",
            flexDirection: "column",
            fontSize: 62,
            fontWeight: 500,
            letterSpacing: -2.2,
            lineHeight: 1.05
          }}
        >
          <div>The team layer for your</div>
          <div style={{ display: "flex", alignItems: "baseline", gap: 12 }}>
            existing <span style={{ fontSize: 74 }}>agent</span> setup.
          </div>
        </div>

        <div
          style={{
            display: "flex",
            alignItems: "center",
            gap: 8,
            padding: "14px 20px",
            background: "rgba(255, 255, 255, 0.6)",
            border: "1px solid rgba(229, 231, 235, 0.6)",
            borderRadius: 9999,
            boxShadow: "0 1px 2px rgba(15, 23, 42, 0.06)",
            alignSelf: "flex-start",
            marginTop: 16
          }}
        >
          <span style={{ color: "#6b7280", fontSize: 15, fontWeight: 500 }}>Backed by</span>
          <div style={{ display: "flex", alignItems: "center", gap: 8 }}>
            <div
              style={{
                width: 22,
                height: 22,
                background: "#ff6600",
                borderRadius: 5,
                display: "flex",
                alignItems: "center",
                justifyContent: "center",
                color: "#fff",
                fontSize: 13,
                fontWeight: 700,
                lineHeight: 1
              }}
            >
              Y
            </div>
            <span style={{ color: "#374151", fontSize: 15, fontWeight: 600, letterSpacing: -0.2 }}>
              Combinator
            </span>
          </div>
        </div>
      </div>

      <div
        style={{
          width: 580,
          height: 480,
          background: "rgba(255, 255, 255, 0.8)",
          borderRadius: 24,
          boxShadow: "0 20px 60px -15px rgba(0, 0, 0, 0.15)",
          border: "1px solid rgba(255, 255, 255, 1)",
          overflow: "hidden",
          display: "flex",
          flexDirection: "column",
          transform: "translateY(48px)"
        }}
      >
        <div
          style={{
            height: 40,
            width: "100%",
            background: "linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.6))",
            borderBottom: "1px solid #f3f4f6",
            display: "flex",
            alignItems: "center",
            padding: "0 16px",
            position: "relative",
            flexShrink: 0
          }}
        >
          <div style={{ display: "flex", gap: 6 }}>
            <div style={{ width: 12, height: 12, borderRadius: 9999, background: "rgba(255, 95, 86, 0.9)", border: "1px solid rgba(224, 68, 62, 0.2)" }} />
            <div style={{ width: 12, height: 12, borderRadius: 9999, background: "rgba(255, 189, 46, 0.9)", border: "1px solid rgba(222, 161, 35, 0.2)" }} />
            <div style={{ width: 12, height: 12, borderRadius: 9999, background: "rgba(39, 201, 63, 0.9)", border: "1px solid rgba(26, 171, 41, 0.2)" }} />
          </div>
          <div style={{ position: "absolute", left: "50%", transform: "translateX(-50%)", fontSize: 12, fontWeight: 500, color: "#6b7280", letterSpacing: 0.5 }}>
            OmniRush.ai
          </div>
        </div>

        <div style={{ padding: 20, flex: 1, background: "#fff", display: "flex", gap: 16 }}>
          <div
            style={{
              width: 200,
              background: "#f9fafb",
              borderRadius: 12,
              padding: 12,
              display: "flex",
              flexDirection: "column",
              gap: 8,
              border: "1px solid #f3f4f6",
              flexShrink: 0
            }}
          >
            <div style={{ display: "flex", alignItems: "center", gap: 12, padding: 12, background: "#fff", boxShadow: "0 1px 2px rgba(15, 23, 42, 0.06)", borderRadius: 12, border: "1px solid #f3f4f6" }}>
              <div style={{ width: 24, height: 24, borderRadius: 9999, background: "linear-gradient(135deg, #34d399, #0f9f7f)", flexShrink: 0 }} />
              <div style={{ display: "flex", flexDirection: "column", minWidth: 0 }}>
                <div style={{ fontWeight: 500, fontSize: 14, color: "#011627", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }}>Sales Team</div>
                <div style={{ fontSize: 12, color: "#6b7280", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }}>Daily tasks</div>
              </div>
            </div>

            <div style={{ marginTop: 16, padding: "0 4px 4px" }}>
              <div style={{ display: "flex", flexDirection: "column", gap: 4, position: "relative", paddingLeft: 12 }}>
                <div style={{ position: "absolute", left: 0, top: 8, bottom: 8, width: 2, background: "#e5e7eb" }} />
                <div style={{ display: "flex", alignItems: "center", justifyContent: "space-between", padding: "10px 12px", borderRadius: 12, background: "rgba(229, 231, 235, 0.5)", fontSize: 13 }}>
                  <span style={{ marginRight: 8, color: "#374151", fontWeight: 500 }}>Twitter replies...</span>
                  <span style={{ color: "#9ca3af" }}>1s ago</span>
                </div>
                <div style={{ display: "flex", alignItems: "center", justifyContent: "space-between", padding: "10px 12px", borderRadius: 12, fontSize: 13 }}>
                  <span style={{ marginRight: 8, color: "#4b5563" }}>Q3 outliers</span>
                  <span style={{ color: "#9ca3af" }}>15m</span>
                </div>
              </div>
            </div>
          </div>

          <div
            style={{
              flex: 1,
              background: "#fff",
              borderRadius: 12,
              display: "flex",
              flexDirection: "column",
              border: "1px solid #f3f4f6",
              boxShadow: "0 1px 2px rgba(15, 23, 42, 0.06)",
              overflow: "hidden"
            }}
          >
            <div style={{ flex: 1, padding: 20, display: "flex", flexDirection: "column", gap: 24, fontSize: 14 }}>
              {demoData.chatHistory.map((msg, idx) =>
                msg.role === "user" ? (
                  <div key={idx} style={{ background: "rgba(243, 244, 246, 0.8)", borderRadius: 9999, padding: "12px 20px", color: "#1f2937", alignSelf: "center", maxWidth: "85%", textAlign: "center", marginTop: 8 }}>
                    {msg.content}
                  </div>
                ) : msg.role === "timeline" ? (
                  <div key={idx} style={{ display: "flex", flexDirection: "column", gap: 12, color: "#9ca3af", fontSize: 12, marginLeft: 8 }}>
                    {msg.items.map((item, itemIdx) => (
                      <div key={itemIdx} style={{ display: "flex", alignItems: "center", gap: 8 }}>
                        <ChevronRight size={12} color="#d1d5db" />
                        <span>{item}</span>
                      </div>
                    ))}
                  </div>
                ) : (
                  <div key={idx} style={{ color: "#1f2937", lineHeight: 1.6, marginLeft: 8, maxWidth: "95%", fontSize: 14, marginBottom: 8, fontWeight: 500 }}>
                    {msg.content}
                  </div>
                )
              )}
            </div>

            <div style={{ padding: 16, background: "#f9fafb", borderTop: "1px solid #f3f4f6", marginTop: "auto", display: "flex", flexDirection: "column" }}>
              <div style={{ fontSize: 12, color: "#9ca3af", marginBottom: 8, padding: "0 4px" }}>Describe your task</div>
              <div style={{ fontSize: 13, lineHeight: 1.5, color: "#011627", background: "#fff", padding: 12, borderRadius: 12, border: "1px solid #f3f4f6", boxShadow: "0 1px 2px rgba(15, 23, 42, 0.06)", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }}>
                {demoData.task}
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  );
}