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 testimonials section on landing page #295

Closed
wants to merge 4 commits into from

Conversation

sweep-ai[bot]
Copy link

@sweep-ai sweep-ai bot commented Sep 6, 2023

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

  • Created a new TestimonialCard component in 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 in src/components/TestimonialCard.module.css.
  • Created a JSON file src/data/testimonials.json to store the data for the testimonials.
  • Modified 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:

git checkout sweep/add-testimonials-section

🎉 Latest improvements to Sweep:

  • Use Sweep Map to break large issues into smaller sub-issues, perfect for large tasks like "Sweep (map): migrate from React class components to function components"
  • Getting Sweep to format before committing! Check out Sweep Sandbox Configs to set it up.
  • We released a demo of our chunker, where you can find the corresponding blog and code.

💡 To get Sweep to edit this pull request, you can:

  • Leave a comment below to get Sweep to edit the entire PR
  • Leave a comment in the code will only modify the file
  • Edit the original issue to get Sweep to recreate the PR from scratch

@sweep-ai sweep-ai bot added the sweep Assigns Sweep to an issue or pull request. label Sep 6, 2023
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 6, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: db0393c
Status: ✅  Deploy successful!
Preview URL: https://f8bb5d51.windmilldocs.pages.dev
Branch Preview URL: https://sweep-add-testimonials-secti.windmilldocs.pages.dev

View logs

@sweep-ai sweep-ai bot closed this Sep 6, 2023
@sweep-ai sweep-ai bot deleted the sweep/add-testimonials-section branch September 6, 2023 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sweep Assigns Sweep to an issue or pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sweep: Add a testimonials section on the landing after the EntrepriseFeatures
0 participants