From 87ec94896d029a20c31f5e874a9505f9c77d3aeb Mon Sep 17 00:00:00 2001 From: Philip Cheung Date: Tue, 8 Oct 2024 21:15:06 +0800 Subject: [PATCH] fixed problems --- components/Hero1.tsx | 19 ++++++++++++------- components/Navbar/Nav.tsx | 2 +- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/components/Hero1.tsx b/components/Hero1.tsx index 49782a7..dad90b0 100644 --- a/components/Hero1.tsx +++ b/components/Hero1.tsx @@ -2,8 +2,7 @@ import "animate.css/animate.compat.css" import { useRef, useEffect, useState } from 'react'; -import CustomButton from "./CustomButton"; - +import Link from "next/link"; const Hero1 = () => { const [paragraphOpacities, setParagraphOpacities] = useState([]); const scrollRef = useRef(null); @@ -104,13 +103,19 @@ const Hero1 = () => { One & ALL Music 提供全面的音樂課程,我們相信每位學生都各有天赋,

「誰都可發光 只要找對地方」,只要運用合適的教學法,同學必定能發揮所長。

-
- { + + {/* { console.log('Button clicked'); - }} /> -
+ }} /> */} + + {"關於我們更多"} + + -
+
diff --git a/components/Navbar/Nav.tsx b/components/Navbar/Nav.tsx index a7e8f4b..a692fdd 100644 --- a/components/Navbar/Nav.tsx +++ b/components/Navbar/Nav.tsx @@ -1,5 +1,5 @@ "use client" -import React, { useState, useEffect } from 'react' +import React, { useState } from 'react' import Image from 'next/image' import Link from 'next/link' import { FiChevronDown } from "react-icons/fi";