Skip to content

Commit

Permalink
Open blogs in external links
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaKhatri committed Dec 27, 2023
1 parent f18ee75 commit 947c876
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
7 changes: 5 additions & 2 deletions src/components/general/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,12 @@ function Footer(props: Props) {
<Link href="/careers" passHref>
<span className={styles.linkHover}>Career</span>
</Link>
<Link href="https://blog.togglecorp.com" passHref>
<a
href="https://blog.togglecorp.com"
target="_blank"
>
<span className={styles.linkHover}>Blogs and Resources</span>
</Link>
</a>
<Link href="/contact-us" passHref>
<span className={styles.linkHover}>Contact</span>
</Link>
Expand Down
16 changes: 12 additions & 4 deletions src/components/general/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,13 @@ function Navbar(props: NavProps) {
<NavLink href="/careers">
Career
</NavLink>
<NavLink href="https://blog.togglecorp.com">
<a
className={styles.navLink}
href="https://blog.togglecorp.com"
target="_blank"
>
Blogs
</NavLink>
</a>
<NavLink href="/about-us">
About
</NavLink>
Expand Down Expand Up @@ -129,9 +133,13 @@ function Navbar(props: NavProps) {
<NavLink href="/careers">
Career
</NavLink>
<NavLink href="https://blog.togglecorp.com">
<a
className={styles.navLink}
href="https://blog.togglecorp.com"
target="_blank"
>
Blogs
</NavLink>
</a>
<NavLink href="/about-us">
About
</NavLink>
Expand Down

0 comments on commit 947c876

Please sign in to comment.