Skip to content

Commit ca52e65

Browse files
authored
Merge pull request #108 from autonomous-testing/fix/adjust-vibe-hero-responsiveness-issue-on-horizontal-mobile-view
fix: adjust height calculation for tablet breakpoint
2 parents e366406 + d683ec7 commit ca52e65

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/components/home-page/HomeHeroVibe.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useRef, useState, useEffect } from "react";
2-
import { SendHorizontal } from "lucide-react";
2+
import { Send } from "lucide-react";
33

44
import { Button } from "@/components/ui/button";
55

@@ -73,7 +73,7 @@ const HomeHeroVibe = () => {
7373
setAppUrl(e.target.value);
7474
};
7575
return (
76-
<div className="my-10 md:h-[calc(100vh-180px)] flex flex-col justify-center items-center gap-5 md:gap-10 mx-5">
76+
<div className="mt-5 lg:mt-10 mx-5 lg:h-[calc(100vh-120px)] flex flex-col justify-center items-center gap-5 lg:gap-10">
7777
<section>
7878
<h1 className="font-bold text-center text-4xl sm:text-5xl md:text-6xl text-pretty">
7979
Test better. Ship faster.
@@ -82,7 +82,8 @@ const HomeHeroVibe = () => {
8282
Map your app. Create tests. Automate instantly.
8383
</h6>
8484
</section>
85-
<div className="relative p-0.5 rounded-md w-full max-w-3xl bg-gradient-to-br from-blue-500 to-secondary-wopee group-hover:from-purple-600 group-hover:to-blue-500">
85+
86+
<div className="p-0.5 rounded-md w-full max-w-3xl bg-gradient-to-br from-blue-500 to-secondary-wopee">
8687
<div className="bg-white dark:bg-gray-900 rounded-md p-3 flex flex-col gap-3">
8788
<div className="opacity-65 flex flex-col md:flex-row items-center text-xs">
8889
Test environment URL:{" "}
@@ -114,11 +115,11 @@ const HomeHeroVibe = () => {
114115
variant="wopeeFlat"
115116
disabled={testingInstructions.length === 0}
116117
onClick={() => setLoginDialogIsOpen(true)}
117-
className="flex items-center gap-2 px-3 py-2 font-bold rounded-md shadow-md transition-colors"
118+
className="flex items-center gap-1 px-3 font-bold rounded-md shadow-md transition-colors"
118119
>
119-
<SendHorizontal className="-rotate-45" />
120+
<Send />
120121
<span
121-
className="bg-gradient-to-r to-blue-500 from-white
122+
className="bg-gradient-to-r from-white to-blue-300
122123
dark:from-black dark:to-blue-500
123124
bg-clip-text text-transparent font-bold
124125
hidden lg:block"

0 commit comments

Comments
 (0)