Commit ·
9eb16e7
0
Parent(s):
Initial commit - Portfolio with Git LFS
Browse files- .gitattributes +3 -0
- .gitignore +20 -0
- Dockerfile +22 -0
- README.md +8 -0
- app.py +50 -0
- config.py +59 -0
- documents/CV_Cheikh_Niang.pdf +3 -0
- documents/README.txt +2 -0
- generer.py +8 -0
- images/profile/photo.jpg +3 -0
- images/projects/climate_change1.png +3 -0
- images/projects/climate_change2.png +3 -0
- images/projects/climate_change3.png +3 -0
- images/projects/climate_change4.png +3 -0
- images/projects/dakar_1.png +3 -0
- images/projects/dakar_2.png +3 -0
- images/projects/dakar_3.png +3 -0
- images/projects/dakar_4.png +3 -0
- images/projects/sentimentscope_1.png +3 -0
- images/projects/sentimentscope_2.png +3 -0
- images/projects/sentimentscope_3.png +3 -0
- images/projects/sentimentscope_4.png +3 -0
- images/projects/tidianeflix_1.png +3 -0
- images/projects/tidianeflix_2.png +3 -0
- images/projects/tidianeflix_3.png +3 -0
- images/projects/tidianeflix_4.png +3 -0
- pages/1_About.py +65 -0
- pages/2_Projects.py +91 -0
- pages/3_Skills.py +19 -0
- pages/4_Contact.py +35 -0
- requirements.txt +2 -0
- styles.css +348 -0
.gitattributes
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
venv/
|
| 2 |
+
__pycache__/
|
| 3 |
+
*.pyc
|
| 4 |
+
*.pyo
|
| 5 |
+
*.pyd
|
| 6 |
+
.Python
|
| 7 |
+
*.so
|
| 8 |
+
*.egg
|
| 9 |
+
*.egg-info/
|
| 10 |
+
dist/
|
| 11 |
+
build/
|
| 12 |
+
.pytest_cache/
|
| 13 |
+
.coverage
|
| 14 |
+
.env
|
| 15 |
+
.vscode/
|
| 16 |
+
.idea/
|
| 17 |
+
*.log
|
| 18 |
+
app_BACKUP_*.py
|
| 19 |
+
app_AVANT_*.py
|
| 20 |
+
FIX_*.ps1
|
Dockerfile
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.11-slim
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
# Copier les fichiers
|
| 6 |
+
COPY requirements.txt .
|
| 7 |
+
COPY app.py .
|
| 8 |
+
COPY config.py .
|
| 9 |
+
COPY styles.css .
|
| 10 |
+
COPY generer.py .
|
| 11 |
+
COPY pages ./pages
|
| 12 |
+
COPY documents ./documents
|
| 13 |
+
COPY images ./images
|
| 14 |
+
|
| 15 |
+
# Installer les dépendances
|
| 16 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
+
|
| 18 |
+
# Exposer le port
|
| 19 |
+
EXPOSE 8501
|
| 20 |
+
|
| 21 |
+
# Lancer l'application
|
| 22 |
+
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Portfolio Cheikh Niang
|
| 3 |
+
emoji: 📊
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 8501
|
| 8 |
+
---
|
app.py
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
from config import PERSONAL_INFO, PROJECTS
|
| 3 |
+
import base64
|
| 4 |
+
|
| 5 |
+
st.set_page_config(page_title="Portfolio - Cheikh Niang", page_icon="📊", layout="wide")
|
| 6 |
+
|
| 7 |
+
def load_css():
|
| 8 |
+
with open("styles.css", encoding="utf-8") as f:
|
| 9 |
+
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 10 |
+
|
| 11 |
+
load_css()
|
| 12 |
+
|
| 13 |
+
def get_image_base64(image_path):
|
| 14 |
+
try:
|
| 15 |
+
with open(image_path, "rb") as img_file:
|
| 16 |
+
return base64.b64encode(img_file.read()).decode()
|
| 17 |
+
except:
|
| 18 |
+
return None
|
| 19 |
+
|
| 20 |
+
profile_img = get_image_base64("images/profile/photo.jpg")
|
| 21 |
+
if profile_img:
|
| 22 |
+
st.markdown(f'<img src="data:image/jpeg;base64,{profile_img}" class="profile-img" alt="Cheikh Niang">', unsafe_allow_html=True)
|
| 23 |
+
|
| 24 |
+
st.markdown(f'<h1 class="hero-name">{PERSONAL_INFO["nom"]}</h1>', unsafe_allow_html=True)
|
| 25 |
+
st.markdown(f'<p class="hero-title">{PERSONAL_INFO["titre"]}</p>', unsafe_allow_html=True)
|
| 26 |
+
st.markdown('<p class="hero-quote">"Transformer les données en insights actionnables"</p>', unsafe_allow_html=True)
|
| 27 |
+
st.markdown("<br>", unsafe_allow_html=True)
|
| 28 |
+
|
| 29 |
+
col1, col2, col3, col4 = st.columns(4)
|
| 30 |
+
with col1:
|
| 31 |
+
st.markdown('<div class="metric-card"><div class="metric-value">4</div><div class="metric-label">Projets</div></div>', unsafe_allow_html=True)
|
| 32 |
+
with col2:
|
| 33 |
+
st.markdown('<div class="metric-card"><div class="metric-value">3</div><div class="metric-label">Apps en direct</div></div>', unsafe_allow_html=True)
|
| 34 |
+
with col3:
|
| 35 |
+
st.markdown('<div class="metric-card"><div class="metric-value">534K+</div><div class="metric-label">Données</div></div>', unsafe_allow_html=True)
|
| 36 |
+
with col4:
|
| 37 |
+
st.markdown('<div class="metric-card"><div class="metric-value">90%</div><div class="metric-label">Précision</div></div>', unsafe_allow_html=True)
|
| 38 |
+
|
| 39 |
+
st.markdown("<br><br>", unsafe_allow_html=True)
|
| 40 |
+
st.markdown('<h2 style="color: #00D9FF; text-align: center; margin: 2rem 0;">🚀 Projets Récents</h2>', unsafe_allow_html=True)
|
| 41 |
+
|
| 42 |
+
col1, col2 = st.columns(2)
|
| 43 |
+
for i, proj in enumerate(PROJECTS[:2]):
|
| 44 |
+
with col1 if i == 0 else col2:
|
| 45 |
+
clean_title = proj['titre'].replace(proj['icon'], '').strip()
|
| 46 |
+
tech_pills = "".join([f'<span class="tech-pill">{tech}</span>' for tech in proj['technologies'][:3]])
|
| 47 |
+
st.markdown(f'<div class="equal-card"><h3 class="card-title">{proj["icon"]} {clean_title}<span class="card-badge">{proj["statut"]}</span></h3><p class="card-desc">{proj["tagline"]}</p><div class="tech-pills">{tech_pills}</div></div>', unsafe_allow_html=True)
|
| 48 |
+
|
| 49 |
+
st.markdown('<p style="text-align: center; color: #8B9DC3; margin-top: 4rem; padding: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1);">© 2025 Cheikh Niang • Data Scientist Junior • Dakar, Sénégal 🇸🇳</p>', unsafe_allow_html=True)
|
| 50 |
+
|
config.py
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
PERSONAL_INFO = {
|
| 2 |
+
"nom": "Cheikh Niang",
|
| 3 |
+
"titre": "Data Scientist / Analyst",
|
| 4 |
+
"email": "cheikhniang159@gmail.com",
|
| 5 |
+
"telephone": "+221 77 636 27 14",
|
| 6 |
+
"linkedin": "https://www.linkedin.com/in/cheikh-niang-8b9418271/",
|
| 7 |
+
"github": "https://github.com/chniang"
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
PROJECTS = [
|
| 11 |
+
{
|
| 12 |
+
"icon": "⚡",
|
| 13 |
+
"titre": "Prédiction de puissance à Dakar",
|
| 14 |
+
"tagline": "Prédiction des coupures d'électricité à Dakar",
|
| 15 |
+
"description": "Application web de prédiction des risques de coupures d'électricité dans 8 quartiers de Dakar. Utilise deux modèles de Machine Learning : LightGBM (gradient boosting, ~88% précision) et LSTM (deep learning, ~90% précision) entraînés sur 70,001 enregistrements de données synthétiques. L'application calcule un risque combiné en pourcentage et le classe en 3 niveaux (FAIBLE 0-39%, MOYEN 40-69%, ÉLEVÉ 70-100%). Interface Streamlit avec 4 onglets : prédiction en temps réel avec jauge interactive, carte géographique Plotly des 8 quartiers, statistiques comparatives par zone, et historique des tendances temporelles. Export des prédictions en CSV.",
|
| 16 |
+
"technologies": ["Python", "LightGBM", "TensorFlow", "LSTM", "Streamlit", "Plotly"],
|
| 17 |
+
"statut": "Déployé",
|
| 18 |
+
"liens": {
|
| 19 |
+
"github": "https://github.com/chniang/dakar_electricity_prediction",
|
| 20 |
+
"demo": "https://huggingface.co/spaces/TIJAANI/dakar-power-prediction"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"icon": "🎬",
|
| 25 |
+
"titre": "TidianeFlix",
|
| 26 |
+
"tagline": "Système de billetterie cinéma avec Analytics & ML",
|
| 27 |
+
"description": "Application full-stack de gestion de billetterie pour cinéma avec base de données SQLite (15 films, 3 salles, 20 séances, 20 clients, 34 billets vendus). Combine analytics business et machine learning : KPIs financiers en temps réel (109,000 FCFA de revenus, prix moyen 3,406 FCFA), segmentation automatique des clients en 3 catégories (VIP ≥10K, Fidèle ≥5K, Occasionnel <5K), prédiction des ventes futures par régression linéaire (7 jours), scoring de probabilité de réachat, et système de recommandation de films par genre (content-based filtering). Interface style Netflix avec landing page élégante et graphiques Plotly interactifs.",
|
| 28 |
+
"technologies": ["Streamlit", "SQLite", "SQLAlchemy", "Pandas", "Plotly", "Scikit-learn"],
|
| 29 |
+
"statut": "Déployé",
|
| 30 |
+
"liens": {
|
| 31 |
+
"github": "https://github.com/chniang/TidianeFlix",
|
| 32 |
+
"demo": "https://huggingface.co/spaces/TIJAANI/tidiane-flix"
|
| 33 |
+
}
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"icon": "📊",
|
| 37 |
+
"titre": "SentimentScope",
|
| 38 |
+
"tagline": "Analyse de sentiments NLP avec TextBlob",
|
| 39 |
+
"description": "Application web d'analyse de sentiments utilisant le Natural Language Processing (TextBlob + NLTK) pour classifier automatiquement des textes selon leur tonalité émotionnelle. Propose 3 modes d'analyse : texte simple (analyse instantanée avec jauge visuelle), analyse multiple (comparaison de 2 à 10 textes avec graphiques camembert et barres), et traitement batch de fichiers CSV (analyse en masse illimitée). Calcule deux métriques : polarité de -1 (très négatif) à +1 (très positif) et subjectivité de 0 (objectif) à 1 (subjectif). Classifie en 3 catégories (Positif >0.1, Neutre -0.1 à 0.1, Négatif <-0.1). Inclut nuage de mots (WordCloud) et export CSV des résultats.",
|
| 40 |
+
"technologies": ["Python", "TextBlob", "NLTK", "Streamlit", "Plotly", "WordCloud"],
|
| 41 |
+
"statut": "Déployé",
|
| 42 |
+
"liens": {
|
| 43 |
+
"github": "https://github.com/chniang/SentimentScope",
|
| 44 |
+
"demo": "https://huggingface.co/spaces/TIJAANI/sentiment-scope"
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"icon": "🌍",
|
| 49 |
+
"titre": "Analyse du climat africain",
|
| 50 |
+
"tagline": "Visualisation des tendances thermiques 1980-2023",
|
| 51 |
+
"description": "Analyse approfondie du changement climatique en Afrique sur 43 ans (1980-2023) basée sur 464,815 observations météorologiques quotidiennes couvrant 5 pays : Tunisie, Cameroun, Sénégal, Égypte et Angola. Révèle une augmentation moyenne de +1.51°F des températures avec le Cameroun le plus touché (+2.63°F). Compare les distributions thermiques avant/après 2000 et identifie l'accélération du réchauffement après 2010. Développé en Jupyter Notebook avec 8 types de visualisations : évolution temporelle interactive (Plotly), box plots comparatifs avant/après 2000, heatmap annuelle par pays, histogrammes de distribution (Matplotlib/Seaborn). Analyse les variables TAVG, TMAX, TMIN sur dataset de 18.5 MB.",
|
| 52 |
+
"technologies": ["Python", "Pandas", "NumPy", "Matplotlib", "Seaborn", "Plotly", "Jupyter"],
|
| 53 |
+
"statut": "Complet",
|
| 54 |
+
"liens": {
|
| 55 |
+
"github": "https://github.com/chniang/Africa_climate_change_visualisation",
|
| 56 |
+
"notebook": "https://github.com/chniang/Africa_climate_change_visualisation/blob/Master/climate_analysis.ipynb"
|
| 57 |
+
}
|
| 58 |
+
}
|
| 59 |
+
]
|
documents/CV_Cheikh_Niang.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c82daf648e27c5467aea045be5e0e988b9966e153fd5b025cb4d3e90664cb4e
|
| 3 |
+
size 723355
|
documents/README.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Ce fichier sera remplacé par votre CV en PDF.
|
| 2 |
+
Placez votre CV.pdf dans le dossier 'documents/CV_Cheikh_Niang.pdf'
|
generer.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
|
| 3 |
+
print("🚀 Génération du portfolio...")
|
| 4 |
+
|
| 5 |
+
# Créer config.py
|
| 6 |
+
with open("config.py", "w", encoding="utf-8") as f:
|
| 7 |
+
f.write(open("requirements.txt").read()) # Juste pour test
|
| 8 |
+
print("✅ Fichiers créés")
|
images/profile/photo.jpg
ADDED
|
Git LFS Details
|
images/projects/climate_change1.png
ADDED
|
Git LFS Details
|
images/projects/climate_change2.png
ADDED
|
Git LFS Details
|
images/projects/climate_change3.png
ADDED
|
Git LFS Details
|
images/projects/climate_change4.png
ADDED
|
Git LFS Details
|
images/projects/dakar_1.png
ADDED
|
Git LFS Details
|
images/projects/dakar_2.png
ADDED
|
Git LFS Details
|
images/projects/dakar_3.png
ADDED
|
Git LFS Details
|
images/projects/dakar_4.png
ADDED
|
Git LFS Details
|
images/projects/sentimentscope_1.png
ADDED
|
Git LFS Details
|
images/projects/sentimentscope_2.png
ADDED
|
Git LFS Details
|
images/projects/sentimentscope_3.png
ADDED
|
Git LFS Details
|
images/projects/sentimentscope_4.png
ADDED
|
Git LFS Details
|
images/projects/tidianeflix_1.png
ADDED
|
Git LFS Details
|
images/projects/tidianeflix_2.png
ADDED
|
Git LFS Details
|
images/projects/tidianeflix_3.png
ADDED
|
Git LFS Details
|
images/projects/tidianeflix_4.png
ADDED
|
Git LFS Details
|
pages/1_About.py
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
from config import PERSONAL_INFO
|
| 3 |
+
import base64
|
| 4 |
+
|
| 5 |
+
st.set_page_config(page_title="À propos", page_icon="👤", layout="wide")
|
| 6 |
+
|
| 7 |
+
def load_css():
|
| 8 |
+
with open("styles.css", encoding="utf-8") as f:
|
| 9 |
+
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 10 |
+
|
| 11 |
+
load_css()
|
| 12 |
+
|
| 13 |
+
def get_image_base64(image_path):
|
| 14 |
+
try:
|
| 15 |
+
with open(image_path, "rb") as img_file:
|
| 16 |
+
return base64.b64encode(img_file.read()).decode()
|
| 17 |
+
except:
|
| 18 |
+
return None
|
| 19 |
+
|
| 20 |
+
# En-tête
|
| 21 |
+
st.markdown('<h1 style="color: #00D9FF; text-align: center; margin-bottom: 3rem; font-weight: 800;">👤 À propos de moi</h1>', unsafe_allow_html=True)
|
| 22 |
+
|
| 23 |
+
# Photo de profil
|
| 24 |
+
profile_img = get_image_base64("images/profile/photo.jpg")
|
| 25 |
+
if profile_img:
|
| 26 |
+
st.markdown(f'<img src="data:image/jpeg;base64,{profile_img}" class="profile-img" alt="Cheikh Niang">', unsafe_allow_html=True)
|
| 27 |
+
|
| 28 |
+
st.markdown(f'<h2 style="color: #00D9FF; text-align: center; margin: 1rem 0;">{PERSONAL_INFO["nom"]}</h2>', unsafe_allow_html=True)
|
| 29 |
+
st.markdown(f'<p style="color: #B8C5D6; text-align: center; font-size: 1.2rem; margin-bottom: 2rem;">{PERSONAL_INFO["titre"]}</p>', unsafe_allow_html=True)
|
| 30 |
+
|
| 31 |
+
# BOUTON TÉLÉCHARGEMENT CV
|
| 32 |
+
st.markdown('<div style="text-align: center; margin: 2rem 0;">', unsafe_allow_html=True)
|
| 33 |
+
try:
|
| 34 |
+
with open("documents/CV_Cheikh_Niang.pdf", "rb") as pdf_file:
|
| 35 |
+
pdf_bytes = pdf_file.read()
|
| 36 |
+
st.download_button(
|
| 37 |
+
label="📄 Télécharger mon CV complet",
|
| 38 |
+
data=pdf_bytes,
|
| 39 |
+
file_name="CV_Cheikh_Niang.pdf",
|
| 40 |
+
mime="application/pdf",
|
| 41 |
+
use_container_width=False
|
| 42 |
+
)
|
| 43 |
+
except FileNotFoundError:
|
| 44 |
+
st.info("📄 CV bientôt disponible en téléchargement")
|
| 45 |
+
st.markdown('</div>', unsafe_allow_html=True)
|
| 46 |
+
|
| 47 |
+
# Présentation
|
| 48 |
+
st.markdown('<div class="about-card"><h2 class="about-title">🎓 Présentation</h2><p class="about-text">Data Scientist / Data Analyst passionné par l\'exploitation des données pour la prise de décision et l\'optimisation de processus. Fort d\'une formation technique en Python, Machine Learning et SQL, j\'ai développé des solutions data complètes, de la préparation (ETL) à la visualisation interactive.</p><p class="about-text">Autodidacte, orienté résultats et rigoureux, je suis à la recherche d\'un poste me permettant de mettre en œuvre mes compétences en Analyse Statistique, Machine Learning et Ingénierie des Données (ETL / Data Pipeline).</p></div>', unsafe_allow_html=True)
|
| 49 |
+
|
| 50 |
+
# Parcours (SANS expérience professionnelle)
|
| 51 |
+
st.markdown('<div class="about-card"><h2 class="about-title">🚀 Parcours</h2><p class="about-text"><strong style="color: #00D9FF;">🎓 Formation Data Science (2024-2025)</strong><br>Certification Data Science chez GoMyCode : bootcamp intensif couvrant Python, SQL, Machine Learning, Deep Learning et déploiement d\'applications web.<br><br><strong style="color: #00D9FF;">🔬 Formation académique</strong><br>Licence 1 & 2 Physique-Chimie, Université Cheikh Anta Diop (2017-2020) : solides bases en sciences et méthodologie analytique.<br><br><strong style="color: #00D9FF;">📊 Portfolio actif</strong><br>4 projets data complets incluant prédiction ML, analyse NLP, gestion de bases de données et visualisation interactive. Compétences démontrées : Python, SQL, Streamlit, TensorFlow, Scikit-learn.</p></div>', unsafe_allow_html=True)
|
| 52 |
+
|
| 53 |
+
# Compétences clés
|
| 54 |
+
st.markdown('<div class="about-card"><h2 class="about-title">💡 Compétences clés</h2><p class="about-text"><strong style="color: #00D9FF;">Langages :</strong> Python, SQL, HTML/CSS<br><strong style="color: #00D9FF;">Frameworks :</strong> Streamlit, TensorFlow, Scikit-learn, Pandas, NumPy<br><strong style="color: #00D9FF;">Visualisation :</strong> Plotly, Matplotlib, Seaborn, Tableau<br><strong style="color: #00D9FF;">Outils :</strong> Git/GitHub, Jupyter, VS Code, BeautifulSoup, Selenium<br><strong style="color: #00D9FF;">Bases de données :</strong> MySQL, SQLite<br><strong style="color: #00D9FF;">Machine Learning :</strong> Modélisation supervisée, Feature Engineering, Deep Learning (LSTM)</p></div>', unsafe_allow_html=True)
|
| 55 |
+
|
| 56 |
+
# Contact
|
| 57 |
+
st.markdown(f'<div class="about-card"><h2 class="about-title">📬 Contact</h2><p class="about-text"><strong style="color: #00D9FF;">📧 Email :</strong> {PERSONAL_INFO["email"]}<br><strong style="color: #00D9FF;">📱 Téléphone :</strong> {PERSONAL_INFO["telephone"]}<br><strong style="color: #00D9FF;">📍 Localisation :</strong> Geule Tapé, Dakar, Sénégal 🇸🇳<br><strong style="color: #00D9FF;">🌐 Langues :</strong> Français (Courant), Anglais (Intermédiaire)</p></div>', unsafe_allow_html=True)
|
| 58 |
+
|
| 59 |
+
# Boutons réseaux sociaux
|
| 60 |
+
st.markdown('<h2 style="color: #00D9FF; text-align: center; margin: 3rem 0 1.5rem 0;">🌐 Retrouvez-moi</h2>', unsafe_allow_html=True)
|
| 61 |
+
col1, col2 = st.columns(2)
|
| 62 |
+
with col1:
|
| 63 |
+
st.link_button("💼 LinkedIn", PERSONAL_INFO["linkedin"], use_container_width=True)
|
| 64 |
+
with col2:
|
| 65 |
+
st.link_button("💻 GitHub", PERSONAL_INFO["github"], use_container_width=True)
|
pages/2_Projects.py
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
from config import PROJECTS
|
| 3 |
+
import base64
|
| 4 |
+
|
| 5 |
+
st.set_page_config(page_title="Projets", page_icon="💼", layout="wide")
|
| 6 |
+
|
| 7 |
+
def load_css():
|
| 8 |
+
with open("styles.css", encoding="utf-8") as f:
|
| 9 |
+
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 10 |
+
|
| 11 |
+
load_css()
|
| 12 |
+
|
| 13 |
+
def get_image_base64(image_path):
|
| 14 |
+
try:
|
| 15 |
+
with open(image_path, "rb") as img_file:
|
| 16 |
+
return base64.b64encode(img_file.read()).decode()
|
| 17 |
+
except:
|
| 18 |
+
return None
|
| 19 |
+
|
| 20 |
+
st.markdown('<h1 style="color: #00D9FF; text-align: center; margin-bottom: 3rem; font-weight: 800;">💼 Mes Projets Data Science</h1>', unsafe_allow_html=True)
|
| 21 |
+
|
| 22 |
+
for idx, proj in enumerate(PROJECTS):
|
| 23 |
+
clean_title = proj['titre'].replace(proj['icon'], '').strip()
|
| 24 |
+
|
| 25 |
+
# Badge
|
| 26 |
+
if proj['statut'] == "Déployé":
|
| 27 |
+
badge = '<span class="card-badge">✓ Déployé</span>'
|
| 28 |
+
else:
|
| 29 |
+
badge = '<span class="card-badge" style="background: #667EEA;">✓ Complet</span>'
|
| 30 |
+
|
| 31 |
+
# CARTE PROJET
|
| 32 |
+
st.markdown(f'''
|
| 33 |
+
<div class="project-card">
|
| 34 |
+
<h2 class="project-title">{proj["icon"]} {clean_title}{badge}</h2>
|
| 35 |
+
<p style="color: #D5DAE1; font-size: 1.05rem; line-height: 1.8; margin: 1rem 0 1.5rem 0;">
|
| 36 |
+
{proj["description"]}
|
| 37 |
+
</p>
|
| 38 |
+
''', unsafe_allow_html=True)
|
| 39 |
+
|
| 40 |
+
# Technologies (DANS la carte, pas en HTML)
|
| 41 |
+
tech_cols = st.columns(len(proj['technologies']))
|
| 42 |
+
for i, tech in enumerate(proj['technologies']):
|
| 43 |
+
with tech_cols[i]:
|
| 44 |
+
st.markdown(f'<span class="tech-pill">{tech}</span>', unsafe_allow_html=True)
|
| 45 |
+
|
| 46 |
+
# Section Aperçu
|
| 47 |
+
st.markdown('<h3 style="color: #00D9FF; margin: 2rem 0 1rem 0; font-size: 1.3rem;">📸 Aperçu</h3>', unsafe_allow_html=True)
|
| 48 |
+
|
| 49 |
+
# Images selon projet
|
| 50 |
+
col1, col2 = st.columns(2)
|
| 51 |
+
if idx == 0: # Dakar
|
| 52 |
+
for i in range(1, 5):
|
| 53 |
+
img_data = get_image_base64(f"images/projects/dakar_{i}.png")
|
| 54 |
+
if img_data:
|
| 55 |
+
with col1 if i % 2 == 1 else col2:
|
| 56 |
+
st.image(f"data:image/png;base64,{img_data}", use_container_width=True)
|
| 57 |
+
elif idx == 1: # TidianeFlix
|
| 58 |
+
for i in range(1, 5):
|
| 59 |
+
img_data = get_image_base64(f"images/projects/tidianeflix_{i}.png")
|
| 60 |
+
if img_data:
|
| 61 |
+
with col1 if i % 2 == 1 else col2:
|
| 62 |
+
st.image(f"data:image/png;base64,{img_data}", use_container_width=True)
|
| 63 |
+
elif idx == 2: # SentimentScope
|
| 64 |
+
for i in range(1, 5):
|
| 65 |
+
img_data = get_image_base64(f"images/projects/sentimentscope_{i}.png")
|
| 66 |
+
if img_data:
|
| 67 |
+
with col1 if i % 2 == 1 else col2:
|
| 68 |
+
st.image(f"data:image/png;base64,{img_data}", use_container_width=True)
|
| 69 |
+
elif idx == 3: # Climat
|
| 70 |
+
for i in range(1, 5):
|
| 71 |
+
img_data = get_image_base64(f"images/projects/climate_change{i}.png")
|
| 72 |
+
if img_data:
|
| 73 |
+
with col1 if i % 2 == 1 else col2:
|
| 74 |
+
st.image(f"data:image/png;base64,{img_data}", use_container_width=True)
|
| 75 |
+
|
| 76 |
+
# Section Liens
|
| 77 |
+
st.markdown('<h3 style="color: #00D9FF; margin: 2rem 0 1rem 0; font-size: 1.3rem;">🔗 Liens du projet</h3>', unsafe_allow_html=True)
|
| 78 |
+
|
| 79 |
+
# Boutons
|
| 80 |
+
cols = st.columns(len(proj['liens']))
|
| 81 |
+
label_map = {"github": "💻 GitHub", "demo": "🌐 Démo en direct", "notebook": "📓 Carnet"}
|
| 82 |
+
for i, (key, url) in enumerate(proj['liens'].items()):
|
| 83 |
+
with cols[i]:
|
| 84 |
+
st.link_button(label_map.get(key, key.title()), url, use_container_width=True)
|
| 85 |
+
|
| 86 |
+
# FERMER la carte
|
| 87 |
+
st.markdown('</div>', unsafe_allow_html=True)
|
| 88 |
+
|
| 89 |
+
# Espace entre projets
|
| 90 |
+
if idx < len(PROJECTS) - 1:
|
| 91 |
+
st.markdown('<br><br>', unsafe_allow_html=True)
|
pages/3_Skills.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
st.set_page_config(page_title="Compétences", page_icon="🎯", layout="wide")
|
| 4 |
+
|
| 5 |
+
def load_css():
|
| 6 |
+
with open("styles.css", encoding="utf-8") as f:
|
| 7 |
+
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 8 |
+
|
| 9 |
+
load_css()
|
| 10 |
+
|
| 11 |
+
st.markdown('<h1 style="color: #00D9FF; text-align: center; margin-bottom: 3rem; font-weight: 800;">🎯 Stack Technique</h1>', unsafe_allow_html=True)
|
| 12 |
+
|
| 13 |
+
st.markdown('<div class="skill-card"><h3 class="skill-title">💻 Langages et frameworks</h3><p class="about-text"><strong style="color: #00D9FF;">Python</strong><br>Pandas, NumPy, Scikit-learn, TensorFlow, Keras, Matplotlib, Seaborn, Plotly<br><br><strong style="color: #00D9FF;">SQL</strong><br>MySQL, SQLite, SQLAlchemy, requêtes complexes, optimisation<br><br><strong style="color: #00D9FF;">HTML & CSS</strong><br>Développement web, mise en page responsive, stylisation avancée</p></div>', unsafe_allow_html=True)
|
| 14 |
+
|
| 15 |
+
st.markdown('<div class="skill-card"><h3 class="skill-title">🤖 Apprentissage automatique</h3><p class="about-text"><strong style="color: #00D9FF;">Apprentissage supervisé</strong><br>Régression, Classification, Random Forest, XGBoost, LightGBM<br><br><strong style="color: #00D9FF;">Apprentissage profond</strong><br>CNN, RNN, LSTM, TensorFlow/Keras, Prévision de séries temporelles<br><br><strong style="color: #00D9FF;">NLP</strong><br>Analyse des sentiments, TextBlob, NLTK, TF-IDF, plongements lexicaux</p></div>', unsafe_allow_html=True)
|
| 16 |
+
|
| 17 |
+
st.markdown('<div class="skill-card"><h3 class="skill-title">🔧 Automatisation & Web Scraping</h3><p class="about-text"><strong style="color: #00D9FF;">Web Scraping</strong><br>BeautifulSoup, Scrapy, Selenium, extraction de données web à grande échelle<br><br><strong style="color: #00D9FF;">Automatisation</strong><br>Scripts Python d\'automatisation, planification de tâches, traitement batch<br><br><strong style="color: #00D9FF;">APIs</strong><br>Consommation et intégration d\'APIs REST, gestion de données externes</p></div>', unsafe_allow_html=True)
|
| 18 |
+
|
| 19 |
+
st.markdown('<div class="skill-card"><h3 class="skill-title">📊 Visualisation</h3><p class="about-text"><strong style="color: #00D9FF;">Streamlit</strong><br>Applications web interactives, tableaux de bord temps réel, déploiement<br><br><strong style="color: #00D9FF;">Plotly</strong><br>Graphiques interactifs avancés, animations<br><br><strong style="color: #00D9FF;">Tableau</strong><br>Création de dashboards professionnels, visualisations de données business, storytelling data</p></div>', unsafe_allow_html=True)
|
pages/4_Contact.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
from config import PERSONAL_INFO
|
| 3 |
+
|
| 4 |
+
st.set_page_config(page_title="Contact - Cheikh Niang", page_icon="📬", layout="wide")
|
| 5 |
+
|
| 6 |
+
def load_css():
|
| 7 |
+
with open("styles.css", encoding="utf-8") as f:
|
| 8 |
+
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 9 |
+
|
| 10 |
+
load_css()
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
st.markdown('<h1 style="color: #00D9FF; text-align: center; margin-bottom: 2rem; font-weight: 800;">📬 Me Contacter</h1>', unsafe_allow_html=True)
|
| 16 |
+
|
| 17 |
+
st.markdown('<div style="text-align: center; background: #1A1F3A; padding: 3rem; border-radius: 15px; margin: 2rem 0;"><h2 style="color: #FFFFFF; margin-bottom: 1rem; font-weight: 800;">💬 Disponible pour</h2><p style="color: #B8C5D6; font-size: 1.1rem; line-height: 2;">🔹 Postes Data Scientist / Data Analyst<br>🔹 Missions Freelance<br>🔹 Alternance / Stage<br>🔹 Collaborations ML/AI</p></div>', unsafe_allow_html=True)
|
| 18 |
+
|
| 19 |
+
col1, col2 = st.columns(2)
|
| 20 |
+
with col1:
|
| 21 |
+
st.markdown(f'<div class="metric-card"><div style="font-size: 3rem; margin-bottom: 1rem;">📧</div><div class="metric-label">Email</div><div style="color: #00D9FF; font-size: 1.1rem; margin-top: 0.5rem;">{PERSONAL_INFO["email"]}</div></div>', unsafe_allow_html=True)
|
| 22 |
+
with col2:
|
| 23 |
+
st.markdown(f'<div class="metric-card"><div style="font-size: 3rem; margin-bottom: 1rem;">📱</div><div class="metric-label">Téléphone</div><div style="color: #00D9FF; font-size: 1.1rem; margin-top: 0.5rem;">{PERSONAL_INFO["telephone"]}</div></div>', unsafe_allow_html=True)
|
| 24 |
+
|
| 25 |
+
st.markdown("<br>", unsafe_allow_html=True)
|
| 26 |
+
|
| 27 |
+
col3, col4 = st.columns(2)
|
| 28 |
+
with col3:
|
| 29 |
+
st.link_button("💼 LinkedIn", PERSONAL_INFO["linkedin"], use_container_width=True)
|
| 30 |
+
with col4:
|
| 31 |
+
st.link_button("💻 GitHub", PERSONAL_INFO["github"], use_container_width=True)
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
requirements.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
streamlit
|
| 2 |
+
Pillow
|
styles.css
ADDED
|
@@ -0,0 +1,348 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');
|
| 2 |
+
|
| 3 |
+
* {
|
| 4 |
+
font-family: 'Inter', sans-serif;
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
.main {
|
| 8 |
+
background: #0A0E27 !important;
|
| 9 |
+
color: #E8EAED !important;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
.stApp {
|
| 13 |
+
background: #0A0E27 !important;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
/* ============ SIDEBAR VISIBLE ============ */
|
| 17 |
+
[data-testid="stSidebar"] {
|
| 18 |
+
background: linear-gradient(180deg, #1A1F3A 0%, #0D1117 100%) !important;
|
| 19 |
+
border-right: 3px solid rgba(0, 217, 255, 0.5) !important;
|
| 20 |
+
box-shadow: 5px 0 20px rgba(0, 217, 255, 0.3) !important;
|
| 21 |
+
padding-top: 1rem !important;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
/* ============ BOUTONS RÉDUITS ============ */
|
| 25 |
+
[data-testid="stSidebarNav"] li {
|
| 26 |
+
background: #1A1F3A !important;
|
| 27 |
+
border-radius: 10px !important;
|
| 28 |
+
border: 2px solid rgba(0, 217, 255, 0.4) !important;
|
| 29 |
+
margin: 0.5rem 0.5rem !important;
|
| 30 |
+
padding: 0 !important;
|
| 31 |
+
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
|
| 32 |
+
transition: all 0.3s ease !important;
|
| 33 |
+
cursor: pointer !important;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
/* ============ TEXTE BOUTON - COMPACT ============ */
|
| 37 |
+
[data-testid="stSidebarNav"] a {
|
| 38 |
+
display: flex !important;
|
| 39 |
+
align-items: center !important;
|
| 40 |
+
justify-content: center !important;
|
| 41 |
+
gap: 0.6rem !important;
|
| 42 |
+
width: 100% !important;
|
| 43 |
+
padding: 0.8rem 0.5rem !important;
|
| 44 |
+
color: #FFFFFF !important;
|
| 45 |
+
font-weight: 700 !important;
|
| 46 |
+
font-size: 1.05rem !important;
|
| 47 |
+
text-shadow: none !important;
|
| 48 |
+
text-decoration: none !important;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
[data-testid="stSidebarNav"] a *,
|
| 52 |
+
[data-testid="stSidebarNav"] span {
|
| 53 |
+
color: #FFFFFF !important;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
/* ICÔNES - PLUS PETITES */
|
| 57 |
+
[data-testid="stSidebarNav"] li:nth-child(1) a::before {
|
| 58 |
+
content: "🏠";
|
| 59 |
+
font-size: 1.3rem;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
[data-testid="stSidebarNav"] li:nth-child(2) a::before {
|
| 63 |
+
content: "👤";
|
| 64 |
+
font-size: 1.3rem;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
[data-testid="stSidebarNav"] li:nth-child(3) a::before {
|
| 68 |
+
content: "💼";
|
| 69 |
+
font-size: 1.3rem;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
[data-testid="stSidebarNav"] li:nth-child(4) a::before {
|
| 73 |
+
content: "🎯";
|
| 74 |
+
font-size: 1.3rem;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
[data-testid="stSidebarNav"] li:nth-child(5) a::before {
|
| 78 |
+
content: "📬";
|
| 79 |
+
font-size: 1.3rem;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
/* ============ HOVER ============ */
|
| 83 |
+
[data-testid="stSidebarNav"] li:hover {
|
| 84 |
+
background: rgba(0, 217, 255, 0.15) !important;
|
| 85 |
+
border-color: #00D9FF !important;
|
| 86 |
+
transform: translateX(8px) scale(1.02) !important;
|
| 87 |
+
box-shadow: 0 6px 20px rgba(0, 217, 255, 0.5) !important;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
/* ============ PAGE ACTIVE ============ */
|
| 91 |
+
[data-testid="stSidebarNav"] li[aria-current="page"] {
|
| 92 |
+
background: linear-gradient(135deg, #00D9FF 0%, #667EEA 100%) !important;
|
| 93 |
+
border: 3px solid #00D9FF !important;
|
| 94 |
+
box-shadow: 0 8px 30px rgba(0, 217, 255, 0.7) !important;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
[data-testid="stSidebarNav"] li[aria-current="page"] a {
|
| 98 |
+
color: #FFFFFF !important;
|
| 99 |
+
font-weight: 900 !important;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
/* ============ BOUTONS STREAMLIT - TEXTE BLEU CLAIR ============ */
|
| 103 |
+
.stButton > button {
|
| 104 |
+
background: rgba(26, 31, 58, 0.9) !important;
|
| 105 |
+
color: #00D9FF !important;
|
| 106 |
+
border: 2px solid #00D9FF !important;
|
| 107 |
+
border-radius: 12px !important;
|
| 108 |
+
padding: 0.7rem 1.8rem !important;
|
| 109 |
+
font-weight: 900 !important;
|
| 110 |
+
font-size: 1.1rem !important;
|
| 111 |
+
transition: all 0.3s ease !important;
|
| 112 |
+
text-shadow: 0 0 15px rgba(0, 217, 255, 0.8) !important;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
.stButton > button span {
|
| 116 |
+
color: #00D9FF !important;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
.stButton > button:hover {
|
| 120 |
+
background: linear-gradient(135deg, #00D9FF 0%, #667EEA 100%) !important;
|
| 121 |
+
color: #FFFFFF !important;
|
| 122 |
+
transform: scale(1.1) !important;
|
| 123 |
+
box-shadow: 0 12px 35px rgba(0, 217, 255, 0.7) !important;
|
| 124 |
+
text-shadow: 0 2px 10px rgba(0,0,0,0.9) !important;
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
.stButton > button:hover span {
|
| 128 |
+
color: #FFFFFF !important;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
/* ============ CARTES ============ */
|
| 132 |
+
.equal-card {
|
| 133 |
+
background: #1A1F3A !important;
|
| 134 |
+
padding: 2rem !important;
|
| 135 |
+
border-radius: 15px !important;
|
| 136 |
+
border: 2px solid rgba(0, 217, 255, 0.3) !important;
|
| 137 |
+
margin: 2rem 0 !important;
|
| 138 |
+
height: 320px !important;
|
| 139 |
+
display: flex !important;
|
| 140 |
+
flex-direction: column !important;
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
.equal-card:hover {
|
| 144 |
+
border-color: #00D9FF !important;
|
| 145 |
+
transform: translateY(-10px) !important;
|
| 146 |
+
box-shadow: 0 20px 50px rgba(0, 217, 255, 0.5) !important;
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
.about-card, .skill-card, .project-card {
|
| 150 |
+
background: #1A1F3A !important;
|
| 151 |
+
padding: 2.5rem !important;
|
| 152 |
+
border-radius: 15px !important;
|
| 153 |
+
border: 2px solid rgba(0, 217, 255, 0.3) !important;
|
| 154 |
+
margin: 2rem 0 !important;
|
| 155 |
+
transition: all 0.3s ease !important;
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
.about-card:hover, .skill-card:hover, .project-card:hover {
|
| 159 |
+
border-color: #00D9FF !important;
|
| 160 |
+
transform: translateY(-10px) !important;
|
| 161 |
+
box-shadow: 0 20px 50px rgba(0, 217, 255, 0.4) !important;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.about-title, .skill-title, .project-title, .card-title, h2, h3 {
|
| 165 |
+
color: #FFFFFF !important;
|
| 166 |
+
font-size: 1.9rem !important;
|
| 167 |
+
font-weight: 900 !important;
|
| 168 |
+
margin-bottom: 1.5rem !important;
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
.about-text, .card-desc, p {
|
| 172 |
+
color: #D5DAE1 !important;
|
| 173 |
+
font-size: 1.08rem !important;
|
| 174 |
+
line-height: 2 !important;
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
.profile-img {
|
| 178 |
+
width: 200px !important;
|
| 179 |
+
height: 200px !important;
|
| 180 |
+
border-radius: 50% !important;
|
| 181 |
+
border: 4px solid #00D9FF !important;
|
| 182 |
+
box-shadow: 0 10px 40px rgba(0, 217, 255, 0.4) !important;
|
| 183 |
+
object-fit: cover !important;
|
| 184 |
+
display: block !important;
|
| 185 |
+
margin: 2rem auto !important;
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
.hero-name {
|
| 189 |
+
font-size: 3.5rem;
|
| 190 |
+
font-weight: 700;
|
| 191 |
+
background: linear-gradient(135deg, #667EEA 0%, #00D9FF 100%);
|
| 192 |
+
-webkit-background-clip: text;
|
| 193 |
+
-webkit-text-fill-color: transparent;
|
| 194 |
+
margin: 1rem 0;
|
| 195 |
+
text-align: center;
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
.hero-title {
|
| 199 |
+
font-size: 1.5rem;
|
| 200 |
+
color: #B8C5D6;
|
| 201 |
+
text-align: center;
|
| 202 |
+
margin-bottom: 1rem;
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
.hero-quote {
|
| 206 |
+
font-size: 1rem;
|
| 207 |
+
color: #8B9DC3;
|
| 208 |
+
font-style: italic;
|
| 209 |
+
max-width: 600px;
|
| 210 |
+
margin: 1rem auto;
|
| 211 |
+
text-align: center;
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
.metric-card {
|
| 215 |
+
background: #1A1F3A;
|
| 216 |
+
padding: 1.5rem;
|
| 217 |
+
border-radius: 12px;
|
| 218 |
+
text-align: center;
|
| 219 |
+
border: 2px solid rgba(0, 217, 255, 0.3);
|
| 220 |
+
height: 150px;
|
| 221 |
+
display: flex;
|
| 222 |
+
flex-direction: column;
|
| 223 |
+
justify-content: center;
|
| 224 |
+
transition: all 0.3s ease;
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
.metric-card:hover {
|
| 228 |
+
border-color: #00D9FF;
|
| 229 |
+
transform: translateY(-8px);
|
| 230 |
+
box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
|
| 231 |
+
}
|
| 232 |
+
|
| 233 |
+
.metric-value {
|
| 234 |
+
font-size: 2.5rem;
|
| 235 |
+
color: #00D9FF;
|
| 236 |
+
font-weight: 700;
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
.metric-label {
|
| 240 |
+
font-size: 0.9rem;
|
| 241 |
+
color: #B8C5D6;
|
| 242 |
+
margin-top: 0.5rem;
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
+
.card-badge {
|
| 246 |
+
display: inline-block;
|
| 247 |
+
background: #10B981;
|
| 248 |
+
color: white;
|
| 249 |
+
padding: 0.4rem 0.9rem;
|
| 250 |
+
border-radius: 12px;
|
| 251 |
+
font-size: 0.85rem;
|
| 252 |
+
margin-left: 0.5rem;
|
| 253 |
+
font-weight: 800;
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
.tech-pill {
|
| 257 |
+
display: inline-block;
|
| 258 |
+
background: rgba(102, 126, 234, 0.5);
|
| 259 |
+
color: #FFFFFF;
|
| 260 |
+
padding: 0.5rem 1.2rem;
|
| 261 |
+
border-radius: 15px;
|
| 262 |
+
margin: 0.4rem;
|
| 263 |
+
font-size: 0.9rem;
|
| 264 |
+
font-weight: 700;
|
| 265 |
+
transition: all 0.3s ease;
|
| 266 |
+
}
|
| 267 |
+
|
| 268 |
+
.tech-pill:hover {
|
| 269 |
+
background: rgba(0, 217, 255, 0.7);
|
| 270 |
+
transform: scale(1.15);
|
| 271 |
+
}
|
| 272 |
+
|
| 273 |
+
|
| 274 |
+
/* ============ LINK BUTTONS (GitHub, Démo, LinkedIn) ============ */
|
| 275 |
+
a[kind="primary"],
|
| 276 |
+
a[kind="secondary"],
|
| 277 |
+
[data-testid="stLinkButton"] a,
|
| 278 |
+
.stLinkButton > a {
|
| 279 |
+
background: rgba(26, 31, 58, 0.9) !important;
|
| 280 |
+
color: #00D9FF !important;
|
| 281 |
+
border: 2px solid #00D9FF !important;
|
| 282 |
+
border-radius: 12px !important;
|
| 283 |
+
padding: 0.7rem 1.8rem !important;
|
| 284 |
+
font-weight: 900 !important;
|
| 285 |
+
font-size: 1.1rem !important;
|
| 286 |
+
text-decoration: none !important;
|
| 287 |
+
display: inline-block !important;
|
| 288 |
+
transition: all 0.3s ease !important;
|
| 289 |
+
text-shadow: 0 0 15px rgba(0, 217, 255, 0.8) !important;
|
| 290 |
+
}
|
| 291 |
+
|
| 292 |
+
/* Forcer TOUS les éléments enfants en bleu */
|
| 293 |
+
a[kind="primary"] *,
|
| 294 |
+
a[kind="secondary"] *,
|
| 295 |
+
[data-testid="stLinkButton"] a *,
|
| 296 |
+
.stLinkButton > a * {
|
| 297 |
+
color: #00D9FF !important;
|
| 298 |
+
}
|
| 299 |
+
|
| 300 |
+
/* Hover link buttons */
|
| 301 |
+
a[kind="primary"]:hover,
|
| 302 |
+
a[kind="secondary"]:hover,
|
| 303 |
+
[data-testid="stLinkButton"] a:hover,
|
| 304 |
+
.stLinkButton > a:hover {
|
| 305 |
+
background: linear-gradient(135deg, #00D9FF 0%, #667EEA 100%) !important;
|
| 306 |
+
color: #FFFFFF !important;
|
| 307 |
+
transform: scale(1.1) !important;
|
| 308 |
+
box-shadow: 0 12px 35px rgba(0, 217, 255, 0.7) !important;
|
| 309 |
+
text-shadow: 0 2px 10px rgba(0,0,0,0.9) !important;
|
| 310 |
+
}
|
| 311 |
+
|
| 312 |
+
a[kind="primary"]:hover *,
|
| 313 |
+
a[kind="secondary"]:hover *,
|
| 314 |
+
[data-testid="stLinkButton"] a:hover *,
|
| 315 |
+
.stLinkButton > a:hover * {
|
| 316 |
+
color: #FFFFFF !important;
|
| 317 |
+
}
|
| 318 |
+
|
| 319 |
+
|
| 320 |
+
/* ============ BOUTONS TÉLÉCHARGEMENT (download_button) ============ */
|
| 321 |
+
.stDownloadButton > button {
|
| 322 |
+
background: linear-gradient(135deg, #00D9FF 0%, #667EEA 100%) !important;
|
| 323 |
+
color: #FFFFFF !important;
|
| 324 |
+
border: 2px solid #00D9FF !important;
|
| 325 |
+
border-radius: 12px !important;
|
| 326 |
+
padding: 0.8rem 2rem !important;
|
| 327 |
+
font-weight: 900 !important;
|
| 328 |
+
font-size: 1.15rem !important;
|
| 329 |
+
transition: all 0.3s ease !important;
|
| 330 |
+
text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
|
| 331 |
+
}
|
| 332 |
+
|
| 333 |
+
.stDownloadButton > button:hover {
|
| 334 |
+
background: linear-gradient(135deg, #667EEA 0%, #00D9FF 100%) !important;
|
| 335 |
+
transform: scale(1.08) !important;
|
| 336 |
+
box-shadow: 0 12px 35px rgba(0, 217, 255, 0.7) !important;
|
| 337 |
+
}
|
| 338 |
+
|
| 339 |
+
header[data-testid="stHeader"] {
|
| 340 |
+
background: transparent !important;
|
| 341 |
+
}
|
| 342 |
+
|
| 343 |
+
#MainMenu, footer {
|
| 344 |
+
visibility: hidden;
|
| 345 |
+
}
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
|