-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ede0530
Showing
82 changed files
with
14,297 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
logs | ||
*.log | ||
npm-debug.log* | ||
.DS_Store | ||
|
||
coverage | ||
node_modules | ||
build | ||
.env | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import React, { Component } from "react"; | ||
import { withRouter } from "next/router"; | ||
|
||
class errorPage extends Component { | ||
static getInitialProps({ res, xhr }) { | ||
const errorCode = res ? res.statusCode : xhr ? xhr.status : null; | ||
return { errorCode }; | ||
} | ||
render() { | ||
var response; | ||
switch (this.props.errorCode) { | ||
case 200: // Also display a 404 if someone requests /_error explicitly | ||
case 404: | ||
response = ( | ||
<div> | ||
</div> | ||
); | ||
break; | ||
case 500: | ||
response = ( | ||
<div> | ||
</div> | ||
); | ||
break; | ||
default: | ||
response = ( | ||
<div> | ||
</div> | ||
); | ||
} | ||
|
||
return response; | ||
} | ||
} | ||
export default withRouter(errorPage); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module.exports = { | ||
backgroundImage: [ | ||
"https://images.unsplash.com/photo-1516796181074-bf453fbfa3e6?ixlib=rb-1.2.1&q=80&fit=crop&ixid=eyJhcHBfaWQiOjF9&auto=format", | ||
"https://images.unsplash.com/photo-1464618663641-bbdd760ae84a?ixlib=rb-1.2.1&q=80&fit=crop&ixid=eyJhcHBfaWQiOjF9&auto=format", | ||
"https://images.unsplash.com/photo-1518208398353-f3cdc7e2b593?ixlib=rb-1.2.1&q=80&fit=crop&ixid=eyJhcHBfaWQiOjF9&auto=format", | ||
"https://images.unsplash.com/photo-1471297008698-11471dcfa648?ixlib=rb-1.2.1&q=80&fit=crop&ixid=eyJhcHBfaWQiOjF9&auto=format", | ||
"https://images.unsplash.com/photo-1516541196182-6bdb0516ed27?ixlib=rb-1.2.1&q=80&fit=crop&ixid=eyJhcHBfaWQiOjF9&auto=format", | ||
"https://images.unsplash.com/photo-1504116468057-3951eae10a58?ixlib=rb-1.2.1&q=80&fit=crop&ixid=eyJhcHBfaWQiOjF9&auto=format", | ||
"https://images.unsplash.com/photo-1530543787849-128d94430c6b?ixlib=rb-1.2.1&q=80&fit=crop&ixid=eyJhcHBfaWQiOjF9&auto=format", | ||
"https://images.unsplash.com/photo-1479859546309-cd77fa21c8f6?ixlib=rb-1.2.1&q=80&fit=crop&ixid=eyJhcHBfaWQiOjF9&auto=format", | ||
"https://images.unsplash.com/photo-1472289065668-ce650ac443d2?ixlib=rb-1.2.1&q=80&fit=crop&ixid=eyJhcHBfaWQiOjF9&auto=format", | ||
"https://images.unsplash.com/photo-1471897488648-5eae4ac6686b?ixlib=rb-1.2.1&q=80&fit=crop&ixid=eyJhcHBfaWQiOjF9&auto=format" | ||
], | ||
teamBackground: [ | ||
"https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&q=80" | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from "react"; | ||
import Layout from "../components/layout"; | ||
|
||
const Schedule = () => { | ||
return ( | ||
<Layout title='schedule'> | ||
<h3>This is an Schedule page.</h3> | ||
</Layout> | ||
); | ||
}; | ||
export default Schedule; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"name": "my-razzle-app", | ||
"version": "0.1.0", | ||
"license": "MIT", | ||
"scripts": { | ||
"start": "razzle start", | ||
"build": "razzle build", | ||
"test": "razzle test --env=jsdom", | ||
"start:prod": "NODE_ENV=production node build/server.js" | ||
}, | ||
"dependencies": { | ||
"@fortawesome/fontawesome-free": "^5.11.2", | ||
"@fortawesome/fontawesome-svg-core": "^1.2.25", | ||
"@fortawesome/free-solid-svg-icons": "^5.11.2", | ||
"@fortawesome/react-fontawesome": "^0.1.7", | ||
"axios": "^0.19.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"bcryptjs": "^2.4.3", | ||
"body-parser": "^1.19.0", | ||
"bootstrap": "^4.4.1", | ||
"bulma": "^0.8.0", | ||
"compression": "^1.7.4", | ||
"connect-mongo": "^3.1.2", | ||
"cross-env": "^6.0.3", | ||
"crypto-js": "^3.1.9-1", | ||
"css-loader": "^3.2.0", | ||
"csurf": "^1.10.0", | ||
"dotenv": "^8.2.0", | ||
"express": "^4.17.1", | ||
"express-session": "^1.17.0", | ||
"express-validator": "^6.2.0", | ||
"gmail-send": "^1.8.10", | ||
"helmet": "^3.21.2", | ||
"isomorphic-fetch": "^2.2.1", | ||
"js-cookie": "^2.2.1", | ||
"mongodb": "^3.3.3", | ||
"mongoose": "^5.7.7", | ||
"razzle": "^3.0.0", | ||
"react": "^16.12.0", | ||
"react-dom": "^16.12.0", | ||
"react-helmet": "^5.2.1", | ||
"react-router-dom": "^5.1.2", | ||
"serialize-javascript": "^2.1.2", | ||
"style-loader": "^1.0.0", | ||
"styled-components": "^4.4.1", | ||
"styled-jsx": "^3.2.4", | ||
"uid-safe": "^2.1.5" | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.