Skip to content

Commit 10f5c18

Browse files
🌅
0 parents  commit 10f5c18

21 files changed

+7862
-0
lines changed

.eslintrc.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module.exports = {
2+
extends: ['airbnb', 'plugin:prettier/recommended'],
3+
env: {
4+
browser: true,
5+
},
6+
parser: 'babel-eslint',
7+
rules: {
8+
indent: 0,
9+
camelcase: ['error', { properties: 'always' }],
10+
'no-tabs': 0,
11+
'eol-last': ['error', 'always'],
12+
'no-underscore-dangle': 0,
13+
'no-console': 0,
14+
'func-names': 0,
15+
'react/forbid-prop-types': 0,
16+
'react/jsx-filename-extension': 0,
17+
'react/jsx-one-expression-per-line': 0,
18+
'react/jsx-wrap-multilines': 0,
19+
'react/no-unescaped-entities': 0,
20+
'react/require-default-props': 0,
21+
},
22+
};

.gitignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# dependencies
2+
/node_modules
3+
/.pnp
4+
.pnp.js
5+
6+
# testing
7+
/coverage
8+
9+
# next.js
10+
/.next/
11+
/out/
12+
13+
# production
14+
/build
15+
16+
# misc
17+
.DS_Store
18+
*.pem
19+
20+
# debug
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
24+
25+
# local env files
26+
.env.local
27+
.env.development.local
28+
.env.test.local
29+
.env.production.local
30+
31+
# vercel
32+
.vercel

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12.18.3

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.cache
2+
package.json
3+
package-lock.json
4+
public

.prettierrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
trailingComma: 'all',
3+
semi: true,
4+
singleQuote: true,
5+
arrowParens: 'always',
6+
};

CODE_OF_CONDUCT.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age,
8+
body size, disability, ethnicity, gender identity and expression, level of
9+
experience, nationality, personal appearance, race, religion, or sexual
10+
identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an
52+
appointed representative at an online or offline event. Representation of a
53+
project may be further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at <[email protected]>. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an
62+
incident. Further details of specific enforcement policies may be posted
63+
separately.
64+
65+
Project maintainers who do not follow or enforce the Code of Conduct in good
66+
faith may face temporary or permanent repercussions as determined by other
67+
members of the project's leadership.
68+
69+
## Attribution
70+
71+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
72+
version 1.4, available
73+
[here](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html).
74+
75+
[homepage]: https://www.contributor-covenant.org
76+

CONTRIBUTING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Contributing
2+
3+
When contributing to this repository, please first discuss the change you wish
4+
to make via issue, email, or any other method with the owners of this
5+
repository before making a change.
6+
7+
Please note we have a [Code of Conduct](CODE_OF_CONDUCT.md), please follow it
8+
in all your interactions with the project.
9+

LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 CeSIUM
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
[contributing]: CONTRIBUTING.md
2+
[code_of_conduct]: CODE_OF_CONDUCT.md
3+
[license]: LICENSE.txt
4+
5+
# cesium.link
6+
7+
> :link: Mapping CeSIUM's website to shorter urls
8+
9+
## :rocket: Getting Started
10+
11+
These instructions will get you a copy of the project up and running on your
12+
local machine for development and testing purposes.
13+
14+
### :inbox_tray: Prerequisites
15+
16+
The following software is required to be installed on your system:
17+
18+
- [nodejs](https://nodejs.org/en/download/)
19+
20+
Install all dependencies using `npm install`.
21+
22+
### :hammer: Development
23+
24+
Starting the development server.
25+
26+
```
27+
npm run develop
28+
```
29+
30+
Test your code against common guidelines.
31+
32+
```
33+
npm run test
34+
```
35+
36+
Lint your code.
37+
38+
```
39+
npm run lint
40+
```
41+
42+
Format your code.
43+
44+
```
45+
npm run format
46+
```
47+
48+
## :handshake: Contributing
49+
50+
Please read [CONTRIBUTING][contributing] and [CODE_OF_CONDUCT][code_of_conduct]
51+
for details on our code of conduct and the process for submitting pull requests
52+
to us.
53+
54+
## :memo: License
55+
56+
This project is licensed under the MIT License - see the [LICENSE][license]
57+
file for details.
58+

data/settings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"domain": "https://cesium.di.uminho.pt",
3+
"social": {
4+
"github": "https://github.com/cesium",
5+
"gitlab": "https://gitlab.com/cesiuminho",
6+
"twitter": "https://twitter.com/cesiuminho",
7+
"instagram": "https://instagram.com/cesiuminho",
8+
"facebook": "https://facebook.com/cesiuminho"
9+
}
10+
}

0 commit comments

Comments
 (0)