Skip to the content

Capsid menu

app/routes/contact.tsx

36 lines and 3 functions in DrDustinEdwards/dustinedwards-info, at commit 1590ba4 on 2026-10-24. This file on GitHub.

Functions

The functions of contact.tsx
FunctionLinesComplexityCoveredCRAPMutation
headers10 to 131No data: no coverage report in this mapNo data: no coverage report in this mapNo data: no mutants in this code
meta15 to 211No data: no coverage report in this mapNo data: no coverage report in this mapNo data: no mutants in this code
Contact23 to 421No data: no coverage report in this mapNo data: no coverage report in this mapNo data: no mutants in this code

Imports

It imports app/components/page-shell.tsx, app/lib/seo.ts. No module of this repo imports it.

Source

import { PageShell } from "~/components/page-shell";
import { OWNER_FACULTY_PAGE, SITE, pageMeta, publicHtmlHeaders } from "~/lib/seo";

// prose.css is route-scoped: a page using `.prose` without importing it renders unstyled.
import "~/styles/prose.css";

/** The site's general address (Dustin, 2026-09-28); the About page publishes the same one. */
const EMAIL = "contact@dustinedwards.info";

export function headers() {
  // The shared builder: a hand-written pair drops the Vary line and serves one reader's theme to another.
  return new Headers(publicHtmlHeaders());
}

export function meta() {
  return pageMeta({
    title: `Contact | ${SITE.name}`,
    description: "How to reach Dustin Edwards: email, and his Tarleton State University faculty page.",
    path: "/contact",
  });
}

export default function Contact() {
  return (
    <PageShell>
      <header className="page-head">
        <h1>Contact</h1>
      </header>

      <div className="prose">
        <p>
          Email <a href={`mailto:${EMAIL}`}>{EMAIL}</a>. It reaches me directly, for research, teaching,
          collaboration or anything on this site.
        </p>
        <p>
          My office, phone and department details are on my{" "}
          <a href={OWNER_FACULTY_PAGE}>Tarleton State University faculty page</a>.
        </p>
      </div>
    </PageShell>
  );
}