File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
public/images/announcements Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ import { trpc } from "../../utils/trpc";
88import { useInView } from "react-intersection-observer" ;
99import { useRouter } from "next/router" ;
1010import Link from "next/link" ;
11+ import Image from "next/image" ;
12+ import writingChallenge from "../../public/images/announcements/writingChallenge.png" ;
1113
1214// Needs to be added to DB but testing with hardcoding
1315const tagsToShow = [
@@ -175,6 +177,18 @@ const ArticlesPage = () => {
175177 </ section >
176178 </ div >
177179 < section className = "col-span-4 lg:block hidden" >
180+ < div className = "cursor-pointer my-4" >
181+ < Image
182+ className = "w-full"
183+ src = { writingChallenge }
184+ alt = { "Writing Challenge Banner" }
185+ onClick = { ( ) =>
186+ router . push (
187+ "/articles/join-our-6-week-writing-challenge-quohtgqb"
188+ )
189+ }
190+ />
191+ </ div >
178192 < h3 className = "text-2xl leading-6 font-semibold tracking-wide mb-4 mt-4" >
179193 Recommended topics
180194 </ h3 >
You can’t perform that action at this time.
0 commit comments