import type { Metadata } from "next";
import { breadcrumbSchema, jsonLd, organizationSchema, pageMetadata } from "@/lib/seo";
import Link from "next/link";

export const metadata: Metadata = pageMetadata({
  title: "Publisher Login | Monetize.com",
  description: "Find the sign-in for your product: Monetize.com, Underdog Media, Direqt, Search.com, AdMedia or Advertising.com.",
  path: "/login",
  noindex: true,
});

export default function UloginPage() {
  return (
    <>
      <script type="application/ld+json" dangerouslySetInnerHTML={{ __html: jsonLd(organizationSchema, breadcrumbSchema([{ name: "Publisher Login", path: "/login" }])) }} />
    <section className="login login--pick">
      <div className="mz-wrap login__wrap">
        <div className="login__side">
          <p className="eyebrow eyebrow--caps">
            Publisher login
          </p>
          <h1>
            Sign in where your
            {" "}
            <span className="grad">
              product lives
            </span>
          </h1>
          <p className="login__lede">
            Each product keeps its own account, reporting and payouts. Choose the product you use to go to its sign-in page.
          </p>
        </div>
        <div className="login__card">
          <h2>
            Choose your product
          </h2>
          <p className="login__sub">
            New to Monetize?
            {" "}
            <a className="mz-link" href="https://admedia.com/publishers/signup/full.php" target="_blank" rel="noopener noreferrer">
              Apply for a publisher account
            </a>
            , and our team will review your application and contact you to set up your account upon approval.
          </p>
          <ul className="login-pick" aria-label="Publisher sign-in by product">
            <li>
              <Link className="login-pick__btn" href="/hub-login" data-login-route="monetize">
                <span>
                  <strong>
                    Monetize Hub
                  </strong>
                  <small>
                    {"Applications, status and support"}
                  </small>
                  <small className="login-pick__dest">
                    Monetize Hub sign-in
                  </small>
                </span>
                {" "}
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <path d="M5 12h14M13 6l6 6-6 6" />
                </svg>
              </Link>
            </li>
            <li>
              <a className="login-pick__btn" href="https://pub.udmserve.com/" target="_blank" rel="noopener noreferrer" data-login-route="underdog">
                <span>
                  <strong>
                    Underdog Media
                  </strong>
                  <small>
                    {"Display formats & managed services"}
                  </small>
                  <small className="login-pick__dest">
                    pub.udmserve.com
                  </small>
                </span>
                {" "}
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <path d="M5 12h14M13 6l6 6-6 6" />
                </svg>
              </a>
            </li>
            <li>
              <a className="login-pick__btn" href="https://dashboard.direqt-search.com/" target="_blank" rel="noopener noreferrer" data-login-route="direqt">
                <span>
                  <strong>
                    Direqt
                  </strong>
                  <small>
                    {"Direqt AI Site Search"}
                  </small>
                  <small className="login-pick__dest">
                    dashboard.direqt-search.com
                  </small>
                </span>
                {" "}
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <path d="M5 12h14M13 6l6 6-6 6" />
                </svg>
              </a>
            </li>
            <li>
              <a className="login-pick__btn" href="https://publishers.search.com/auth/sign-in" target="_blank" rel="noopener noreferrer" data-login-route="searchcom">
                <span>
                  <strong>
                    Search.com
                  </strong>
                  <small>
                    {"SearchGPT widget, API & white-label search"}
                  </small>
                  <small className="login-pick__dest">
                    publishers.search.com
                  </small>
                </span>
                {" "}
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <path d="M5 12h14M13 6l6 6-6 6" />
                </svg>
              </a>
            </li>
            <li>
              <a className="login-pick__btn" href="https://members.admedia.com/login" target="_blank" rel="noopener noreferrer" data-login-route="admedia">
                <span>
                  <strong>
                    AdMedia
                  </strong>
                  <small>
                    {"Video, FooterRoll, Buzz Widget, Quicklaunch, Contextual.com, Swicki by Eurekster"}
                  </small>
                  <small className="login-pick__dest">
                    members.admedia.com
                  </small>
                </span>
                {" "}
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <path d="M5 12h14M13 6l6 6-6 6" />
                </svg>
              </a>
            </li>
            <li>
              <a className="login-pick__btn" href="https://platform.advertising.com/login" target="_blank" rel="noopener noreferrer" data-login-route="advertising">
                <span>
                  <strong>
                    Advertising.com
                  </strong>
                  <small>
                    {"SSP, Search Solutions & portals"}
                  </small>
                  <small className="login-pick__dest">
                    platform.advertising.com
                  </small>
                </span>
                {" "}
                <svg className="mz-ico" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
                  <path d="M5 12h14M13 6l6 6-6 6" />
                </svg>
              </a>
            </li>
          </ul>
          <p className="login-pick__note">
            Not sure which product you use?
            {" "}
            <Link className="mz-link" href="/contact?topic=support&cta=login-unsure#message">
              Ask publisher support
            </Link>
            .
          </p>
        </div>
      </div>
    </section>
    </>
  );
}
