Add new photo
This commit is contained in:
parent
6c8766e77a
commit
bb22799937
2 changed files with 1 additions and 1 deletions
BIN
client/public/photos/6.jpg
Normal file
BIN
client/public/photos/6.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 751 KiB |
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { useState, useEffect } from 'react';
|
import React, { useState, useEffect } from 'react';
|
||||||
import { motion, AnimatePresence } from 'framer-motion';
|
import { motion, AnimatePresence } from 'framer-motion';
|
||||||
|
|
||||||
const images = ['/photos/5.jpg', '/photos/2.jpg', '/photos/3.jpg', '/photos/4.jpg', '/photos/1.jpg'];
|
const images = ['/photos/5.jpg', '/photos/2.jpg', '/photos/3.jpg', '/photos/4.jpg', '/photos/1.jpg', '/photos/6.jpg'];
|
||||||
|
|
||||||
const ImageCarousel: React.FC = () => {
|
const ImageCarousel: React.FC = () => {
|
||||||
const [currentIndex, setCurrentIndex] = useState(0);
|
const [currentIndex, setCurrentIndex] = useState(0);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue