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 ? (
<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>

View File

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