fix * in link

main
حسین معصومی پور 2024-11-02 04:53:04 +03:30
parent f8b7ad0ff4
commit 1a49c04ee2
2 changed files with 7 additions and 7 deletions

View File

@ -193,9 +193,9 @@ const Navbar = () => {
> >
<> <>
{nav.go ? ( {nav.go ? (
<Link href={`*/${nav.id}`}>{nav.title}</Link> <Link href={`/${nav.id}`}>{nav.title}</Link>
) : ( ) : (
<a href={`*/#${nav.id}`}>{nav.title}</a> <a href={`/#${nav.id}`}>{nav.title}</a>
)} )}
</> </>
</li> </li>

View File

@ -4,9 +4,9 @@ import Footer from "@comp/landingComponents/Footer/page";
import React from "react"; import React from "react";
import AboutUsHero from "@comp/landingComponents/AboutUsHero/page"; import AboutUsHero from "@comp/landingComponents/AboutUsHero/page";
import ig from "../../../public/images/ig.png"; // import ig from "../../../public/images/ig.png";
import tuk from "../../../public/images/tuk.png"; // import tuk from "../../../public/images/tuk.png";
import Image from "next/image"; // import Image from "next/image";
const AboutUs = () => { const AboutUs = () => {
return ( return (
@ -65,14 +65,14 @@ const AboutUs = () => {
run a coffee shop, and let's make every cup of coffee an experience to run a coffee shop, and let's make every cup of coffee an experience to
remember. remember.
</p> </p>
<div className="flex justify-center my-10 "> {/* <div className="flex justify-center my-10 ">
<div className=""> <div className="">
<Image src={tuk} className="w-[50px]" /> <Image src={tuk} className="w-[50px]" />
</div> </div>
<div> <div>
<Image src={ig} className="w-[120px]" /> <Image src={ig} className="w-[120px]" />
</div> </div>
</div> </div> */}
</div> </div>
<Footer /> <Footer />