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
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:min-h-[69dvh] relative overflow-hidden z-10 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 in user-facing text.

Line 91 contains "suitabe" which should be "suitable".

🔎 Proposed fix
-          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.
📝 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 typo in the user-facing string: "suitabe" should be changed to
"suitable"; update the text to read "Find suitable OSS repos in seconds. learn
the basics, get the mentorship for OSS opportunities, GSoC, etc, and start
making progress from today itself." and ensure capitalization/spacing remains
consistent with surrounding sentences.

</motion.p>
</motion.div>
<motion.div
Expand Down
66 changes: 38 additions & 28 deletions apps/web/src/components/ui/custom-button.tsx
Original file line number Diff line number Diff line change
@@ -1,31 +1,41 @@
"use client"
"use client";

import { cn } from "@/lib/utils"
import { motion } from "framer-motion"
import type React from "react"
import { cn } from "@/lib/utils";
import { motion } from "framer-motion";
import type React from "react";

const PrimaryButton = ({ children, animate = true, classname, onClick }: { children: React.ReactNode, animate?: boolean, classname?: string, onClick?: () => void }) => {
const transition = {
duration: 0.1,
ease: "easeInOut",
}
return (
<motion.button
onClick={onClick}
className={cn(
"flex gap-2 items-center justify-center px-5 py-3 rounded-[16px] relative",
"border-x border-t-2 border-brand-purple",
"bg-gradient-to-b from-[#5728f4] to-[#5100FF]",
"[box-shadow:0px_-2px_0px_0px_#2c04b1_inset]",
"hover:opacity-90 transition-opacity duration-100",
"text-white font-medium",
classname
)}
transition={animate ? transition : undefined}
>
{children}
</motion.button>
)
}
const PrimaryButton = ({
children,
animate = true,
classname,
onClick,
}: {
children: React.ReactNode;
animate?: boolean;
classname?: string;
onClick?: () => void;
}) => {
const transition = {
duration: 0.1,
ease: "easeInOut",
};
return (
<motion.button
onClick={onClick}
className={cn(
"flex gap-2 items-center justify-center px-5 py-3 rounded-[16px] relative",
"border-x border-t-2 border-brand-purple",
"bg-gradient-to-b from-[#5728f4] to-[#5100FF]",
"[box-shadow:0px_-2px_0px_0px_#2c04b1_inset]",
"hover:opacity-90 transition-opacity duration-100",
"text-white font-medium",
classname
)}
transition={animate ? transition : undefined}
>
{children}
</motion.button>
);
};

export default PrimaryButton
export default PrimaryButton;