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

Develop #7

Merged
merged 3 commits into from May 13, 2019
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/_app.js
Expand Up @@ -29,7 +29,7 @@ class MyApp extends App {
return (
<Container>
<Head>
<title> Personal | Prince Ali Khan</title>
<title>Prince Ali Khan | Software Developer</title>
</Head>
{/* Wrap every page in Jss and Theme providers */}
<JssProvider
Expand Down
2 changes: 1 addition & 1 deletion pages/_document.js
Expand Up @@ -67,7 +67,7 @@ MyDocument.getInitialProps = ctx => {
// Render app and page and get the context of the page with collected side effects.
let pageContext;

const GOOGLE_ANALYTICS_ID = process.env.NODE_ENV === 'production' ? 'AAA' : 'BBB';
const GOOGLE_ANALYTICS_ID = process.env.NODE_ENV === 'production' ? 'UA-139875827-1' : 'BBB';

const page = ctx.renderPage(Component => {
const WrappedComponent = props => {
Expand Down
11 changes: 9 additions & 2 deletions pages/index.js
Expand Up @@ -7,7 +7,9 @@ import LottieLoader from '../static/animations/loader.json';

const styles = theme => ({
mobileView: {
[theme.breakpoints.down('xs')]: {
[
theme.breakpoints.down('xs')
]: {
display: 'none'
},
},
Expand All @@ -17,7 +19,12 @@ const styles = theme => ({
justifyContent: 'center',
height: 'calc(100vh - 48px)',
fontSize: '3em',
padding: '1em'
padding: '1em',
[
theme.breakpoints.down('sm')
]: {
height: 'calc(100vh - 72px)',
},
},
});

Expand Down