Skip to content

Commit

Permalink
feat:added testimonials
Browse files Browse the repository at this point in the history
Signed-off-by: Hermione Dadheech <[email protected]>
  • Loading branch information
Hermione2408 committed Mar 28, 2024
1 parent 2dabe72 commit 6faafc4
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 23 deletions.
22 changes: 1 addition & 21 deletions app/(default)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,8 @@ import ProblemBlocks from '@/components/problem-blocks'
import Newsletter from '@/components/newsletter'
import Language from "@/components/language";
import Community from "@/components/community";

import MarutiLogo from "@/public/images/users/Logo_for_Maruti_Suzuki.svg";
import NutanixLogo from "@/public/images/users/Nutanix_Logo.svg";
import { Testimonial } from "@/components/testimonial";

const testimonialData = [
{
image: MarutiLogo,
content:
"Our recent collaboration with Keploy was truly remarkable. Keploy team provided exceptional support and remained highly proactive throughout the entire experience. Keploy platform has added business value to Maruti Suzuki.",
author: "Executive Member",
company: "@Maruti Suzuki",
},
{
image: NutanixLogo,
content:
"Makes it easy to unit test my complex systems with realistic test data.",
author: "Staff Engineer",
company: "@Nutanix",
},
// Add more testimonials as needed
];
import { testimonialData } from "@/components/utils/testimonial";

export default function Home() {
return (
Expand Down
15 changes: 15 additions & 0 deletions app/(default)/stub-generation/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,29 @@ import ProblemBlocks from '@/components/stub-generation/block'
import Banner from '@/components/stub-generation/banner'
import Language from "@/components/language";
import SocialLinks from "@/components/stub-generation/community"
import { Testimonial } from "@/components/testimonial";
import { testimonialData } from "@/components/utils/testimonial";

export default function Home() {
return (
<>
<Hero />
<ProblemBlocks />
<Features />
<Testimonial
content={testimonialData[1].content}
author={testimonialData[1].author}
company={testimonialData[1].company}
image={testimonialData[1].image}
/>
<SocialLinks/>
<Language />
<Testimonial
content={testimonialData[0].content}
author={testimonialData[0].author}
company={testimonialData[0].company}
image={testimonialData[0].image}
/>
<Banner />
<Footer />
</>
Expand Down
2 changes: 1 addition & 1 deletion components/stub-generation/banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function Banner() {
</div>
</div>

<div className="absolute right-0 bottom-0 ">
<div className="absolute right-0 bottom-0 hidden md:block ">
<Image src={BannerBunny} alt="Image" />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/stub-generation/feature.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { featuresData } from "../utils/stub-generation";

export default function Features() {
return (
<section className="bg-neutral-100 text-gray-900 py-20 px-4 sm:px-6">
<section className="bg-neutral-100 text-gray-900 pt-20 px-4 sm:px-6">
<div className="container mx-auto px-4">

{/* Section Heading */}
Expand Down
20 changes: 20 additions & 0 deletions components/utils/testimonial.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import MarutiLogo from "@/public/images/users/Logo_for_Maruti_Suzuki.svg";
import NutanixLogo from "@/public/images/users/Nutanix_Logo.svg";

export const testimonialData = [
{
image: MarutiLogo,
content:
"Our recent collaboration with Keploy was truly remarkable. Keploy team provided exceptional support and remained highly proactive throughout the entire experience. Keploy platform has added business value to Maruti Suzuki.",
author: "Executive Member",
company: "@Maruti Suzuki",
},
{
image: NutanixLogo,
content:
"Makes it easy to unit test my complex systems with realistic test data.",
author: "Staff Engineer",
company: "@Nutanix",
},
// Add more testimonials as needed
];
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6faafc4

Please sign in to comment.