Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklaurencegaray committed Apr 22, 2020
1 parent 3141de7 commit 63d7a19
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion content/blog/fork-process-api/index.md
@@ -1,6 +1,6 @@
---
slug: the-unix-fork-api
date: 2019-05-19
date: 2020-04-22
title: 'A Primer on the System Call: Fork'
description: 'Getting to know the the fork system call'
published: true
Expand Down
2 changes: 1 addition & 1 deletion content/blog/web-storage-cookies-local-session/index.md
@@ -1,6 +1,6 @@
---
slug: web-storage-cookies-local-session
date: 2019-05-19
date: 2020-04-16
title: 'Web Storage: Cookies vs Local and Session Storage'
description: 'A simplified article describing cookies, local and session storage.'
published: true
Expand Down
3 changes: 2 additions & 1 deletion gatsby-config.js
Expand Up @@ -18,7 +18,7 @@ module.exports = {
author: {
name: config.author,
minibio: config.bio,
photo: config.authorPhoto
photo: config.authorPhoto,
},
organization: {
name: config.organization,
Expand Down Expand Up @@ -48,6 +48,7 @@ module.exports = {
options: {
backgroundColor: '#fafafa',
maxWidth: 1035,
linkImagesToOriginal: true,
},
},
],
Expand Down
4 changes: 2 additions & 2 deletions src/components/AboutAuthor/index.js
Expand Up @@ -21,7 +21,7 @@ export default function AboutAuthor({ author, twitterHandle }) {
alt={'Author'}
/>
<div>
<p
<div
css={css`
margin-bottom: 6px;
`}
Expand All @@ -40,7 +40,7 @@ export default function AboutAuthor({ author, twitterHandle }) {
{author.name}
</h4>
</a>
</p>
</div>
<p
css={css`
font-size: 15px;
Expand Down
6 changes: 4 additions & 2 deletions src/components/Layout.js
Expand Up @@ -156,7 +156,7 @@ export default ({
const toggleTheme = name => setTheme(name)
const theme = {
...themes[themeName],
toggleTheme: toggleTheme,
toggleTheme,
}
const {
description: siteDescription,
Expand All @@ -171,7 +171,7 @@ export default ({
const keywords = (frontmatterKeywords || siteKeywords).join(', ')
const description = frontmatterDescription || siteDescription

return (
return theme ? (
<ThemeProvider theme={theme}>
<Fragment>
<Global styles={reset()} />
Expand Down Expand Up @@ -207,6 +207,8 @@ export default ({
</div>
</Fragment>
</ThemeProvider>
) : (
<div />
)
}

Expand Down
6 changes: 3 additions & 3 deletions src/pages/index.js
Expand Up @@ -58,9 +58,9 @@ export default function Index({ data: { site, allMdx } }) {
</h3>
<p
css={css`
font-size: 15px;
margin-bottom: 1em;
margin-top: 1em;
font-size: 14px;
margin-bottom: 0.6em;
margin-top: 0.8em;
`}
>
{post.frontmatter.date} &nbsp;&nbsp; {post.timeToRead * 2}-minute
Expand Down

0 comments on commit 63d7a19

Please sign in to comment.