@@ -7,6 +7,7 @@ import PeopleIcon from '@mui/icons-material/People';
77import WorkIcon from '@mui/icons-material/Work' ;
88import { Divider , List } from '@mui/material' ;
99import RecIMIcon from '@mui/icons-material/SportsFootball' ;
10+ import TranscriptIcon from '@mui/icons-material/Receipt' ;
1011import GordonDialogBox from 'components/GordonDialogBox' ;
1112import GordonNavButton from 'components/NavButton' ;
1213import PaletteSwitcherDialog from 'components/PaletteSwitcherDialog' ;
@@ -36,7 +37,7 @@ const GordonNavLinks = ({ onLinkClick }) => {
3637 break ;
3738 case 'unauthorized' :
3839 message = 'That page is only available to authenticated users. Please log in to access it.' ;
39- title = 'Unavailable Offline ' ;
40+ title = 'Login Required ' ;
4041 break ;
4142 default :
4243 message =
@@ -52,6 +53,7 @@ const GordonNavLinks = ({ onLinkClick }) => {
5253 buttonClicked = { ( ) => setDialog ( null ) }
5354 buttonName = { 'Okay' }
5455 >
56+ < br />
5557 { message }
5658 </ GordonDialogBox >
5759 ) ;
@@ -67,6 +69,16 @@ const GordonNavLinks = ({ onLinkClick }) => {
6769 />
6870 ) ;
6971
72+ const guestTranscriptButton = ! isAuthenticated ? (
73+ < GordonNavButton
74+ onLinkClick = { onLinkClick }
75+ linkName = "Guest Transcript"
76+ linkPath = "Transcript"
77+ LinkIcon = { TranscriptIcon }
78+ divider = { false }
79+ />
80+ ) : null ;
81+
7082 const involvementsButton = (
7183 < GordonNavButton
7284 onLinkClick = { onLinkClick }
@@ -193,6 +205,7 @@ const GordonNavLinks = ({ onLinkClick }) => {
193205 < >
194206 < List className = { styles . gordon_nav_links } >
195207 { homeButton }
208+ { guestTranscriptButton }
196209 { involvementsButton }
197210 { eventsButton }
198211 { peopleButton }
0 commit comments