Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
c8d89d4
adds project structure:
Joggz Oct 21, 2019
16e86bb
modifies project structure:
Joggz Oct 23, 2019
370b734
Update README.md
Joggz Oct 23, 2019
9eb7699
Update README.md
Joggz Oct 23, 2019
eacd0cf
Update README.md
Joggz Oct 23, 2019
64230a4
adds component and assest folder:
Joggz Oct 23, 2019
1bff17d
Merge branch 'develop' of https://github.com/devcareer/Dae-Alright-Fr…
Joggz Oct 23, 2019
6339721
deletes the SCSS folder from the project structure:
Joggz Oct 28, 2019
e13708c
mades some changes to the readme
Joggz Oct 28, 2019
093a6af
completed the reusable footer part
lario0913 Oct 29, 2019
67e309a
class names adjusted to reflect what they do
lario0913 Oct 31, 2019
502e272
restructured project folder
Joggz Oct 31, 2019
fafa258
change directory to App.css in index.js and App.js
Joggz Nov 1, 2019
bf3a434
changes file directory
Joggz Nov 1, 2019
fa7d576
returns App.css App.js, App.test.js,index.css, index.js back into the…
Joggz Nov 1, 2019
dd228f1
changes directory for serviceWorker.js in index.js
Joggz Nov 1, 2019
d62abc3
deletes readme and gitignore
Joggz Nov 1, 2019
e639d46
adds reusuable inputs and buttons
Joggz Nov 1, 2019
035aa25
completed the reusable footer part
lario0913 Oct 29, 2019
0a02b41
class names adjusted to reflect what they do
lario0913 Oct 31, 2019
ded6678
updated branch with the new folder structure
lario0913 Nov 1, 2019
69f7b7e
remote changes merged
lario0913 Nov 1, 2019
aae0f32
made changes based on review:
Joggz Nov 2, 2019
fc9517a
adds new line to end of each files
Joggz Nov 2, 2019
1378e30
Merge pull request #7 from devcareer/inputs_and_buttons
SEUNAGBEYE Nov 5, 2019
c16d7df
made changes on the review made:
Joggz Nov 5, 2019
04047f1
removed the Footer component from app.js
Joggz Nov 5, 2019
f861e70
mades changes from review given:
Joggz Nov 6, 2019
c591a1d
SignUp Modal all done
John-pels Oct 31, 2019
08af093
I create the modal component folder
John-pels Oct 31, 2019
8ac42fc
I create the reusable custom modal and also refactor the sign-up modal
John-pels Oct 31, 2019
1043e91
Working on the hover on the button
John-pels Nov 1, 2019
d87747a
I resolve the conflicts
John-pels Nov 1, 2019
da0caa1
I remove the button
John-pels Nov 1, 2019
e4ca21b
I add propsType to the component
John-pels Nov 1, 2019
d5c2bdc
I rename the modal components
John-pels Nov 1, 2019
dc47859
I clear unwanted codes
John-pels Nov 6, 2019
2eb349b
adds project structure:
Joggz Oct 21, 2019
6264e9f
modifies project structure:
Joggz Oct 23, 2019
456812c
adds component and assest folder:
Joggz Oct 23, 2019
1dccf71
Update README.md
Joggz Oct 23, 2019
bb3ff0c
Update README.md
Joggz Oct 23, 2019
9a24892
Update README.md
Joggz Oct 23, 2019
3603b95
deletes the SCSS folder from the project structure:
Joggz Oct 28, 2019
1d54eca
mades some changes to the readme
Joggz Oct 28, 2019
25257f8
restructured project folder
Joggz Oct 31, 2019
d8f0249
change directory to App.css in index.js and App.js
Joggz Nov 1, 2019
6ce460c
changes file directory
Joggz Nov 1, 2019
677e549
returns App.css App.js, App.test.js,index.css, index.js back into the…
Joggz Nov 1, 2019
d74df00
changes directory for serviceWorker.js in index.js
Joggz Nov 1, 2019
afc8511
deletes readme and gitignore
Joggz Nov 1, 2019
75f550b
adds reusuable inputs and buttons
Joggz Nov 1, 2019
4703f98
made changes based on review:
Joggz Nov 2, 2019
a08c29f
adds new line to end of each files
Joggz Nov 2, 2019
63c07ee
SignUp Modal all done
John-pels Oct 31, 2019
3599e06
I create the modal component folder
John-pels Oct 31, 2019
cf43a76
I create the reusable custom modal and also refactor the sign-up modal
John-pels Oct 31, 2019
1285d76
Working on the hover on the button
John-pels Nov 1, 2019
2bc3f1d
I resolve the conflicts
John-pels Nov 1, 2019
9f121c0
I remove the button
John-pels Nov 1, 2019
d721f6c
I add propsType to the component
John-pels Nov 1, 2019
34bf930
I rename the modal components
John-pels Nov 1, 2019
cdbf81e
I clear unwanted codes
John-pels Nov 6, 2019
5fea5c8
Merge branch 'develop' of https://github.com/devcareer/Dae-Alright-Fr…
Joggz Nov 6, 2019
0173d21
completed the reusable footer part
lario0913 Oct 29, 2019
43f5ccf
class names adjusted to reflect what they do
lario0913 Oct 31, 2019
fe8db50
completed the reusable footer part
lario0913 Oct 29, 2019
ca2d392
made changes on the review made:
Joggz Nov 5, 2019
9a410cb
removed the Footer component from app.js
Joggz Nov 5, 2019
be20278
made changes from review comment
Joggz Nov 6, 2019
6bf553b
resolves conflict
Joggz Nov 6, 2019
99d6704
replaces Footer.js with index.js
Joggz Nov 6, 2019
79acbef
adds term and condition paragraph
Joggz Nov 6, 2019
4a8215d
adds newline in Footer.scss
Joggz Nov 6, 2019
bd90cee
Dae Alright Header-wrapper
Mlg29 Oct 31, 2019
1883635
Dae Alright Header-wrapper new changes
Mlg29 Nov 1, 2019
63077cf
Update HeaderWraper.js
Mlg29 Nov 1, 2019
cc5fc63
Update HeaderWraper.js
Mlg29 Nov 1, 2019
f65be12
Update App.js
Mlg29 Nov 1, 2019
2137e7d
Dae alright Header-wrapper latest changes
Mlg29 Nov 1, 2019
c6d0608
Dae Alright Header-Wrapper Adjusted
Mlg29 Nov 5, 2019
bb14c9d
Header wrapper new changes
Mlg29 Nov 6, 2019
38435fb
Update index.js
Mlg29 Nov 5, 2019
2791664
wrapper changes
Mlg29 Nov 6, 2019
60069ed
Update App.js
Mlg29 Nov 6, 2019
a0c2123
Update index.js
Mlg29 Nov 6, 2019
5773a29
Update index.js
Mlg29 Nov 6, 2019
76089ba
Dae Alright header wrapper rebased
Mlg29 Nov 6, 2019
3bd75ce
Merge branch 'develop' of https://github.com/devcareer/Dae-Alright-Fr…
Joggz Nov 7, 2019
630bc53
completed the reusable footer part
lario0913 Oct 29, 2019
c338419
class names adjusted to reflect what they do
lario0913 Oct 31, 2019
b97db02
completed the reusable footer part
lario0913 Oct 29, 2019
c1dfa21
made changes on the review made:
Joggz Nov 5, 2019
0ceeca6
removed the Footer component from app.js
Joggz Nov 5, 2019
224d029
made changes from review comment
Joggz Nov 6, 2019
38ab82c
completed the reusable footer part
lario0913 Oct 29, 2019
422a52a
class names adjusted to reflect what they do
lario0913 Oct 31, 2019
1265534
updated branch with the new folder structure
lario0913 Nov 1, 2019
1c0a747
completed the reusable footer part
lario0913 Oct 29, 2019
1d2e9d6
class names adjusted to reflect what they do
lario0913 Oct 31, 2019
ee3cef9
made changes on the review made:
Joggz Nov 5, 2019
3409877
removed the Footer component from app.js
Joggz Nov 5, 2019
19c02ea
mades changes from review given:
Joggz Nov 6, 2019
1d95bd0
adds term and condition paragraph
Joggz Nov 6, 2019
93f7603
resolves conflict
Joggz Nov 7, 2019
2037e68
Merge pull request #4 from devcareer/ft-footer
SEUNAGBEYE Nov 7, 2019
d1e932d
Sign In Modal
bamiogunfemi Nov 8, 2019
15f117c
Sign In Modal complete
bamiogunfemi Nov 8, 2019
0d3a51c
Merge branch 'develop' into signInModal
bamiogunfemi Nov 8, 2019
1dfbe88
header files deleted
bamiogunfemi Nov 8, 2019
a53cad6
Merge branch 'signInModal' of https://github.com/devcareer/Dae-Alrigh…
bamiogunfemi Nov 8, 2019
5274609
Button className changed
bamiogunfemi Nov 9, 2019
89a4902
Merge pull request #11 from devcareer/signInModal
SEUNAGBEYE Nov 12, 2019
106a538
Redux Setup
Mlg29 Nov 7, 2019
fc8ded5
Dae Alright Redux setup
Mlg29 Nov 7, 2019
69731dc
Update restaurantReducer.js
Mlg29 Nov 12, 2019
d440712
Update userReducer.js
Mlg29 Nov 12, 2019
c67bac7
Merge pull request #9 from devcareer/ft-redux-branch
SEUNAGBEYE Nov 12, 2019
5a8be51
make changes based on feedback
Joggz Oct 21, 2019
c75e9e2
make changes based on feedback
Joggz Oct 23, 2019
0d0a5f4
make changes based on feedback
Joggz Oct 31, 2019
3e5eb1e
change directory to App.css in index.js and App.js
Joggz Nov 1, 2019
8276ad3
changes file directory
Joggz Nov 1, 2019
05d8c33
returns App.css App.js, App.test.js,index.css, index.js back into the…
Joggz Nov 1, 2019
3026cb1
changes directory for serviceWorker.js in index.js
Joggz Nov 1, 2019
16420d4
make changes based on feedback
Joggz Nov 1, 2019
7d2f9b5
made changes based on feedback
Joggz Nov 2, 2019
73d3094
made changes based on feedback
Joggz Nov 2, 2019
30c5532
made changes based on feedback
John-pels Oct 31, 2019
e12d7c4
make changes based on feedback
John-pels Nov 1, 2019
cd0eb09
make changes based on feedback
John-pels Nov 1, 2019
abf9fea
make changes based on feedback
lario0913 Oct 29, 2019
8abb602
make changes based on feedback
Joggz Nov 6, 2019
32051f8
make changes based on feedback
lario0913 Oct 31, 2019
a4c7777
make changes based on feedback
lario0913 Oct 29, 2019
e893431
make changes based on feedback
lario0913 Oct 29, 2019
41bfc3c
make changes based on feedback
lario0913 Oct 29, 2019
4bafcd0
make changes based on feedback
lario0913 Oct 29, 2019
3e33b56
class names adjusted to reflect what they do
lario0913 Oct 31, 2019
7a4c7cf
make changes based on feedback
lario0913 Oct 29, 2019
71ac740
make changes based on feedback
Joggz Nov 5, 2019
efb60ae
make changes based on feedback
Midetech Nov 4, 2019
63caccb
Fix conflicts
Midetech Nov 7, 2019
26641ab
Fix changes based on feedback
Midetech Nov 7, 2019
e73a0dc
Fix the node_modules stuff
Midetech Nov 12, 2019
11a621b
Add the Dae Alright Favicon
Midetech Nov 12, 2019
40232a3
Fix the conflicts
Midetech Nov 12, 2019
f6eca8a
Fix the conflicts
Midetech Nov 12, 2019
83e01ef
Fix the conflicts
Midetech Nov 12, 2019
7da23bf
Change AuthNav to use Bootstrap
Midetech Nov 12, 2019
51bc786
Merge pull request #8 from devcareer/navigation-bar
SEUNAGBEYE Nov 13, 2019
bccb99c
buit the search-bar component white sub-components as the dropdown, b…
samynaj Nov 13, 2019
5b3a290
restructured redux folder
bamiogunfemi Nov 20, 2019
b478dc5
rebased-password-modal
Nov 11, 2019
27665d3
rebased/password-modal
Nov 20, 2019
20c9321
redux-restructure
bamiogunfemi Nov 21, 2019
50e73e9
Merge pull request #15 from devcareer/redux-restructure
SEUNAGBEYE Nov 21, 2019
0b60e54
Merge pull request #12 from devcareer/modified-password-modal
SEUNAGBEYE Nov 21, 2019
470e7ae
buit the search-bar component white sub-components as the dropdown, b…
samynaj Nov 13, 2019
be75454
worked on the pr feedback and effected all required corrections
samynaj Nov 25, 2019
44b1cdb
merge changes
samynaj Nov 25, 2019
95779b8
changed folder and file names
samynaj Nov 25, 2019
b2ff2e6
data science form
Mlg29 Nov 26, 2019
1e115f7
...
John-pels Nov 26, 2019
5a0ca8b
resolved merge conflict
Joggz Nov 26, 2019
5785030
Merge pull request #13 from devcareer/search-bar
LuthfulahiO Nov 26, 2019
264a598
.
John-pels Nov 26, 2019
dc7fa59
Authentication done, implementing Redux
John-pels Nov 21, 2019
fa17669
Sign Up Authentication done!
John-pels Nov 25, 2019
232d150
Tested
John-pels Nov 25, 2019
7885cb5
Fix a conflict
John-pels Nov 26, 2019
78bd817
I attach the signUp Modal to the Navigation menu
John-pels Nov 27, 2019
f97e4fc
Merge pull request #17 from devcareer/signup-modal
LuthfulahiO Nov 28, 2019
fa84458
..
John-pels Nov 28, 2019
dbc228b
landing page for dae alright
Mlg29 Nov 26, 2019
c136fff
landing page section for Dae alright project
Mlg29 Nov 28, 2019
2fdd13c
Dae-Alright landing page session
Mlg29 Nov 29, 2019
9262e45
Organized
John-pels Nov 30, 2019
37cfbb8
New project structure
John-pels Nov 30, 2019
3fef0fd
Merge pull request #22 from devcareer/new-project-structure
bamiogunfemi Dec 26, 2019
95404a4
add resturant search page
Joggz Nov 30, 2019
88d3cdb
adds resturant page
Joggz Dec 26, 2019
a7758d9
adds search button to the resturant filter section
Joggz Dec 26, 2019
45d9ae4
landing page for dae alright
Mlg29 Nov 26, 2019
82b0f48
landing page section for Dae alright project
Mlg29 Nov 28, 2019
ed3a35d
Dae-Alright landing page session
Mlg29 Nov 29, 2019
26b3e39
rebased landing page
Mlg29 Dec 27, 2019
0635f73
deleted a folder
Mlg29 Dec 27, 2019
70679f7
add changes based on review
Joggz Dec 27, 2019
210ae07
updated changes to landing page
Mlg29 Dec 27, 2019
d782c04
added content of the restaurant info page
lario0913 Dec 28, 2019
856985b
Fix the screen issue
Midetech Dec 28, 2019
c4fea6e
styled the restaurant-info-page
lario0913 Dec 28, 2019
49806e3
landing page
Mlg29 Dec 29, 2019
8cc201b
landing page for dae-alright
Mlg29 Dec 29, 2019
35971d3
increase the width to 110
Mlg29 Dec 30, 2019
8617ed3
landing blah blah
Mlg29 Dec 30, 2019
fdb6d40
Merge pull request #19 from devcareer/landing-page-169566349
John-pels Jan 2, 2020
9fd7f3a
add resturant search page
Joggz Nov 30, 2019
a9a5fd1
adds resturant page
Joggz Dec 26, 2019
8ecb6a4
adds search button to the resturant filter section
Joggz Dec 26, 2019
0a3c6fa
removes comment
Joggz Jan 2, 2020
ab1b33e
Merge pull request #23 from devcareer/resturant-page
John-pels Jan 2, 2020
b6adff3
Payment-Page UI
John-pels Dec 27, 2019
0906db4
I implement the feedback
John-pels Jan 2, 2020
3fba746
Shipping to production
John-pels Jan 3, 2020
ae233b9
Merge pull request #26 from devcareer/production
John-pels Jan 3, 2020
518f496
Update package.json
John-pels Jan 4, 2020
0dfa26d
Update the README.md
John-pels Jan 4, 2020
216c443
set up app routing
bamiogunfemi Jan 4, 2020
f9b6b24
Merge branch 'develop' into arouting
bamiogunfemi Jan 4, 2020
22b0b0b
Merge pull request #29 from devcareer/arouting
John-pels Jan 4, 2020
808ebfe
I add netlify.toml for route
John-pels Jan 4, 2020
40088f5
I update netlify.toml for route
John-pels Jan 4, 2020
97f1204
Merge pull request #32 from devcareer/netlify-route
John-pels Jan 4, 2020
f7afe00
Build the Menu Page
Midetech Jan 4, 2020
dee1299
Finish the Menu Page
Midetech Jan 5, 2020
806cdc1
new user dashboard account information
Mlg29 Jan 5, 2020
c3ab0a5
rebase dashboard
Mlg29 Jan 5, 2020
5fa8f7e
added exact to the route
Mlg29 Jan 5, 2020
d81913b
Merge pull request #30 from devcareer/dashboard-account-info
John-pels Jan 4, 2020
252fc1d
Merge pull request #34 from devcareer/Restaurant-Page
John-pels Jan 5, 2020
d2d7eb6
Update the file
John-pels Jan 5, 2020
0256e43
I move the file to public folder
John-pels Jan 5, 2020
9501f05
Merge pull request #36 from devcareer/netlify-route
John-pels Jan 5, 2020
5dd2389
dashboard order page
Mlg29 Jan 7, 2020
23f9c37
added the refund dashboard page
Mlg29 Jan 7, 2020
171c814
Merge pull request #37 from devcareer/dashboard-order
Mlg29 Jan 11, 2020
8f6d3a5
coverts the titles to tabs for easy navigation and created components…
lario0913 Jan 11, 2020
09b8ab5
tabs adjusted
lario0913 Jan 11, 2020
de7715f
added content of the restaurant info page
lario0913 Dec 28, 2019
9276219
styled the restaurant-info-page
lario0913 Dec 28, 2019
996070e
coverts the titles to tabs for easy navigation and created components…
lario0913 Jan 11, 2020
c059a9d
tabs adjusted
lario0913 Jan 11, 2020
e7dd8ff
done
lario0913 Jan 11, 2020
5999c87
package.json updated
lario0913 Jan 11, 2020
d483ae3
menu tab content added
lario0913 Jan 13, 2020
db4dbaf
added the contents of the review tab
lario0913 Jan 13, 2020
9ddb6a3
added the necessary components to the page and makes the reviews card…
lario0913 Jan 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REACT_APP_BACKEND_URL=https://dae-alright-staging.herokuapp.com
REACT_APP_NODE_ENV=development
73 changes: 18 additions & 55 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,61 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# node-waf configuration
.lock-wscript
# dependencies
/node_modules
/.pnp
.pnp.js

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# testing
/coverage

# Dependency directories
node_modules/
jspm_packages/
# production
/build

# TypeScript v1 declaration files
typings/
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# next.js build output
.next
266 changes: 265 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,265 @@
# Dae-Alright-Frontend
# Dae-Alright-Frontend
# URL: https://dae-alright.netlify.com/

Building a food service web app built with React, using SASS as a CSS pre-processor, Bootstrap as CSS framework.

This Project was structured with the create-react-app

- [Checkout the CRA readme](https://github.com/facebook/create-react-app/blob/master/README.md#creating-an-app) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.

# How to Setup the Project Locally

- Open Git bash
- Clone project reprository from [dae-Alright repo](https://github.com/devcareer/Dae-Alright-Frontend.git)

```sh
git clone https://github.com/devcareer/Dae-Alright-Frontend.git
```

- Project Structure should be Similar to this:

```
dae-alright
├── node_modules
├── public
│ ├── favicon.ico
│ ├── index.html
│ └── manifest.json
├── src
| ├── assests
| ├── components
| ├── container
| ├── App.css
| ├── App.js
| ├── App.test.js
| ├── index.css
| ├── index.js
| ├── logo.svg
| └── serviceWorker.js
├── .gitignore
├── package-lock.json
├── package.json
└── README.md
```

Once cloning is complete, you can open your project folder:

```sh
cd dae-alright
```

- depending on the package manager you decide to use run npm install or yarn install on your terminal

```sh
npm install
yarn install
npm start
```

Note : The asssests and components file in the src folder are for images and Compnents respectively

# Styleguides

A coding styleguide (note, not a visual styleguide) is a valuable tool for teams who:

- Build and maintain products for a reasonable length of time;
- Have developers of differing abilities and specialties;
- Have a number of different developers working on a product at any given time;
- On-board new staff regularly;
- Have a number of codebases that developers dip in and out of.

# Syntax and formatting

1. Two (2) space indents, no tabs.
2. 80 character wide columns.
Reason

- The ability to have multiple files open side by side.
- Viewing CSS on sites like GitHub, or in terminal windows.
- Providing a comfortable line length for comments.

3. Multi-line CSS.
4. Meaningful use of whitespace.
5. Dont use !important in your coding.

# STRINGS

- Unless applied as CSS identifiers, Strings should be quoted using single quotes. URLs should also be quoted.

# NUMBERS

- Sass makes no distinction between numbers, integers, floats so trailing zeros (0) should be omitted. However, leading zeros (0) help readability and should be added.
- A zero (0) length should not have a unit.
- Units manipulation should be thought as arithmetic operations, not string operations.
- In order to improve readability, top-level calculations should be wrapped in parentheses. Also, complex math operations might be splitted into smaller chunks.
- Magic numbers dramatically hurt code maintainability and should be avoided at all time. When in doubt, extensively explain the questionable value.

# COLORS

- Colors should be expressed in HSL when possible, then RGB, then hexadecimal (in a lowercase and shortened form). Color keywords should be avoided.
- Prefer mix(..) instead of darken(..) and lighten(..) when lightening or darkening a color.

# LISTS

- Unless used as a direct mapping to space-separated CSS values, lists should be separated with commas.
- Wrapping parentheses should also be considered to improve readability.
- Inlined lists should not have a trailing comma, multi-line lists should have it.

# MAPS

- Maps containing more than a single pair are written on several lines.
- To help maintainability, the last pair of a map should have a trailing comma.
- Map keys that happen to be strings should be quoted as any other string.

# DECLARATION SORTING

\*The system used for declaration sorting (alphabetical, by type, etc.) doesn’t matter as long as it is consistent. ↩

# SELECTOR NESTING

- Avoid selector nesting when it is not needed (which represents most of the cases).
- Use selector nesting for pseudo-classes and pseudo-elements.
- Media queries can also be nested inside their relevant selector.

# BEM Naming Conventions

Naming conventions in CSS are hugely useful in making your code more strict, more transparent, and more informative.

This project is making use of BEM-like naming convention.

BEM, meaning Block, Element, Modifier, is a front-end methodology coined by developers working at Yandex. Whilst BEM is a complete methodology, here we are only concerned with its naming convention. Further, the naming convention here only is BEM-like; the principles are exactly the same, but the actual syntax differs slightly.

BEM splits components classes into three groups:

- Block: The sole root of the component.
- Element: A component part of the Block.
- Modifier: A variant or extension of the Block.

* Read more on [BEM](http://getbem.com/)

```
dae-alright
├── node_modules
├── public
│ ├── favicon.ico
│ ├── index.html
│ └── manifest.json
├── src
| ├── assests
| ├── components
| ├── container
| ├── App.css
| ├── App.js
| ├── App.test.js
| ├── index.css
| ├── index.js
| ├── logo.svg
| └── serviceWorker.js
├── .gitignore
├── package-lock.json
├── package.json
└── README.md
```

Once cloning is complete, you can open your project folder:

```sh
cd dae-alright
```

- depending on the package manager you decide to use run npm install or yarn install on your terminal

```sh
npm install
yarn install
```

Note : The asssests and components file in the src folder are for images and Compnents respectively

# Styleguides

A coding styleguide (note, not a visual styleguide) is a valuable tool for teams who:

- Build and maintain products for a reasonable length of time;
- Have developers of differing abilities and specialties;
- Have a number of different developers working on a product at any given time;
- On-board new staff regularly;
- Have a number of codebases that developers dip in and out of.

# Syntax and formatting

1. Two (2) space indents, no tabs.
2. 80 character wide columns.
Reason

- The ability to have multiple files open side by side.
- Viewing CSS on sites like GitHub, or in terminal windows.
- Providing a comfortable line length for comments.

3. Multi-line CSS.
4. Meaningful use of whitespace.
5. Dont use !important in your coding.

# STRINGS

- Unless applied as CSS identifiers, Strings should be quoted using single quotes. URLs should also be quoted.

# NUMBERS

- Sass makes no distinction between numbers, integers, floats so trailing zeros (0) should be omitted. However, leading zeros (0) help readability and should be added.
- A zero (0) length should not have a unit.
- Units manipulation should be thought as arithmetic operations, not string operations.
- In order to improve readability, top-level calculations should be wrapped in parentheses. Also, complex math operations might be splitted into smaller chunks.
- Magic numbers dramatically hurt code maintainability and should be avoided at all time. When in doubt, extensively explain the questionable value.

# COLORS

- Colors should be expressed in HSL when possible, then RGB, then hexadecimal (in a lowercase and shortened form). Color keywords should be avoided.
- Prefer mix(..) instead of darken(..) and lighten(..) when lightening or darkening a color.

# LISTS

- Unless used as a direct mapping to space-separated CSS values, lists should be separated with commas.
- Wrapping parentheses should also be considered to improve readability.
- Inlined lists should not have a trailing comma, multi-line lists should have it.

# MAPS

- Maps containing more than a single pair are written on several lines.
- To help maintainability, the last pair of a map should have a trailing comma.
- Map keys that happen to be strings should be quoted as any other string.

# DECLARATION SORTING

\*The system used for declaration sorting (alphabetical, by type, etc.) doesn’t matter as long as it is consistent. ↩

# SELECTOR NESTING

- Avoid selector nesting when it is not needed (which represents most of the cases).
- Use selector nesting for pseudo-classes and pseudo-elements.
- Media queries can also be nested inside their relevant selector.

# BEM Naming Conventions

Naming conventions in CSS are hugely useful in making your code more strict, more transparent, and more informative.

This project is making use of BEM-like naming convention.

BEM, meaning Block, Element, Modifier, is a front-end methodology coined by developers working at Yandex. Whilst BEM is a complete methodology, here we are only concerned with its naming convention. Further, the naming convention here only is BEM-like; the principles are exactly the same, but the actual syntax differs slightly.

BEM splits components classes into three groups:

- Block: The sole root of the component.
- Element: A component part of the Block.
- Modifier: A variant or extension of the Block.

* Read more on [BEM](http://getbem.com/)

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `npm run build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
1 change: 1 addition & 0 deletions _redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* /index.html 200
Loading