Link to another webpage using option_menu

Hi, I want to link to another webpage in the same tab using the streamlit option_menu.

For example, when I clicked on Projects, it will direct me to another webpage in the same tab.


Below are my codes but it didn’t work. Please assist, thank you.

import streamlit as st
from streamlit_option_menu import option_menu

with st.sidebar:
options = option_menu(
options=[“Home”, “Projects”, “Contact”])

if options == ‘Projects’: