Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #318 from ertush/feat-landingpage-ui
Browse files Browse the repository at this point in the history
landing-ui
ertush authored Feb 22, 2024
2 parents 7a37957 + edaba07 commit bd0c56c
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/MainLayout.js
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@ export default function MainLayout({ children, isLoading, searchTerm, isFullWidt
{/* memoize the navbar */}
<NavBar loggedIn={isLoggedIn} user={user} />

<div className={"h-full w-full flex flex-col items-center mt-11 " + (isFullWidth ? "" : "max-w-screen-2xl") + (classes && classes.length > 0 ? classes.join(" ") : "")}>
<div className={"h-full w-full flex flex-col items-center mt-16 " + (isFullWidth ? "" : "max-w-screen-2xl") + (classes && classes.length > 0 ? classes.join(" ") : "")}>
{children}
</div>

4 changes: 2 additions & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
@@ -127,12 +127,12 @@ function Home(props) {
<link rel="icon" href="/favicon.ico" />
</Head>

<MainLayout isLoading={false} searchTerm={''}>
<MainLayout isLoading={false} searchTerm={''} isFullWidth={true}>
<div className="w-full flex flex-col px-1 md:px-2">

{/* Hero Section */}
<div className='w-full mb-10 '>
<div className='w-full flex flex-col items-center justify-center gap-y-2 md:gap-y-4' style={{
<div className='w-full flex flex-col items-center justify-center pb-2 gap-y-2 md:gap-y-4' style={{
// height: '85vh',
backgroundColor: "#1651b6",
backgroundSize: "cover",

0 comments on commit bd0c56c

Please sign in to comment.