Fix links on home page (past events/news) (#174)
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Co-authored-by: Amy <a258wang@uwaterloo.ca> Reviewed-on: #174 Reviewed-by: Aditya Thakral <a3thakra@csclub.uwaterloo.ca> Co-authored-by: Amy <a258wang@csclub.uwaterloo.ca> Co-committed-by: Amy <a258wang@csclub.uwaterloo.ca>
This commit is contained in:
parent
490ec7660b
commit
8c4f23c594
|
@ -51,10 +51,7 @@ export default function Home(props: Props) {
|
||||||
<section className={styles.events}>
|
<section className={styles.events}>
|
||||||
<h1 className={styles.cardsHeading}>Upcoming Events</h1>
|
<h1 className={styles.cardsHeading}>Upcoming Events</h1>
|
||||||
<p className={styles.cardsDescription}>
|
<p className={styles.cardsDescription}>
|
||||||
See past events{" "}
|
See past events <Link href="/events/archive">here</Link>
|
||||||
<Link href="/events/archive">
|
|
||||||
<a title="Events Archive">here</a>
|
|
||||||
</Link>
|
|
||||||
</p>
|
</p>
|
||||||
<hr className={styles.cardsDividingLine} />
|
<hr className={styles.cardsDividingLine} />
|
||||||
{props.events.length === 0 ? (
|
{props.events.length === 0 ? (
|
||||||
|
@ -75,10 +72,7 @@ export default function Home(props: Props) {
|
||||||
</div>
|
</div>
|
||||||
{props.moreEvents ? (
|
{props.moreEvents ? (
|
||||||
<p>
|
<p>
|
||||||
See more upcoming events{" "}
|
See more upcoming events <Link href="/events">here</Link>
|
||||||
<Link href="/events">
|
|
||||||
<a title="Events">here</a>
|
|
||||||
</Link>
|
|
||||||
</p>
|
</p>
|
||||||
) : null}
|
) : null}
|
||||||
</section>
|
</section>
|
||||||
|
@ -86,10 +80,7 @@ export default function Home(props: Props) {
|
||||||
<h1 className={styles.cardsHeading}>News</h1>
|
<h1 className={styles.cardsHeading}>News</h1>
|
||||||
<p className={styles.cardsDescription}>
|
<p className={styles.cardsDescription}>
|
||||||
Updates from our execs! <br />
|
Updates from our execs! <br />
|
||||||
See past news{" "}
|
See past news <Link href="/news/archive">here</Link>
|
||||||
<Link href="/news/archive">
|
|
||||||
<a title="News Archive">here</a>
|
|
||||||
</Link>
|
|
||||||
</p>
|
</p>
|
||||||
<hr className={styles.cardsDividingLine} />
|
<hr className={styles.cardsDividingLine} />
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue