Merge branch 'feat/MISC-5-initial-page' into 'develop'
[#MISC-5] Initial page See merge request websites/igem!3
No related branches found
No related tags found
Showing
- .gitignore 13 additions, 0 deletions.gitignore
- .gitlab-ci.yml 79 additions, 0 deletions.gitlab-ci.yml
- README.md 6 additions, 0 deletionsREADME.md
- package.json 83 additions, 0 deletionspackage.json
- postcss.config.js 3 additions, 0 deletionspostcss.config.js
- public/favicon.ico 0 additions, 0 deletionspublic/favicon.ico
- public/index.html 51 additions, 0 deletionspublic/index.html
- public/manifest.json 15 additions, 0 deletionspublic/manifest.json
- public/robots.txt 2 additions, 0 deletionspublic/robots.txt
- src/assets/data/timeline.ts 135 additions, 0 deletionssrc/assets/data/timeline.ts
- src/components/ButtonWithLink.tsx 32 additions, 0 deletionssrc/components/ButtonWithLink.tsx
- src/components/HorizontalScroll.tsx 147 additions, 0 deletionssrc/components/HorizontalScroll.tsx
- src/components/InfoBox.tsx 63 additions, 0 deletionssrc/components/InfoBox.tsx
- src/components/LinksGroup.tsx 99 additions, 0 deletionssrc/components/LinksGroup.tsx
- src/components/NumberWithDescription.tsx 28 additions, 0 deletionssrc/components/NumberWithDescription.tsx
- src/components/Timeline.tsx 47 additions, 0 deletionssrc/components/Timeline.tsx
- src/components/TimelineWrapper.tsx 64 additions, 0 deletionssrc/components/TimelineWrapper.tsx
- src/containers/App/App.tsx 60 additions, 0 deletionssrc/containers/App/App.tsx
- src/content/banner.mdx 17 additions, 0 deletionssrc/content/banner.mdx
- src/content/news.mdx 54 additions, 0 deletionssrc/content/news.mdx
.gitignore
0 → 100644
.gitlab-ci.yml
0 → 100644
package.json
0 → 100644
{ | |||
"name": "my-app", | |||
"version": "0.1.0", | |||
"private": false, | |||
"license": "UNLICENSED", | |||
"homepage": "/", | |||
"dependencies": { | |||
"@igem/mdx-utils": "^0.2.1", | |||
"@igem/ui-components": "^0.3.2", | |||
"@mdx-js/loader": "^2.0.0-rc.2", | |||
"@testing-library/jest-dom": "^5.16.1", | |||
"@testing-library/react": "^12.1.2", | |||
"@testing-library/user-event": "^13.5.0", | |||
"@types/jest": "^27.4.0", | |||
"@types/node": "^17.0.10", | |||
"@types/react": "^17.0.38", | |||
"@types/react-dom": "^17.0.11", | |||
"autoprefixer": "^10.4.2", | |||
"clsx": "^1.1.1", | |||
"cross-env": "^7.0.3", | |||
"delay-cli": "^1.1.0", | |||
"lint-staged": "^12.3.1", | |||
"npm-run-all": "^4.1.5", | |||
"postcss": "^8.4.5", | |||
"postcss-cli": "^8.3.1", | |||
"postcss-preset-env": "^6.7.0", | |||
"react": "^17.0.2", | |||
"react-dom": "^17.0.2", | |||
"react-router-dom": "^6.2.1", | |||
"react-scripts": "^4.0.3", | |||
"tailwindcss": "^3.0.16", | |||
"ts-standard": "^11.0.0", | |||
"typescript": "^4.5.5" | |||
}, | |||
"resolutions": { | |||
"react-error-overlay": "6.0.9" | |||
}, | |||
"scripts": { | |||
"pre-compile": "node ./src/utils/FixMdxLoader.js", | |||
"update": "yarn upgrade igem-components", | |||
"start": "yarn pre-compile && run-p watch:css react-scripts:start", | |||
"build": "yarn pre-compile && yarn build:css && yarn react-scripts:build", | |||
"test": "react-scripts test --watchAll=false --passWithNoTests", | |||
"eject": "react-scripts eject", | |||
"build:css": "cross-env TAILWIND_MODE=build NODE_ENV=production postcss src/styles/tailwind.css -o src/styles/index.css", | |||
"watch:css": "cross-env TAILWIND_MODE=watch NODE_ENV=development postcss src/styles/tailwind.css -o src/styles/index.css --watch", | |||
"react-scripts:start": "react-scripts start", | |||
"react-scripts:build": "react-scripts build", | |||
"lint": "ts-standard", | |||
"lint:fix": "ts-standard --fix", | |||
"format": "prettier-standard", | |||
"lint-staged": "lint-staged --allow-empty", | |||
"prepare": "husky install" | |||
}, | |||
"lint-staged": { | |||
"*.{ts,tsx}": "ts-standard --fix", | |||
"*": "prettier-standard --staged" | |||
}, | |||
"eslintConfig": { | |||
"extends": "react-app" | |||
}, | |||
"ts-standard": { | |||
"ignore": [ | |||
"public" | |||
] | |||
}, | |||
"browserslist": { | |||
"production": [ | |||
">0.2%", | |||
"not dead", | |||
"not op_mini all" | |||
], | |||
"development": [ | |||
"last 1 chrome version", | |||
"last 1 firefox version", | |||
"last 1 safari version" | |||
] | |||
}, | |||
"devDependencies": { | |||
"husky": "^7.0.4", | |||
"prettier-standard": "^16.4.1" | |||
} | |||
} |
postcss.config.js
0 → 100644
public/favicon.ico
0 → 100644
1.12 KiB
public/index.html
0 → 100644
public/manifest.json
0 → 100644
public/robots.txt
0 → 100644
src/assets/data/timeline.ts
0 → 100644
src/components/ButtonWithLink.tsx
0 → 100644
src/components/HorizontalScroll.tsx
0 → 100644
src/components/InfoBox.tsx
0 → 100644
src/components/LinksGroup.tsx
0 → 100644
src/components/NumberWithDescription.tsx
0 → 100644
src/components/Timeline.tsx
0 → 100644
src/components/TimelineWrapper.tsx
0 → 100644
src/containers/App/App.tsx
0 → 100644
src/content/banner.mdx
0 → 100644
src/content/news.mdx
0 → 100644