ComputerSocietyVITC / ComputerSocietyVITC/hms-frontend

Configuration: Create a centralized configuration file

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
depends/disabled
Dominant language
TypeScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

> Please read the [`CONTRIBUTING.md`](https://github.com/ComputerSocietyVITC/hms-frontend/blob/master/CONTRIBUTING.md) file before contributing and taking on this issue. **It is mandatory.**

Create a configuration file in `config.js` at the root location of the directory.

It should contain all the configuration of the project:

It should look something like this:

```js
const constants = {
colors: {
black: '#1E1E1E',
white: '#F5F5F5',
// ... more colors
},
text: {
logo: 'Logo',
heroHeading: 'Hero Heading',
heroSubheading: 'Hero Subheading',
// ... more text variables
},
};

export default constants;
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.