Skip to content

Hero code not filling full screen #577

@conceptofmind

Description

@conceptofmind

Describe the bug
I am currently testing the Hero component from pro and it does not fit the entire screen.

To Reproduce
I am using the first component from here: https://pro.magicui.design/docs/sections/hero

Expected behavior
It should stretch the entire screen or be centered.

Screenshots
Image

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser: Chrome

Additional context
I am importing the component into page.tsx like:

import { Footer } from "@/components/sections/footer";
import { Hero } from "@/components/sections/hero";

export default function Home() {
  return (
    <main>
      <Hero />
      <Footer />
    </main>
  );
}

I am not posting the full component code since it is in pro.

Footer component aligns center perfectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions