Fix links on home page to work without javascript

pull/174/head
Amy 2 years ago
parent 490ec7660b
commit 6a21825eaf
  1. 15
      pages/index.tsx

@ -51,10 +51,7 @@ export default function Home(props: Props) {
<section className={styles.events}>
<h1 className={styles.cardsHeading}>Upcoming Events</h1>
<p className={styles.cardsDescription}>
See past events{" "}
<Link href="/events/archive">
<a title="Events Archive">here</a>
</Link>
See past events <Link href="/events/archive">here</Link>
</p>
<hr className={styles.cardsDividingLine} />
{props.events.length === 0 ? (
@ -75,10 +72,7 @@ export default function Home(props: Props) {
</div>
{props.moreEvents ? (
<p>
See more upcoming events{" "}
<Link href="/events">
<a title="Events">here</a>
</Link>
See more upcoming events <Link href="/events">here</Link>
</p>
) : null}
</section>
@ -86,10 +80,7 @@ export default function Home(props: Props) {
<h1 className={styles.cardsHeading}>News</h1>
<p className={styles.cardsDescription}>
Updates from our execs! <br />
See past news{" "}
<Link href="/news/archive">
<a title="News Archive">here</a>
</Link>
See past news <Link href="/news/archive">here</Link>
</p>
<hr className={styles.cardsDividingLine} />
{

Loading…
Cancel
Save