Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 32 additions & 35 deletions apps/web/src/app/(main)/(landing)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,38 +1,35 @@
'use client'
import Bento from '@/components/landing-sections/Bento'
import Brands from '@/components/landing-sections/Brands'
import CTA from '@/components/landing-sections/CTA'
import Footer from '@/components/landing-sections/footer'
import Hero from '@/components/landing-sections/Hero'
import HowItWorks from '@/components/landing-sections/how-it-works'
import Navbar from '@/components/landing-sections/navbar'
import Testimonials from '@/components/landing-sections/testimonials'
import Video from '@/components/landing-sections/video'
import React from 'react'
import { FaqSection } from '@/components/faq/FaqSection'

"use client";
import Bento from "@/components/landing-sections/Bento";
import Brands from "@/components/landing-sections/Brands";
import CTA from "@/components/landing-sections/CTA";
import Footer from "@/components/landing-sections/footer";
import Hero from "@/components/landing-sections/Hero";
import HowItWorks from "@/components/landing-sections/how-it-works";
import Navbar from "@/components/landing-sections/navbar";
import Testimonials from "@/components/landing-sections/testimonials";
import Video from "@/components/landing-sections/video";
import React from "react";
import { FaqSection } from "@/components/faq/FaqSection";

const Landing = () => {
return (
<main className='min-h-screen w-full bg-[#101010] text-white font-sans overflow-hidden relative'>
<Navbar />
<div className="min-h-screen w-full max-w-[2000px] mx-auto border-x border-[#252525] overflow-hidden">
<Hero />
<Bento />
<Video />
<HowItWorks />
<FaqSection />
<Brands />
<Testimonials />
</div>
<div className="max-w-[2000px] w-full mx-auto">
<CTA />
<Footer />
</div>
</main >
)
}

export default Landing

return (
<main className="min-h-screen w-full bg-[#101010] text-white font-sans overflow-hidden relative">
<Navbar />
<div className="min-h-screen w-full max-w-[2000px] mx-auto border-x border-[#252525] overflow-hidden">
<Hero />
<Bento />
<Video />
<HowItWorks />
<FaqSection />
<Brands />
<Testimonials />
</div>
<div className="max-w-[2000px] w-full mx-auto">
<CTA />
<Footer />
</div>
</main>
);
};

export default Landing;
7 changes: 4 additions & 3 deletions apps/web/src/components/landing-sections/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Hero = () => {
trackButtonClick("Get Started", "hero");
};
return (
<div className="w-full min-h-[50dvh] lg:h-[69dvh] relative overflow-hidden z-10 p-4 lg:p-[60px] flex flex-col items-center justify-center gap-6 ">
<div className="w-full min-h-[50dvh] lg:h-[69dvh] relative z-50 p-4 lg:p-[60px] flex flex-col items-center justify-center gap-6">
<Image
src="/assets/bgmain.svg"
alt="background"
Expand Down Expand Up @@ -88,8 +88,9 @@ const Hero = () => {
}}
className="w-full lg:text-2xl tracking-tight font-light sm:max-w-lg mx-auto lg:max-w-4xl lg:text-balance text-text-secondary"
>
Find suitabe OSS repos in seconds. learn the basics,
get the mentorship for OSS opportunities, GSoC, etc, and start making progress from today itself.
Find suitabe OSS repos in seconds. learn the basics, get the
mentorship for OSS opportunities, GSoC, etc, and start making progress
from today itself.
Comment on lines +91 to +93
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Fix typo: "suitabe" should be "suitable".

Line 91 contains a spelling error in user-facing text. "Find suitabe OSS repos" should be "Find suitable OSS repos".

🔎 Proposed fix for the typo
-          Find suitabe OSS repos in seconds. learn the basics, get the
+          Find suitable OSS repos in seconds. Learn the basics, get the
           mentorship for OSS opportunities, GSoC, etc, and start making progress
           from today itself.

Note: Also capitalized "learn" to "Learn" for proper sentence structure.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Find suitabe OSS repos in seconds. learn the basics, get the
mentorship for OSS opportunities, GSoC, etc, and start making progress
from today itself.
Find suitable OSS repos in seconds. Learn the basics, get the
mentorship for OSS opportunities, GSoC, etc, and start making progress
from today itself.
🤖 Prompt for AI Agents
In apps/web/src/components/landing-sections/Hero.tsx around lines 91 to 93,
there is a spelling and sentence-case issue in the user-visible copy: change
"Find suitabe OSS repos in seconds. learn the basics, get the mentorship for OSS
opportunities, GSoC, etc, and start making progress from today itself." to use
the correct spelling "suitable" and capitalize the sentence start to "Learn" so
it reads "Find suitable OSS repos in seconds. Learn the basics, get the
mentorship for OSS opportunities, GSoC, etc., and start making progress from
today itself."

</motion.p>
</motion.div>
<motion.div
Expand Down