fix: modify the page app to include more UI/UX and also styling

This commit is contained in:
Leon Xu committed 2023-12-30 13:17:04 -08:00
1 parent a0023b7785
commit 9dfb0ea462
1 file changed
+41 -5
+41 -5
View File
@@ -1,9 +1,45 @@
import React from 'react'; import Image from "next/image";
import SearchBar from "@/components/SearchBar";
import HeroCarousel from "@/components/HeroCarousel";
const Home = () => { const Home = () => {
return ( return (
<div>Home</div> <>
) <section className="px-6 md: px-20 py-24">
} <div className="flex max-xl: flex-col gap-16">
<div className="flex flex-col justify-center">
<p className="small-text">
Smart Shopping Starts Here:
<Image
src="/assets/icons/arrow-right.svg"
alt="arrow-right"
width={16}
height={16}
/>
</p>
<h1 className="head-text">
Unleash the Power of
<span className="text-primary"> PriceWise</span>
</h1>
<p className="mt-6">
Powerful, self-serve product and growth analytics to help you
convert, engage, and retain more.
</p>
<SearchBar />
</div>
export default Home <HeroCarousel />
</div>
</section>
<section className="trending-section">
<h2 className="section-text">Trending</h2>
<div className="flex flex-wrap gap-x-8 gap-y-16">{/* Products */}</div>
</section>
</>
);
};
export default Home;