diff --git a/Home.py b/Home.py index 9e35b03..03aeec0 100644 --- a/Home.py +++ b/Home.py @@ -53,3 +53,5 @@ url = row['url'] text = get_url_text(url) st.write(f"[{text}]({url})") + + st.write("[Contact me](./Contact_Me)") diff --git a/__pycache__/config_manager.cpython-311.pyc b/__pycache__/config_manager.cpython-311.pyc new file mode 100644 index 0000000..e7108d2 Binary files /dev/null and b/__pycache__/config_manager.cpython-311.pyc differ diff --git a/__pycache__/url_to_link.cpython-311.pyc b/__pycache__/url_to_link.cpython-311.pyc index 18173ef..300bedb 100644 Binary files a/__pycache__/url_to_link.cpython-311.pyc and b/__pycache__/url_to_link.cpython-311.pyc differ diff --git a/pages/Contact Me.py b/pages/Contact Me.py index 1eee026..85c494a 100644 --- a/pages/Contact Me.py +++ b/pages/Contact Me.py @@ -14,6 +14,13 @@ with streamlit_analytics.track(unsafe_password=os.getenv('STREAMLIT_PASSWORD'), firestore_key_file=config_file, firestore_collection_name="contact"): st.title("Contact Me") + col1, col2, col3, col4 = st.columns(4) + with col1: + st.write("[LinkedIn](https://linkedin.com/in/swanhella)") + with col2: + st.write("[GitHub](https://github.com/1hella)") + + st.subheader("Contact Form") with st.form(key="email_forms", clear_on_submit=True): if 'submitted' not in st.session_state: st.session_state['submitted'] = False diff --git a/url_to_link.py b/url_to_link.py index 7fed6f9..06d9fac 100644 --- a/url_to_link.py +++ b/url_to_link.py @@ -1,5 +1,5 @@ def get_url_text(url): - if "github" or "codepen" in url: + if "github" in url or "codepen" in url: return "Source Code" else: return "Link"