Skip to content

Mobile Hero Section #126

@oytuncoban

Description

@oytuncoban

Currently, mobile hero section is managed with hard-coded viewport height. We should use flex and flex-grow. However, to push the footer on the bottom, we use flex-grow on main tag. This makes main's length too long. If we use the flex-grow on hero section, it has no effects.

Expected behavior: Hero section grows to remaining viewport height.

Render tree:

<Layout>
    <Header>
    <main>
       <page>
           <Hero></Hero>
           ...
        </page>
     <Footer>
     </Footer>
     </main>
     </Header>
</Layout>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions