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
| Function | Lines | Complexity | Covered | CRAP | Mutation |
|---|---|---|---|---|---|
| headers | 10 to 13 | 1 | No data: no coverage report in this map | No data: no coverage report in this map | No data: no mutants in this code |
| meta | 15 to 21 | 1 | No data: no coverage report in this map | No data: no coverage report in this map | No data: no mutants in this code |
| Contact | 23 to 42 | 1 | No data: no coverage report in this map | No data: no coverage report in this map | No 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>
);
}