import { createFileRoute } from "@tanstack/react-router";
import { LegalPage, LegalSection, MailLink, Operator } from "~/components/legal/LegalPage";
import { getLegalInfo } from "~/fns/legal";
import { TextLink } from "~/ui/TextLink";
import { seo } from "~/utils/seo";
export const Route = createFileRoute("/dmca")({
loader: () => getLegalInfo(),
head: ({ match }) => ({
meta: seo({
origin: match.context.publicUrl,
path: "/dmca",
title: "Copyright and DMCA policy · gitfor",
description: "How to report copyright infringement on gitfor and how to file a counter-notice.",
}),
}),
component: DmcaPage,
});
const NOTICE_ITEMS = [
"Your physical or electronic signature, and your name, address, phone number and email.",
"The copyrighted work you say is infringed.",
"The exact URLs of the material on this service (repository, file path, commit, release asset, site URL).",
"A statement that you have a good-faith belief the use is not authorized by the copyright owner, its agent or the law.",
"A statement, under penalty of perjury, that the notice is accurate and that you are the owner or authorized to act for the owner.",
] as const;
const COUNTER_ITEMS = [
"Your physical or electronic signature, name, address, phone number and email.",
"The material that was removed and where it appeared before removal.",
"A statement under penalty of perjury that you have a good-faith belief it was removed by mistake or misidentification.",
"Your consent to the jurisdiction of the federal court for your address (or, outside the US, any judicial district where we may be found), and that you will accept service from the person who sent the notice.",
] as const;
function DmcaPage() {
const info = Route.useLoaderData();
return (
<LegalPage
title="Copyright and DMCA policy"
lede="We respect copyright and respond to notices that comply with the US Digital Millennium Copyright Act and similar laws."