diff --git a/src/components/VerseSlide.tsx b/src/components/VerseSlide.tsx index cad23dd..2378eb3 100644 --- a/src/components/VerseSlide.tsx +++ b/src/components/VerseSlide.tsx @@ -1,7 +1,5 @@ import React from "react"; import { cn } from "@/lib/utils"; -import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; -import { motion, AnimatePresence } from "framer-motion"; interface VerseSlideProps { className?: string; @@ -16,24 +14,8 @@ const VerseSlide: React.FC = ({ }) => { return (
- - - {verseReference} - - {/* - */} - -
{verseText}
-
- {/*
-
*/} -
+
{verseReference}
+
{verseText}
); }; diff --git a/src/components/VerseSlideshow.tsx b/src/components/VerseSlideshow.tsx index 3f8624a..b141611 100644 --- a/src/components/VerseSlideshow.tsx +++ b/src/components/VerseSlideshow.tsx @@ -29,7 +29,7 @@ const VerseSlideshow: React.FC = ({ className }) => { return (
- + {Object.entries(verseReferences).map( ([reference, text], index) => index === currentIndex && ( @@ -38,6 +38,7 @@ const VerseSlideshow: React.FC = ({ className }) => { initial={{ opacity: 0 }} animate={{ opacity: 1 }} exit={{ opacity: 0 }} + transition={{ duration: 0.5, ease: "easeInOut" }} > diff --git a/src/pages/Dashboard.tsx b/src/pages/Dashboard.tsx index fa7f308..53fcb9f 100644 --- a/src/pages/Dashboard.tsx +++ b/src/pages/Dashboard.tsx @@ -306,10 +306,11 @@ const Dashboard: React.FC = () => {
+

Daily Inspiration

); }; -export default Dashboard; +export default Dashboard; \ No newline at end of file