forked from CyberOS/website-wip
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
.github/workflows | 2 years ago | |
public | 2 years ago | |
src | 1 year ago | |
.babel-plugin-macrosrc.js | 2 years ago | |
.babelrc | 2 years ago | |
.eslintrc.js | 2 years ago | |
.gitignore | 2 years ago | |
.prettierrc | 2 years ago | |
CONTRIBUTING.md | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
package.json | 2 years ago | |
tailwind.config.js | 2 years ago | |
tsconfig.json | 2 years ago | |
types.d.ts | 2 years ago | |
webpack.config.js | 2 years ago | |
yarn.lock | 2 years ago |
README.md
CyberOS Website 
Currently a work-in-progress. You can help by submitting a pull request!
Developing:
To preview the website, run:
yarn
yarn start
Translating:
Note: We uses ISO 639-3 codes
- to
i18n.ts
insrc/components
, add your language alphabetically in the form of:
'en-US': {
translation: en,
},
- import the translation file at the top of
i18n.ts
: (don't forget to sort them alphabetically!)
import en from './translations/en-US.json'
-
copy a fully translated language file (
en-US.json
will work best) to<your-language-code>.json
insrc/components/translations/
-
Start translating!