"""
HRHUB V2.1 - Bilateral HR Matching System
HOME PAGE - Single Viewport Design (No Scrolling)
"""
import streamlit as st
# Page configuration
st.set_page_config(
page_title="HRHUB V2.1",
page_icon="π―",
layout="wide",
initial_sidebar_state="collapsed"
)
# Ultra-compact CSS - fits everything in viewport
st.markdown("""
""", unsafe_allow_html=True)
def main():
# Hero
st.markdown("""
π― HRHUB V2.1
Bilateral HR Matching System β’ NLP Embeddings & Semantic Similarity
""", unsafe_allow_html=True)
# Cards
col1, col2 = st.columns(2)
with col1:
st.markdown("""
Candidate View
Find your perfect company match based on skills and experience
- π― Top 10 company matches
- π Semantic similarity scores
- πΈοΈ Network visualization
- π₯ Export results
""", unsafe_allow_html=True)
if st.button("π Launch Candidate View", key="cand"):
st.switch_page("pages/1_π€_Candidate_View.py")
with col2:
st.markdown("""
Company View
Discover top talent matching your company's needs
- π― Top 10 candidate matches
- π Skill alignment scores
- πΈοΈ Talent network mapping
- π₯ Export candidates
""", unsafe_allow_html=True)
if st.button("π Launch Company View", key="comp"):
st.switch_page("pages/2_π’_Company_View.py")
# Innovation
st.markdown("""
π‘ Key Innovation: Vocabulary Bridge
Traditional HR systems fail because candidates and companies speak different "languages."
HRHUB V2.1 uses job postings as translation bridges, converting both into a shared semantic space.
Collaborative filtering extends coverage from 30K to 150K companies.
""", unsafe_allow_html=True)
# Stats
st.markdown("""
""", unsafe_allow_html=True)
# Footer
st.markdown("""
""", unsafe_allow_html=True)
if __name__ == "__main__":
main()