Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React rendering #74

Merged
merged 30 commits into from
Aug 18, 2021
Merged

React rendering #74

merged 30 commits into from
Aug 18, 2021

Conversation

SupritBehera
Copy link
Collaborator

@SupritBehera SupritBehera commented Jul 17, 2021

Proposed changes

Fixes issue #73
Landing, Teams, Events and Blog page integrated

Types of changes

What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

  • New feature (non-breaking change which adds functionality)
  • Bugfix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices applies)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING doc
  • I have signed the commit for DCO to be passed.
  • [x ] Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • [x ] I have added necessary documentation (if appropriate)

Dependency

  • Please add the links to the dependent PR need to be merged before this (if any).

Special notes for your reviewer:

Work in progress.

  • The animations on any of the pages (such as the think animation on the landing page) do not work.
  • The omission of the Cruip external CSS stylesheet CDN results in the Events and Projects page not looking as expected.
  • Yet to integrate Projects page
  • The modal on Events page does not work on Firefox (on the static /theme file for the Events page as well), frontend team needs to work on that

Copy link
Collaborator

@specter25 specter25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @SupritBehera i have reviewed the PR . Just some minor fixes . Rest looks great . I believe there must be some eslint warnings when you run the code , do fix them as well .

Also the commit messages should have only the first word with a capital initial , rest of the message should be in lower case .

<i className="fa fa-twitter" />
</p>
<div className="slick-slide">
<img src="./images/face6.png" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add alt tag to images throughout the code .

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were hardcoded img tags, so had not changed them. Will ensure the alt tags are there in the component that would have the code to display a team member card given its properties and details. Have added alt tags in the few img tags throughout the project (other than Teams page) that didn't have alt tags.

@@ -1,175 +1,173 @@
import React from 'react';
import landscape from '.././images/landscape.jpg';

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this blank line to make the code consistent

@@ -1,57 +1,59 @@
import React from 'react';
import logo from '.././images/logo.svg';
import { Link } from 'react-router-dom';

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this blank line

</li>
</ul>
</div>
</nav>
</div>
);
};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you haven't exported this component .. any specific reason ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I understand, I have exported the Navbar component in line 61 in Navbar.js with export default Navbar


const Blogs = () => {
return (
<div>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefer wrapping the contents of components inside a react fragment as the parent tag (In all the components )

@SupritBehera SupritBehera requested a review from specter25 August 18, 2021 07:40
@specter25 specter25 merged commit bc61918 into ACM-Thapar:master Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants