File tree Expand file tree Collapse file tree 3 files changed +4
-22
lines changed
Expand file tree Collapse file tree 3 files changed +4
-22
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,8 @@ const VerseSlide: React.FC<VerseSlideProps> = ({
1616} ) => {
1717 return (
1818 < div className = { cn ( "default-class" , className ) } >
19- < Card >
20- < CardHeader >
21- < CardTitle > { verseReference } </ CardTitle >
22- </ CardHeader >
23- { /* <AnimatePresence mode="wait">
24- <motion.div
25- key="verse"
26- initial={{ opacity: 0 }}
27- animate={{ opacity: 1 }}
28- exit={{ opacity: 0 }}
29- transition={{ duration: 0.5 }}
30- > */ }
31- < CardContent >
32- < blockquote className = "text-lg italic mb-4" > { verseText } </ blockquote >
33- </ CardContent >
34- { /* </motion.div>
35- </AnimatePresence> */ }
36- </ Card >
19+ < blockquote className = "text-lg" > { verseReference } </ blockquote >
20+ < blockquote className = "text-muted-foreground italic" > { verseText } </ blockquote >
3721 </ div >
3822 ) ;
3923} ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const VerseSlideshow: React.FC<VerseSlideshowProps> = ({ className }) => {
2929
3030 return (
3131 < div className = { cn ( "default-class" , className ) } >
32- < AnimatePresence >
32+ < AnimatePresence mode = "wait" >
3333 { Object . entries ( verseReferences ) . map (
3434 ( [ reference , text ] , index ) =>
3535 index === currentIndex && (
@@ -38,6 +38,7 @@ const VerseSlideshow: React.FC<VerseSlideshowProps> = ({ className }) => {
3838 initial = { { opacity : 0 } }
3939 animate = { { opacity : 1 } }
4040 exit = { { opacity : 0 } }
41+ transition = { { duration : 0.5 , ease : "easeInOut" } }
4142 >
4243 < VerseSlide verseReference = { reference } verseText = { text } />
4344 </ motion . div >
Original file line number Diff line number Diff line change @@ -307,10 +307,7 @@ const Dashboard: React.FC = () => {
307307
308308 < div className = "glass-card rounded-lg p-6 text-center" >
309309 < h3 className = "text-xl font-medium mb-3" > Daily Inspiration</ h3 >
310- < blockquote className = "text-lg italic mb-4" > "-- QUOTE HERE --"
311- </ blockquote >
312310 < VerseSlideshow />
313- < p className = "text-muted-foreground" > Scripture Quote</ p >
314311 </ div >
315312 </ motion . div >
316313 ) ;
You can’t perform that action at this time.
0 commit comments