Portfolio/Websites/jefes-nextjs/app/gallery/page.tsx

37 lines
1.0 KiB
TypeScript

import React from "react";
import { useState } from "react";
import { BsChevronCompactLeft, BsChevronCompactRight } from "react-icons/bs";
import { RxDotFilled } from "react-icons/rx";
import { EmblaCarousel } from "./carousel";
import Image from "next/image";
const Gallery = () => {
return (
<div className="flex flex-col relative ">
<div className="flex relative -z-10 pt-40 w-[100vw] h-[400px] overflow-hidden">
<Image
src="/IMG_2431.jpg"
alt="nav image"
priority
fill
style={{ objectFit: "cover", objectPosition: "center" }}
quality={100}
className="brightness-[20%] "
/>
<div className="flex flex-col w-full text-center xl:text-5xl xl:block text-white lg:text-2xl z-10">
<div className="p-6 ">
<p className="py-4">
<span className="">GALLERY</span>
</p>
</div>
</div>
</div>
<div className="">
<EmblaCarousel />
</div>
</div>
);
};
export default Gallery;