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

[pull] main from baptisteArno:main #144

Merged
merged 1 commit into from
Feb 21, 2025
Merged
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
22 changes: 11 additions & 11 deletions apps/landing-page/app/features/homepage/use-cases/UseCases.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Button } from "@/components/Button";
import { Progress } from "@/components/Progress";
import { TypebotLogoFull } from "@/components/TypebotLogo";
import { ButtonLink } from "@/components/link";
import { enterpriseLeadTypebotUrl, registerUrl } from "@/constants";
import { cn } from "@/lib/utils";
Expand Down Expand Up @@ -106,13 +106,14 @@ export const UseCases = ({ className }: { className?: string }) => {

return (
<div
className={cn(
"flex flex-col gap-16 md:gap-20 px-4 md:pt-10 overflow-hidden",
className,
)}
className={cn("flex flex-col gap-16 md:gap-20 px-4 md:pt-10", className)}
ref={containerRef}
>
<div className="flex flex-col items-center gap-8 md:12">
<div className="flex flex-col items-center gap-20">
<TypebotLogoFull width="120px" />
<Cta />
</div>
<div className="flex flex-col items-center gap-4 md:12">
<div className="flex items-end gap-4 md:gap-12">
{useCases.map((useCase, index) => (
<UsecaseTitle
Expand Down Expand Up @@ -140,7 +141,7 @@ export const UseCases = ({ className }: { className?: string }) => {
<img
src={useCase.images.builder.src}
alt={useCase.images.builder.alt}
className="w-auto md:max-h-[60vh]"
className="w-auto md:max-h-[85vh]"
width="3456px"
height="2158px"
/>
Expand All @@ -149,7 +150,7 @@ export const UseCases = ({ className }: { className?: string }) => {
<img
src={useCase.images.bot.src}
alt={useCase.images.bot.alt}
className="max-w-20 md:max-w-64 p-[2px] md:p-2"
className="w-auto max-h-none max-w-20 md:max-w-64 2xl:max-w-none 2xl:max-h-[65vh] p-[2px] md:p-2"
width="1179px"
height="2556px"
/>
Expand All @@ -158,7 +159,6 @@ export const UseCases = ({ className }: { className?: string }) => {
))}
</div>
</div>
<Cta />
</div>
);
};
Expand All @@ -177,7 +177,7 @@ const UsecaseTitle = ({
onClick={onClick}
>
<h3
className="text-lg md:text-2xl font-medium transition-opacity duration-200 ease-out text-center"
className="text-lg font-medium transition-opacity duration-200 ease-out text-center"
style={{ opacity: progressValue ? 1 : 0.5 }}
>
{children}
Expand All @@ -188,7 +188,7 @@ const UsecaseTitle = ({

export const Cta = () => (
<div className="flex flex-col gap-6 items-center">
<p className="text-gray-11 text-balance max-w-4xl md:text-center">
<p className="text-gray-11 text-balance max-w-4xl md:text-center text-lg">
Picture{" "}
<span className="font-medium">
a bot that goes beyond answering questions
Expand Down
2 changes: 1 addition & 1 deletion apps/landing-page/app/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ function Home() {
<div className="md:h-[200vh] motion-safe:md-scroll-use-cases-fade-in md:motion-safe:opacity-0">
<UseCases className="md:sticky top-0" />
</div>
<div id="magic-animation-separator" className="invisible -mt-32" />
<Companies />
<div id="magic-animation-separator" className="invisible -mt-32" />
<MainFeatures />
</Section>
<Section className="dark">
Expand Down
Loading