smooth scrolling when you actually scroll but its not working when i click on the which it calls to scroll all the way to the top of the page it goes up instantly not SMOOTHLY
Topbar.jsx file
export default function Topbar() {
    return (
        <div className="topbar">
            <div className="wrapper">
                <div className="left">
                    <a href="#intro">asdasd</a>
                </div>
                <div className="right">
                </div>
            </div>
        </div>
    )
}
app.jsx file
     return (
       <div className="app">
         <Topbar/>
         <div className="sections">
           <Intro/>
           <Portfolio/>
           <Contact/>
         </div>
       </div>
     );
   }
app.scss file
    height: 100vh;
    .sections {
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #66190d;
        position: relative;
        top: 70px;
        scroll-behavior: smooth;
        scroll-snap-type: y mandatory;
        scrollbar-width: none;
        &::-webkit-scrollbar{
            display: none;
        }
        >* {
            width: 100vw;
            height: calc(100vh - 70px);
            scroll-snap-align: start;
        }
    }
}```
