refactor(responsive): Adjust breakpoint from md to lg for better layout
The previous `md` breakpoint (768px) caused the desktop layout to activate too early, resulting in a cramped appearance on tablet-sized screens. This commit updates the responsive design by changing the primary breakpoint from `md` to `lg` (1024px) across the home page, contact page, and main layouts. This change ensures a more appropriate and visually balanced layout is maintained on medium-sized devices, improving the overall user experience.
This commit is contained in:
+16
-16
@@ -45,8 +45,8 @@ export default function Home() {
|
||||
];
|
||||
return (
|
||||
<>
|
||||
<section className="flex flex-col justify-center md:justify-between md:flex-row items-center">
|
||||
<section className="text-left md:w-1/2 flex flex-col gap-6 bg-gradient-to-b rounded-[56px] relative p-6 md:p-14 z-20 md:ml-28">
|
||||
<section className="flex flex-col justify-center lg:justify-between lg:flex-row items-center">
|
||||
<section className="text-left lg:w-1/2 flex flex-col gap-6 bg-gradient-to-b rounded-[56px] relative p-6 lg:p-14 z-20 lg:ml-28">
|
||||
<hgroup>
|
||||
<h1 className="capitalize font-extrabold text-5xl mb-6">
|
||||
democratizing the world of tenders
|
||||
@@ -61,12 +61,12 @@ export default function Home() {
|
||||
<div className="flex justify-start text-white">
|
||||
<button
|
||||
type="button"
|
||||
className="w-2/3 md:w-fit capitalize bg-(--primary) rounded-4xl py-4 px-6">
|
||||
className="w-2/3 lg:w-fit capitalize bg-(--primary) rounded-4xl py-4 px-6">
|
||||
Get early access
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
<div className="m-auto w-xs md:m-0 md:w-auto -z-20 relative flex justify-center h-[650px] md:h-[750px] md:mr-28">
|
||||
<div className="m-auto w-xs lg:m-0 lg:w-auto -z-20 relative flex justify-center h-[650px] lg:h-[750px] lg:mr-28">
|
||||
<Image
|
||||
src={"/dynamic-island.svg"}
|
||||
alt="dynamic island"
|
||||
@@ -87,7 +87,7 @@ export default function Home() {
|
||||
|
||||
<section className="mt-10 text-center">
|
||||
<hgroup>
|
||||
<h2 className="capitalize font-bold text-2xl md:text-4xl">
|
||||
<h2 className="capitalize font-bold text-2xl lg:text-4xl">
|
||||
your in-house tender department, powered by
|
||||
<span className="uppercase">ai</span>
|
||||
</h2>
|
||||
@@ -97,7 +97,7 @@ export default function Home() {
|
||||
</p>
|
||||
</hgroup>
|
||||
</section>
|
||||
<section className="flex flex-col gap-4 md:flex-row">
|
||||
<section className="flex flex-col gap-4 lg:flex-row">
|
||||
{centerFrames.map((frame, index) => (
|
||||
<article
|
||||
key={frame.description}
|
||||
@@ -113,7 +113,7 @@ export default function Home() {
|
||||
</article>
|
||||
))}
|
||||
</section>
|
||||
<section className="mt-36 bg-[#F7FAFF] px-4 py-6 rounded-4xl flex flex-col gap-9 md:p-16">
|
||||
<section className="mt-36 bg-[#F7FAFF] px-4 py-6 rounded-4xl flex flex-col gap-9 lg:p-16">
|
||||
<div className="flex flex-col gap-4">
|
||||
<h2 className=" font-bold text-4xl">
|
||||
Tired of Complex Tenders & Lost Opportunities?
|
||||
@@ -123,8 +123,8 @@ export default function Home() {
|
||||
an uphill battle.
|
||||
</p>
|
||||
</div>
|
||||
<ul className="flex flex-col gap-4 md:flex-row md:justify-between">
|
||||
<li className="flex flex-col gap-4 md:w-80">
|
||||
<ul className="flex flex-col gap-4 lg:flex-row lg:justify-between">
|
||||
<li className="flex flex-col gap-4 lg:w-80">
|
||||
<div className="p-4">
|
||||
<Image
|
||||
src={"/clock.svg"}
|
||||
@@ -139,7 +139,7 @@ export default function Home() {
|
||||
monitor the market and prepare high-quality bids.
|
||||
</p>
|
||||
</li>
|
||||
<li className="flex flex-col gap-4 md:w-80">
|
||||
<li className="flex flex-col gap-4 lg:w-80">
|
||||
<div className="p-4">
|
||||
<Image
|
||||
src={"/clipboard.svg"}
|
||||
@@ -154,7 +154,7 @@ export default function Home() {
|
||||
corporations with dedicated tender departments.
|
||||
</p>
|
||||
</li>
|
||||
<li className="flex flex-col gap-4 md:w-80">
|
||||
<li className="flex flex-col gap-4 lg:w-80">
|
||||
<div className="p-4">
|
||||
<Image
|
||||
src={"/arrow-up.svg"}
|
||||
@@ -171,12 +171,12 @@ export default function Home() {
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section className="flex flex-col mt-36 gap-10 px-2 md:w-3/4 m-auto text-center">
|
||||
<h2 className="font-bold text-2xl md:text-4xl">
|
||||
<section className="flex flex-col mt-36 gap-10 px-2 lg:w-3/4 m-auto text-center">
|
||||
<h2 className="font-bold text-2xl lg:text-4xl">
|
||||
The Opplens Advantage
|
||||
</h2>
|
||||
<div className="flex flex-col gap-10 md:flex-row">
|
||||
<article className="flex flex-col gap-7 bg-[#FFF7EB] p-10 rounded-3xl md:pb-20">
|
||||
<div className="flex flex-col gap-10 lg:flex-row">
|
||||
<article className="flex flex-col gap-7 bg-[#FFF7EB] p-10 rounded-3xl lg:pb-20">
|
||||
<Image
|
||||
src={"people.svg"}
|
||||
width={48}
|
||||
@@ -192,7 +192,7 @@ export default function Home() {
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
<article className="flex flex-col gap-7 bg-[#E5EFFF] p-10 rounded-3xl md:pb-20">
|
||||
<article className="flex flex-col gap-7 bg-[#E5EFFF] p-10 rounded-3xl lg:pb-20">
|
||||
<Image
|
||||
src={"shield-tick.svg"}
|
||||
width={48}
|
||||
|
||||
Reference in New Issue
Block a user