forked from emre/www_projectmycelium_com
refactor: add mobile hero image to HomeAurora and adjust padding
- Added mobile-only hero image (/images/mobile/homepage.jpg) with mb-8 spacing and md:hidden visibility - Changed vertical padding from py-16 to pb-12 pt-8 for mobile, maintaining lg:py-32 for desktop - Positioned mobile image above content with w-full and object-cover styling
This commit is contained in:
BIN
public/images/mobile/agents.jpg
Normal file
BIN
public/images/mobile/agents.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
BIN
public/images/mobile/cloudpage.jpg
Normal file
BIN
public/images/mobile/cloudpage.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
BIN
public/images/mobile/homepage.jpg
Normal file
BIN
public/images/mobile/homepage.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
BIN
public/images/mobile/nodes.jpg
Normal file
BIN
public/images/mobile/nodes.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
BIN
public/images/mobile/pods.jpg
Normal file
BIN
public/images/mobile/pods.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@@ -9,7 +9,14 @@ export function HomeAurora() {
|
||||
className="relative mx-auto max-w-7xl border border-t-0 border-gray-100 bg-white overflow-hidden bg-size-[65%] bg-right bg-no-repeat bg-none md:bg-[url('/images/hero11.webp')]"
|
||||
>
|
||||
{/* Inner padding */}
|
||||
<div className="px-6 py-16 lg:py-32 ">
|
||||
<div className="px-6 pb-12 pt-8 lg:py-32 ">
|
||||
{/* Mobile-only hero image */}
|
||||
<img
|
||||
src="/images/mobile/homepage.jpg"
|
||||
alt="Mycelium homepage visual"
|
||||
className="mb-8 w-full object-cover md:hidden"
|
||||
/>
|
||||
|
||||
<div className="max-w-2xl lg:pl-6">
|
||||
<Eyebrow> Project MYCELIUM</Eyebrow>
|
||||
<H3 className="mt-4">
|
||||
|
||||
Reference in New Issue
Block a user