forked from emre/www_projectmycelium_com
feat: redesign home page with new hero and layout
- Replaced abstract aurora background with hero section featuring image background and call-to-action - Reorganized page sections with new components (HomeHostingDark, HomeBenefits, StackSectionLight) - Changed layout background from #FAFAFA to white and removed conditional aurora rendering
This commit is contained in:
@@ -1,15 +1,11 @@
|
||||
import { Outlet, useLocation } from 'react-router-dom'
|
||||
import { Outlet } from 'react-router-dom'
|
||||
import { Footer } from './Footer'
|
||||
import { Header } from './Header'
|
||||
import { HomeAurora } from '../pages/home/HomeAurora'
|
||||
|
||||
export function Layout() {
|
||||
const location = useLocation()
|
||||
const isHomePage = location.pathname === '/'
|
||||
|
||||
return (
|
||||
<div className="bg-[#FAFAFA] antialiased relative" style={{ fontFamily: 'var(--font-inter)' }}>
|
||||
{isHomePage && <HomeAurora />}
|
||||
<div className="bg-[white] antialiased relative" style={{ fontFamily: 'var(--font-inter)' }}>
|
||||
<div className="relative z-10">
|
||||
<Header />
|
||||
<main>
|
||||
|
||||
Reference in New Issue
Block a user