Odama is a minimal & modern Hero Template perfectly suited for studio, designers, or agencies.
now accepting new projects
now accepting new projects
now accepting new projects
now accepting new projects
now accepting new projects
now accepting new projects
now accepting new projects
now accepting new projects
now accepting new projects
now accepting new projects
now accepting new projects
now accepting new projects
FOR GOOD DESIGN
Lets make this digital age a little more human.
WORK
Overview
The hero section employs a minimalist design approach, emphasizing simplicity and elegance to immediately captivate the viewer’s attention.
Key Components
Supporting Components
Why using dynamic
I encountered the error ReferenceError: document is not defined during the prerendering phase of my Next.js app deployment on Vercel. This issue occurred because the @lottiefiles/react-lottie-player library directly interacts with the DOM, which is unavailable during server-side rendering (SSR). Since Next.js attempts to prerender all pages on the server by default, any DOM-dependent code will fail unless explicitly marked to only render on the client side.
To solve this, I wrapped the Player component using Next.js’s dynamic function with the ssr: false option. This ensures that the component is only rendered in the browser, avoiding SSR-related errors. If you’re copying this code and do not need server-side rendering (e.g., if you’re building a client-only app), you can remove the dynamic wrapper and directly import the Player component as usual. However, keep in mind that without dynamic, you may encounter issues when deploying to SSR environments.
Switch
Picked up this component from shadcn . To add it, simply run:
Marquee
Snagged this code from MagicUI—trust me, you need to check out their site, it's absolutely fantastic!
use-theme
If you're using react.js, feel free to use or tweak this code as needed
Dont forget the context!!
Now the hero section ready to use
Stay tune for more🚀