some updates
This commit is contained in:
1 parent
b2186ed379
commit
6472b601d0
6 files changed
+3
-5
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 18 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 464 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 18 MiB After Width: | Height: | Size: 129 KiB |
@@ -1,5 +1,4 @@
|
||||
import React from "react";
|
||||
import BurgerButton from "../burger-button/page";
|
||||
import Image from "next/image";
|
||||
|
||||
export default function Footer() {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import Image from "next/image";
|
||||
import React from "react";
|
||||
import BurgerButton from "../burger-button/page";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
"use client";
|
||||
import React, { useEffect, useRef, useState, MouseEvent } from "react";
|
||||
import React, { useEffect, useRef, useState } from "react";
|
||||
|
||||
interface Testimonial {
|
||||
name: string;
|
||||
@@ -13,7 +13,7 @@ export default function Testimonials() {
|
||||
const sliderRef = useRef<HTMLDivElement | null>(null);
|
||||
const [isHovered, setIsHovered] = useState<boolean>(false);
|
||||
const [bulletClicked, setBulletClicked] = useState<boolean>(false);
|
||||
const [maxHeight, setMaxHeight] = useState<number>(0);
|
||||
// const [maxHeight, setMaxHeight] = useState<number>(0);
|
||||
const testimonials: Testimonial[] = [
|
||||
{
|
||||
name: "Sarah Johnson",
|
||||
@@ -65,7 +65,7 @@ export default function Testimonials() {
|
||||
}
|
||||
});
|
||||
|
||||
setMaxHeight(maxHeight + 20); // Set the maximum height
|
||||
// setMaxHeight(maxHeight + 20); // Set the maximum height
|
||||
}
|
||||
|
||||
if (!isHovered && !bulletClicked) {
|
||||
|
||||
Reference in new issue
Block a user