From 27b8f299fa99d85a063a5e5036c24c7902e21031 Mon Sep 17 00:00:00 2001 From: Yifei Gao Date: Wed, 17 Apr 2024 14:02:13 -0400 Subject: [PATCH] add icon for external links --- src/components/OverlayNav.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/components/OverlayNav.js b/src/components/OverlayNav.js index 6a63f59..3e899b8 100644 --- a/src/components/OverlayNav.js +++ b/src/components/OverlayNav.js @@ -1,6 +1,6 @@ import React from 'react'; import { useStaticQuery, graphql, Link } from 'gatsby'; -import { FiChevronDown } from 'react-icons/fi'; +import { FiChevronDown, FiExternalLink } from 'react-icons/fi'; const OverlayNav = () => { const data = useStaticQuery(graphql` @@ -56,7 +56,7 @@ const OverlayNav = () => { > Chapters {
  • {chapterNumber} @@ -114,25 +114,28 @@ const OverlayNav = () => {
  • Support +
  • GitHub +
  • Coding Train +