Skip to content

Commit

Permalink
use link component
Browse files Browse the repository at this point in the history
  • Loading branch information
deiucanta committed Feb 25, 2023
1 parent b5f767f commit 5407cbe
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/components/Newsletter/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Link from "@docusaurus/Link";
import clsx from "clsx";
import React from "react";
import styles from "./styles.module.css";
Expand All @@ -9,15 +10,8 @@ export default function Newsletter(): JSX.Element {
<div>
<h2 className={styles.heading}>Subscribe for product updates</h2>
<div className={styles.subheading}>
By subscribing, you agree with our{" "}
<a target="_blank" href="/terms">
Terms of Service
</a>{" "}
and{" "}
<a target="_blank" href="/privacy">
Privacy Policy
</a>
.
By subscribing, you agree with our <Link href="/terms">Terms</Link>{" "}
and <Link href="/privacy">Privacy Policy</Link>.
</div>
</div>
<form
Expand Down

0 comments on commit 5407cbe

Please sign in to comment.