The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
added /abuse page
Steven Tey8bc834d74e5d
diff --git a/app/dub.co/abuse/page.tsx b/app/dub.co/abuse/page.tsxnew file mode 100644index 0000000000..8aa9afe83a--- /dev/null+++ b/app/dub.co/abuse/page.tsx@@ -0,0 +1,19 @@+import { Metadata } from "next";+import { constructMetadata } from "#/lib/utils";+import Script from "next/script";+import LegalPage from "#/ui/content/legal";+import { allLegalPosts } from "contentlayer/generated";++export const metadata: Metadata = constructMetadata({+ title: "Report Abuse – Dub",+});++export default function Abuse() {+ const post = allLegalPosts.find((post) => post.slug === "abuse")!;+ return (+ <>+ <Script src="https://tally.so/widgets/embed.js" strategy="lazyOnload" />+ <LegalPage post={post} />+ </>+ );+}diff --git a/app/ui/home/footer.tsx b/app/ui/home/footer.tsxindex b944b93ba5..bc15c82136 100644--- a/app/ui/home/footer.tsx+++ b/app/ui/home/footer.tsx@@ -21,6 +21,7 @@ const navigation = {legal: [{ name: "Privacy", href: "/privacy" },{ name: "Terms", href: "/terms" },+ { name: "Abuse", href: "/abuse" },],};diff --git a/content/legal/abuse.mdx b/content/legal/abuse.mdxnew file mode 100644index 0000000000..18b3b65c9f--- /dev/null+++ b/content/legal/abuse.mdx@@ -0,0 +1,26 @@+---+title: Report Abuse+updatedAt: 2023-08-27+---++Dub.co is committed to preventing abuse and misuse of its platform to create malicious short links, including but not limited to the following:++- Phishing or scam websites+- Pornography or adult content+- Betting or gambling+- Copyright infringement++However, since short links are created by individual users, we are unable to control the content of every short link created.++If you believe a short link is being used for malicious purposes, please report it to us by filling out the form below:++<iframe+ data-tally-src="https://tally.so/embed/mJpe4J?alignLeft=1&hideTitle=1&transparentBackground=1&dynamicHeight=1"+ loading="lazy"+ width="100%"+ height="1552"+ frameborder="0"+ marginheight="0"+ marginwidth="0"+ title="Report Abuse of Dub Links"+/>diff --git a/content/legal/terms.mdx b/content/legal/terms.mdxindex 26f6f6f4a0..e901c1fd96 100644--- a/content/legal/terms.mdx+++ b/content/legal/terms.mdx@@ -1,6 +1,6 @@---title: Terms of Service-updatedAt: 2023-05-29+updatedAt: 2023-08-24---Subject to these Terms of Service (this "Agreement"), [Dub.co](/) ("Dub", "we", "us" and/or "our") provides access to Dub's cloud platform as a service (collectively, the "Services"). By using or accessing the Services, you acknowledge that you have read, understand, and agree to be bound by this Agreement.