add full-bleed image section

This commit is contained in:
Marco
2026-06-30 11:47:46 +00:00
parent 68c615010c
commit e34e06f907
3 changed files with 16 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import Image from "next/image";
export function FullbleedImage() {
return (
<section className="relative w-full h-[60vh] md:h-[80vh]">
<Image
src="/fullbleed.jpg"
alt="Photographer with camera"
fill
className="object-cover object-center"
/>
</section>
);
}
+2
View File
@@ -1,6 +1,7 @@
import { Hero } from "./components/Hero"; import { Hero } from "./components/Hero";
import { Tagline } from "./components/Tagline"; import { Tagline } from "./components/Tagline";
import { About } from "./components/About"; import { About } from "./components/About";
import { FullbleedImage } from "./components/FullbleedImage";
export default function Home() { export default function Home() {
return ( return (
@@ -8,6 +9,7 @@ export default function Home() {
<Hero /> <Hero />
<Tagline /> <Tagline />
<About /> <About />
<FullbleedImage />
</main> </main>
); );
} }
Binary file not shown.

After

Width:  |  Height:  |  Size: 798 KiB