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

Add testimonial section on homepage #3527

Merged
merged 10 commits into from
Aug 26, 2021

Conversation

gautamjajoo
Copy link
Member

Added testimonial section on homepage and removed the testimonial component as well.
The current data can be replaced with the real data here.
@Ram81 @Kajol-Kumari

screencapture-0-0-0-0-4200-2021-07-10-13_57_56 (1)

@codecov-commenter
Copy link

codecov-commenter commented Jul 10, 2021

Codecov Report

Merging #3527 (1709ba0) into master (96968d6) will decrease coverage by 1.45%.
The diff coverage is 32.43%.

@@            Coverage Diff             @@
##           master    #3527      +/-   ##
==========================================
- Coverage   72.93%   71.47%   -1.46%     
==========================================
  Files          83       20      -63     
  Lines        5368     3232    -2136     
==========================================
- Hits         3915     2310    -1605     
+ Misses       1453      922     -531     
Impacted Files Coverage Δ
frontend/src/js/controllers/authCtrl.js 53.91% <6.38%> (-12.95%) ⬇️
frontend/src/js/controllers/profileCtrl.js 79.76% <20.00%> (-13.10%) ⬇️
frontend/src/js/controllers/permissionCtrl.js 36.36% <22.22%> (-63.64%) ⬇️
frontend/src/js/controllers/challengeCtrl.js 63.41% <30.64%> (-10.29%) ⬇️
frontend/src/js/controllers/updateProfileCtrl.js 82.55% <44.44%> (-10.30%) ⬇️
frontend/src/js/controllers/challengeListCtrl.js 95.74% <50.00%> (+1.06%) ⬆️
...ntend/src/js/controllers/challengeHostTeamsCtrl.js 70.50% <66.66%> (-1.18%) ⬇️
frontend/src/js/controllers/teamsCtrl.js 71.17% <75.00%> (ø)
frontend/src/js/controllers/ChallengeInviteCtrl.js 100.00% <100.00%> (ø)
frontend/src/js/controllers/SubmissionFilesCtrl.js 95.45% <100.00%> (ø)
... and 30 more
Impacted Files Coverage Δ
frontend/src/js/controllers/authCtrl.js 53.91% <6.38%> (-12.95%) ⬇️
frontend/src/js/controllers/profileCtrl.js 79.76% <20.00%> (-13.10%) ⬇️
frontend/src/js/controllers/permissionCtrl.js 36.36% <22.22%> (-63.64%) ⬇️
frontend/src/js/controllers/challengeCtrl.js 63.41% <30.64%> (-10.29%) ⬇️
frontend/src/js/controllers/updateProfileCtrl.js 82.55% <44.44%> (-10.30%) ⬇️
frontend/src/js/controllers/challengeListCtrl.js 95.74% <50.00%> (+1.06%) ⬆️
...ntend/src/js/controllers/challengeHostTeamsCtrl.js 70.50% <66.66%> (-1.18%) ⬇️
frontend/src/js/controllers/teamsCtrl.js 71.17% <75.00%> (ø)
frontend/src/js/controllers/ChallengeInviteCtrl.js 100.00% <100.00%> (ø)
frontend/src/js/controllers/SubmissionFilesCtrl.js 95.45% <100.00%> (ø)
... and 30 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c9b05b5...1709ba0. Read the comment docs.

Copy link
Member

@Kajol-Kumari Kajol-Kumari left a comment

Choose a reason for hiding this comment

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

@gautamjajoo UI looks good to me but I don't think we should put a dummy testimonial to the staging server.

\cc: @Ram81

frontend_v2/src/app/components/home/home.component.ts Outdated Show resolved Hide resolved
frontend_v2/src/app/components/home/home.component.ts Outdated Show resolved Hide resolved
@@ -429,8 +429,30 @@ <h3 class="fw-light center">Sponsors</h3>
</div>
</div>
</section>
<!-- Subscribe to newsletter -->
<section class="ev-container text-med-black ev-super-light-bg">
Copy link
Member

Choose a reason for hiding this comment

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

Css seems a bit distorted for mobile devices. Can you please try making padding:0px for .grad-container just for the testimonial container.

Copy link
Member Author

Choose a reason for hiding this comment

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

The left and right buttons? Because I had seen the mobile view as well. I will check it once again

Copy link
Member Author

Choose a reason for hiding this comment

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

@Kajol-Kumari Currently, the mobile view is:
Screenshot from 2021-07-14 00-36-00

Copy link
Member

Choose a reason for hiding this comment

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

IMO we can use the left and right padding spaces just for mobile devices. It would look much cleaner that way.

Copy link
Member Author

@gautamjajoo gautamjajoo Jul 14, 2021

Choose a reason for hiding this comment

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

@Kajol-Kumari Got it. Done the required changes.
Screenshot from 2021-07-14 18-09-53

@@ -429,8 +429,30 @@ <h3 class="fw-light center">Sponsors</h3>
</div>
</div>
</section>
<!-- Subscribe to newsletter -->
<section class="ev-container text-med-black ev-super-light-bg">
Copy link
Member

@Kajol-Kumari Kajol-Kumari Jul 14, 2021

Choose a reason for hiding this comment

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

Hey @gautamjajoo Instead of renaming grad-container to grad-conatiner-testimonial and repeating the styles of .grad-container at here You can instead put an extra wrapper class eg testimonial-wrapper here like <section class="ev-container testimonial-wrapper text-med-black ev-super-light-bg"> and just just do

.testimonial-wrapper {
    .grad-container {
      padding:0px;
    }
  }

under the media query for mobile devices

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

Copy link
Member

@Kajol-Kumari Kajol-Kumari left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Ram81
Copy link
Member

Ram81 commented Jul 22, 2021

@RishabhJain2018 do we also want to show the challenge host team logo in testimonials? All testimonials are from host teams right?

@RishabhJain2018
Copy link
Member

@RishabhJain2018 do we also want to show the challenge host team logo in testimonials? All testimonials are from host teams right?

Yes, that would be great!
cc: @gautamjajoo @Kajol-Kumari

@gautamjajoo
Copy link
Member Author

@RishabhJain2018 @Ram81 Should the logos be on the top of the card?

@Kajol-Kumari
Copy link
Member

@RishabhJain2018 @Ram81 Should the logos be on the top of the card?

We can keep it just before the name. Instead of - name we can make it like <logo> name

ref - here

\cc @Ram81 @RishabhJain2018

@Ram81
Copy link
Member

Ram81 commented Jul 24, 2021

Yes, I like the above design. We should make our testimonials card similar.

@gautamjajoo
Copy link
Member Author

@Ram81 @Kajol-Kumari I have attached images for both the ways, is the first one similar to what we expect in above design?
Screenshot from 2021-08-03 19-39-58

Screenshot from 2021-08-03 19-10-45

@Kajol-Kumari
Copy link
Member

@Ram81 @Kajol-Kumari I have attached images for both the ways, is the first one similar to what we expect in above design?
Screenshot from 2021-08-03 19-39-58

Hey @gautamjajoo Can we please try to keep the logo in circular format and that also in small circular of maybe 400*400 px? As currently, logo is acquiring a larger section which will not look good for other logos having dark backgrounds. Please see the above reference image

@gautamjajoo
Copy link
Member Author

Updated the PR. Here is the screenshot:
Screenshot from 2021-08-07 20-08-02

@Ram81
Copy link
Member

Ram81 commented Aug 8, 2021

@gautamjajoo can we show the logo and name on the left column and testimonial in the right column. Both should be in same row on the testimonial card.

@gautamjajoo
Copy link
Member Author

gautamjajoo commented Aug 8, 2021

@Ram81 Like this? Actually the name would move either below the pic or below the text.

Screenshot from 2021-08-08 20-10-32

@Ram81
Copy link
Member

Ram81 commented Aug 15, 2021

@gautamjajoo yes, this looks better

Copy link
Member

@Ram81 Ram81 left a comment

Choose a reason for hiding this comment

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

@gautamjajoo can you resolve merge conflicts

@gautamjajoo
Copy link
Member Author

@Ram81 @Kajol-Kumari
Screenshot from 2021-08-16 17-21-22

@gautamjajoo gautamjajoo requested a review from Ram81 August 16, 2021 14:24
Copy link
Member

@Kajol-Kumari Kajol-Kumari left a comment

Choose a reason for hiding this comment

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

LGMT 👍

Copy link
Member

@Ram81 Ram81 left a comment

Choose a reason for hiding this comment

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

@gautamjajoo minor comments. Rest of the PR LGTM 👍

@Ram81
Copy link
Member

Ram81 commented Aug 26, 2021

@RishabhJain2018 can you take a look

@RishabhJain2018
Copy link
Member

yeah, the screenshot looks good to me!

@gautamjajoo
Copy link
Member Author

@Ram81 Updated the PR!

@RishabhJain2018 RishabhJain2018 merged commit a973f25 into Cloud-CV:master Aug 26, 2021
vaheta pushed a commit to vahetag/EvalAI that referenced this pull request Dec 10, 2024
* add testimonial section on homepage

* removed unnecessary animations

* remove padding for mobile view

* add wrapper

* add testimonial org and logo

* fix the testimonial card

* fix indentation

Co-authored-by: Rishabh Jain <[email protected]>
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.

5 participants