Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs button #78

Merged
merged 1 commit into from
Sep 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion src/components/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import IconButton from '@material-ui/core/IconButton';
import Typography from '@material-ui/core/Typography';
import ChevronLeft from '@material-ui/icons/ChevronLeft';
import ExitToApp from '@material-ui/icons/ExitToApp';
import MenuBookIcon from '@material-ui/icons/MenuBook';
import Home from '@material-ui/icons/Home';
import Edit from '@material-ui/icons/Edit';
import Save from '@material-ui/icons/Save';
Expand Down Expand Up @@ -120,11 +121,16 @@ const NavBar = (props) => {
) : undefined}
{!props.authenticated ? (
<Grid item>
<IconButton color="primary">
<a href="https://github.com/arjunsrini/open-stata-data/wiki/Open-Stata-Documentation" target="_blank" rel="noreferrer">
<Typography variant="body1">Docs</Typography>
</a>
</IconButton>
<IconButton onClick={openSignup} color="primary">
<Typography variant="body1">Sign Up</Typography>
</IconButton>
<IconButton onClick={openSignin} color="primary">
<Typography variant="body1">Log In</Typography>
<Typography variant="body1">Sign In</Typography>
</IconButton>
</Grid>
) : (
Expand All @@ -139,6 +145,12 @@ const NavBar = (props) => {
<ExitToApp />
<Typography variant="body1">Log Out</Typography>
</IconButton>
<IconButton color="primary">
<a href="https://github.com/arjunsrini/open-stata-data/wiki/Open-Stata-Documentation" target="_blank" rel="noreferrer">
<MenuBookIcon />
<Typography variant="body1">Docs</Typography>
</a>
</IconButton>
<IconButton onClick={goToProfile} color="primary">
<AccountCircleIcon />
<Typography variant="body1">Profile</Typography>
Expand Down
8 changes: 8 additions & 0 deletions src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ img.logoImg {
background-image: none;
}

button a {
text-decoration-line: none;
color: #d2d2d2;
display: flex;
flex-direction: row;
font-size: 1.5em;
}

.lfm__typing_effect_text {
font-size: 120px;
font-style: italic;
Expand Down