Add testimonials section on landing page #295
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a testimonials section on the landing page after the EnterpriseFeatures section. The testimonials section consists of cards with quotes from different users, each with a backlink to the source of the testimonial. The cards have a hover effect that darkens the card and changes the color of the author's name.
Summary of Changes
src/components/TestimonialCard.tsx
that accepts props for the testimonial text and the source URL. The component renders the testimonial text inside a card element and a link to the source. Added CSS styles for the card and the hover effects insrc/components/TestimonialCard.module.css
.src/data/testimonials.json
to store the data for the testimonials.src/landing/LandingSection.tsx
to import the TestimonialCard component and the testimonials data. Added a new section after the EnterpriseFeatures section that maps over the testimonials data and renders a TestimonialCard component for each testimonial. Passed the testimonial text and source URL as props to the TestimonialCard component.Fixes #293.
To checkout this PR branch, run the following command in your terminal:
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: