Second version of iit-techambit frontend.
npm install
npm start
NOTE: Please use only npm as package manager not any other to avoid dependency clashes
master
branch directly. We open pull requests and merge them in master after review.feature-card-component
, bugfix-overlay
. Do not use generic names such as develop
, work
, your username etc.Fixes #{issue number}
if it fixes that particular issue.Note that the master
branch is deployed to server through Midgard. Any commits pushed to master
will be deployed to server instantly
A manual deployment can be triggered by going to the midgard dashboard.
The documentation for the Material Kit React is hosted at our website.
{
"files.trimTrailingWhitespace": true,
"editor.formatOnSave": true,
"eslint.autoFixOnSave": true,
"eslint.alwaysShowStatus": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"prettier.jsxSingleQuote": true,
"prettier.singleQuote": true
}
All the routes are present in src/index.js
src/views/Components/Navbar.js
src/components/Header/HeaderLinks.js
src/views/Components/Components.js
/stories
routesrc/views/Archive/Archive.js
which renders Article cards.Here only data is being fetched from the Drupal CMS APIsrc/views/Archive/ArticleCard.js
src/views/ReadingPage/ReadingPage.js
,Here also the data is fetched from Drupal CMS API/archive
routesrc/views/Stories/Stories.js
which displays Stories Card(Bad naming) ,this renders from the Flask API. Fetching from Flask API is done using function getData
present in src/integrate.js
and the endpoints are present in src/config.js
src/views/Stories/StoriesCard.js
/newsletter
routesrc/views/Newsletter/Newsletter.js
/archive
route in bold. The HTML is rendered using a parser,which is a npm package. Other component is SubscriptInput
which is the subscribe box present at the right bottom of the page/team
routesrc/views/Team/Team.js
which displays TeamMemberCard. Each team members details are present in the array named TeamList
in src/views/Team/TeamList.js
src/views/TeamMemberCard.js
SASS
, Don't worry, just write plain CSS in the scss
file too. It works perfectly fine.js
file and .scss
file match. Keep up the practice please !Copyright 2019 Creative Tim (https://www.creative-tim.com/)
Licensed under MIT (https://github.com/creativetimofficial/material-kit/blob/master/LICENSE.md)