diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 1a6571bea..000000000 --- a/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": ["next/babel"] -} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 9a8404139..91bdc8c22 100644 --- a/.gitignore +++ b/.gitignore @@ -47,7 +47,7 @@ yarn-debug.log* yarn-error.log* # local env files - +.env .env.local .env.development.local .env.test.local diff --git a/app/favicon.ico b/app/favicon.ico new file mode 100644 index 000000000..f443de1d8 Binary files /dev/null and b/app/favicon.ico differ diff --git a/app/head.js b/app/head.js new file mode 100644 index 000000000..4094cccc9 --- /dev/null +++ b/app/head.js @@ -0,0 +1,13 @@ +// import i18n from '../src/translations/i18n'; +import '../styles/nprogress.css'; + +export default function Head() { + return ( + <> + + + +
- {story.text} -
-- {mainChunk.text} -
- - -- {story.text} -
-- {story.text} -
-- {story.text} -
-+ {story.title} +
+ ) + } + {Object.prototype.hasOwnProperty.call(story, 'text') && ( + <> + + {/* {index} */} + {index.toString().split('').map((num) => t(`n-${num}`))} + + {/* */} +1.3) ? 1.5 : '', + }} + > + {story.text} +
+ > + )} + { + Object.prototype.hasOwnProperty.call(story, 'end') && ( ++ {story.end} +
+ ) + } +{error.toString()}
} + + + Don't have an account? + {' '} + + Sign Up + + + ++ + | + {/*+ + | */} +
+ handleSelectProject(event, project.name, project.id[0])
+ }
+ role="button"
+ id={`${project.name}`}
+ aria-label="project-name"
+ tabIndex="0"
+ className="focus:outline-none text-sm font-medium text-gray-900"
+ >
+ {project.name}
+
+ |
+ {project.language} | +{project.type} | +{moment(project.date).format('LL')} | +{moment(project.view, 'YYYY-MM-DD h:mm:ss').fromNow()} | + +
+ |
+
+ description
+ {project.description}
+ |
+
+ Project ID
+ {project.id[0]}
+ |
+ + + + + | +
+ + | + {/*+ + | */} +
+
+
+
+
+ handleSelectProject(event, project.name, project.id[0])
+ }
+ role="button"
+ aria-label="unstar-project-name"
+ tabIndex="0"
+ className="text-sm font-medium text-gray-900"
+ >
+ {project.name}
+
+
+ |
+
+ {project.language}
+ |
+
+ {project.type}
+ |
+ {moment(project.date).format('LL')} | +{moment(project.view, 'YYYY-MM-DD h:mm:ss').fromNow()} | +
+ |
+
+ description
+ {project.description}
+ |
+
+ Project ID
+ {project.id[0]}
+ |
+ + + + | +