menikev's picture
Update app.py
cb72e67 verified
import streamlit as st
# Function to render skills with progress bars
def render_skill(skill_name, proficiency):
st.write(skill_name)
st.progress(proficiency / 100) # Streamlit progress bar expects a value between 0 and 1
# Main function to render the dashboard
def app():
st.set_page_config(page_title="Recruitment Dashboard", layout="wide")
# Personal Details Section
st.title("John Doe")
col1, col2 = st.columns([1, 3])
with col1:
st.image("https://via.placeholder.com/100", width=100)
with col2:
st.markdown("**Contact Information:**")
st.markdown("πŸ“§ johndoe@example.com")
st.markdown("πŸ“ž (123) 456-7890")
st.markdown("πŸ”— [linkedin.com/in/johndoe](https://linkedin.com/in/johndoe)")
st.markdown("---") # Horizontal line
# Skills Section
st.header("Skills")
col1, col2 = st.columns(2)
with col1:
st.subheader("Hard Skills")
render_skill("Penetration Testing", 90)
render_skill("Network Security", 85)
render_skill("Incident Response", 80)
render_skill("Malware Analysis", 75)
with col2:
st.subheader("Soft Skills")
render_skill("Critical Thinking", 90)
render_skill("Problem-Solving", 85)
render_skill("Communication", 80)
render_skill("Team Collaboration", 75)
st.markdown("---") # Horizontal line
# Projects Section
st.header("Projects Delivered")
st.subheader("Simulated Network Intrusion and Defense")
st.write("Designed and executed a penetration testing strategy...")
st.markdown("**Tools Used:** Metasploit, Wireshark, Nmap")
st.markdown("---") # Horizontal line
# Tools Proficiency Section
st.header("Tools Proficiency")
st.write("SIEM (Splunk, QRadar): Advanced")
st.write("Penetration Testing (Metasploit, Kali Linux): Advanced")
st.write("Network Analysis (Wireshark): Advanced")
st.write("Malware Analysis (Cuckoo Sandbox): Intermediate")
st.write("Cloud Security (AWS Security Hub): Intermediate")
st.markdown("---") # Horizontal line
# Final Recommendation Section
st.header("Final Recommendation")
st.write("**Fit for Role:** Excellent")
st.write("**Recommended Action:** Highly recommended for interview.")
st.write("**Potential Areas for Development:** Further training in cloud security...")
# Action Button
if st.button("Schedule Interview"):
st.success("Interview scheduled!")
# Run the app
if __name__ == "__main__":
app()