Skip to content

Commit

Permalink
alt added for home page
Browse files Browse the repository at this point in the history
 slider images
  • Loading branch information
sinanptm committed Sep 11, 2024
1 parent 886c3c0 commit 3b2ae79
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
24 changes: 12 additions & 12 deletions client/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
// import AboutAyurveda from "@/components/patient/home/AboutAyurveda";
// import ImageSlider from "@/components/patient/home/ImageSlider";
// import WhyUs from "@/components/patient/home/WhyUs";
// import dynamic from "next/dynamic";
// import Loader from "@/components/common/Loader";
import AboutAyurveda from "@/components/patient/home/AboutAyurveda";
import ImageSlider from "@/components/patient/home/ImageSlider";
import WhyUs from "@/components/patient/home/WhyUs";
import dynamic from "next/dynamic";
import Loader from "@/components/common/Loader";

// const FeaturesList = dynamic(()=>import("@/components/patient/home/FeatureList"),{
// loading:()=><Loader />
// })
const FeaturesList = dynamic(()=>import("@/components/patient/home/FeatureList"),{
loading:()=><Loader />
})


const HomePage = () => {
return (
<section className="mx-auto ">
{/* <ImageSlider />
<ImageSlider />
<AboutAyurveda />
<WhyUs />
<FeaturesList /> */}
<div className="text-2xl font-bold text-center my-28 mb-64">
<FeaturesList />
{/* <div className="text-2xl font-bold text-center my-28 mb-64">
🚧 Hold your horses! 🐴
<br />
Iam currently working on some awesome animations and large items.
<br />
Check back soon for a breathtaking experience! 🌟
</div>
</div> */}
</section>
);
};
Expand Down
1 change: 1 addition & 0 deletions client/components/ui/images-slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export const ImagesSlider = ({
src={loadedImages[currentIndex]}
initial="initial"
animate="visible"
alt="Banner"
exit={direction === "up" ? "upExit" : "downExit"}
variants={slideVariants}
className="image h-full w-full absolute inset-0 object-cover object-center"
Expand Down

1 comment on commit 3b2ae79

@vercel
Copy link

@vercel vercel bot commented on 3b2ae79 Sep 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.