Commit ·
7f39680
1
Parent(s): b4ec558
Transform portfolio to HTML/CSS/JS with Flask - No more Streamlit limitations
Browse files- Dockerfile +4 -14
- README.md +17 -2
- app.py +14 -46
- config.py +0 -59
- generer.py +0 -8
- index.html +328 -0
- pages/1_About.py +0 -65
- pages/2_Projects.py +0 -73
- pages/3_Skills.py +0 -19
- pages/4_Contact.py +0 -35
- requirements.txt +1 -2
- static/css/style.css +469 -0
- {documents → static/documents}/CV_Cheikh_Niang.pdf +0 -0
- {documents → static/documents}/README.txt +0 -0
- {images → static/images}/profile/photo.jpg +0 -0
- {images → static/images}/projects/climate_change1.png +0 -0
- {images → static/images}/projects/climate_change2.png +0 -0
- {images → static/images}/projects/climate_change3.png +0 -0
- {images → static/images}/projects/climate_change4.png +0 -0
- {images → static/images}/projects/dakar_1.png +0 -0
- {images → static/images}/projects/dakar_2.png +0 -0
- {images → static/images}/projects/dakar_3.png +0 -0
- {images → static/images}/projects/dakar_4.png +0 -0
- {images → static/images}/projects/sentimentscope_1.png +0 -0
- {images → static/images}/projects/sentimentscope_2.png +0 -0
- {images → static/images}/projects/sentimentscope_3.png +0 -0
- {images → static/images}/projects/sentimentscope_4.png +0 -0
- {images → static/images}/projects/tidianeflix_1.png +0 -0
- {images → static/images}/projects/tidianeflix_2.png +0 -0
- {images → static/images}/projects/tidianeflix_3.png +0 -0
- {images → static/images}/projects/tidianeflix_4.png +0 -0
- static/js/script.js +25 -0
- styles.css +0 -346
Dockerfile
CHANGED
|
@@ -2,21 +2,11 @@ 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 |
-
|
| 19 |
-
|
|
|
|
| 20 |
|
| 21 |
-
|
| 22 |
-
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
| 5 |
COPY requirements.txt .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
|
| 8 |
+
COPY . .
|
| 9 |
+
|
| 10 |
+
EXPOSE 7860
|
| 11 |
|
| 12 |
+
CMD ["python", "app.py"]
|
|
|
README.md
CHANGED
|
@@ -4,5 +4,20 @@ emoji: 📊
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: purple
|
| 6 |
sdk: docker
|
| 7 |
-
app_port:
|
| 8 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: purple
|
| 6 |
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Portfolio - Cheikh Niang
|
| 11 |
+
|
| 12 |
+
Portfolio personnel d'un Data Scientist Junior basé à Dakar, Sénégal.
|
| 13 |
+
|
| 14 |
+
## Projets
|
| 15 |
+
|
| 16 |
+
- ⚡ Prédiction de puissance à Dakar
|
| 17 |
+
- 🎬 TidianeFlix
|
| 18 |
+
- 📊 SentimentScope
|
| 19 |
+
- 🌍 Analyse du climat africain
|
| 20 |
+
|
| 21 |
+
## Technologies
|
| 22 |
+
|
| 23 |
+
HTML, CSS, JavaScript, Flask
|
app.py
CHANGED
|
@@ -1,50 +1,18 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
import base64
|
| 4 |
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 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 |
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from flask import Flask, render_template, send_from_directory
|
| 2 |
+
import os
|
|
|
|
| 3 |
|
| 4 |
+
app = Flask(__name__,
|
| 5 |
+
static_folder='static',
|
| 6 |
+
template_folder='.')
|
| 7 |
|
| 8 |
+
@app.route('/')
|
| 9 |
+
def index():
|
| 10 |
+
return send_from_directory('.', 'index.html')
|
| 11 |
|
| 12 |
+
@app.route('/static/<path:path>')
|
| 13 |
+
def serve_static(path):
|
| 14 |
+
return send_from_directory('static', path)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
if __name__ == '__main__':
|
| 17 |
+
port = int(os.environ.get('PORT', 7860))
|
| 18 |
+
app.run(host='0.0.0.0', port=port, debug=False)
|
config.py
DELETED
|
@@ -1,59 +0,0 @@
|
|
| 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-power-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/TIDIANE_FLIX",
|
| 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/sentiment-analysis-nlp",
|
| 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 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
generer.py
DELETED
|
@@ -1,8 +0,0 @@
|
|
| 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")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
index.html
ADDED
|
@@ -0,0 +1,328 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="fr">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Portfolio - Cheikh Niang | Data Scientist</title>
|
| 7 |
+
<link rel="stylesheet" href="/static/css/style.css">
|
| 8 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap" rel="stylesheet">
|
| 9 |
+
</head>
|
| 10 |
+
<body>
|
| 11 |
+
<!-- SIDEBAR -->
|
| 12 |
+
<nav class="sidebar" id="sidebar">
|
| 13 |
+
<div class="sidebar-content">
|
| 14 |
+
<button class="nav-btn active" data-page="home">🏠 Accueil</button>
|
| 15 |
+
<button class="nav-btn" data-page="about">👤 About</button>
|
| 16 |
+
<button class="nav-btn" data-page="projects">💼 Projects</button>
|
| 17 |
+
<button class="nav-btn" data-page="skills">🎯 Skills</button>
|
| 18 |
+
<button class="nav-btn" data-page="contact">📧 Contact</button>
|
| 19 |
+
</div>
|
| 20 |
+
</nav>
|
| 21 |
+
|
| 22 |
+
<!-- MAIN CONTENT -->
|
| 23 |
+
<main class="main-content">
|
| 24 |
+
|
| 25 |
+
<!-- HOME PAGE -->
|
| 26 |
+
<section class="page active" id="home">
|
| 27 |
+
<div class="hero">
|
| 28 |
+
<img src="/static/images/profile/photo.jpg" alt="Cheikh Niang" class="profile-img">
|
| 29 |
+
<h1 class="hero-name">Cheikh Niang</h1>
|
| 30 |
+
<p class="hero-title">Data Scientist / Analyst</p>
|
| 31 |
+
<p class="hero-quote">"Transformer les données en insights actionnables"</p>
|
| 32 |
+
</div>
|
| 33 |
+
|
| 34 |
+
<div class="metrics">
|
| 35 |
+
<div class="metric-card">
|
| 36 |
+
<div class="metric-value">4</div>
|
| 37 |
+
<div class="metric-label">Projets</div>
|
| 38 |
+
</div>
|
| 39 |
+
<div class="metric-card">
|
| 40 |
+
<div class="metric-value">3</div>
|
| 41 |
+
<div class="metric-label">Apps en direct</div>
|
| 42 |
+
</div>
|
| 43 |
+
<div class="metric-card">
|
| 44 |
+
<div class="metric-value">534K+</div>
|
| 45 |
+
<div class="metric-label">Données</div>
|
| 46 |
+
</div>
|
| 47 |
+
<div class="metric-card">
|
| 48 |
+
<div class="metric-value">90%</div>
|
| 49 |
+
<div class="metric-label">Précision</div>
|
| 50 |
+
</div>
|
| 51 |
+
</div>
|
| 52 |
+
|
| 53 |
+
<h2 class="section-title">🚀 Projets Récents</h2>
|
| 54 |
+
|
| 55 |
+
<div class="home-projects">
|
| 56 |
+
<div class="home-project-card">
|
| 57 |
+
<h3>⚡ Prédiction de puissance à Dakar <span class="badge">Déployé</span></h3>
|
| 58 |
+
<p>Prédiction des coupures d'électricité à Dakar</p>
|
| 59 |
+
<div class="tech-pills">
|
| 60 |
+
<span class="tech-pill">Python</span>
|
| 61 |
+
<span class="tech-pill">LightGBM</span>
|
| 62 |
+
<span class="tech-pill">TensorFlow</span>
|
| 63 |
+
</div>
|
| 64 |
+
</div>
|
| 65 |
+
<div class="home-project-card">
|
| 66 |
+
<h3>🎬 TidianeFlix <span class="badge">Déployé</span></h3>
|
| 67 |
+
<p>Système de billetterie cinéma avec Analytics & ML</p>
|
| 68 |
+
<div class="tech-pills">
|
| 69 |
+
<span class="tech-pill">Streamlit</span>
|
| 70 |
+
<span class="tech-pill">SQLite</span>
|
| 71 |
+
<span class="tech-pill">Scikit-learn</span>
|
| 72 |
+
</div>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
|
| 76 |
+
<footer class="footer">
|
| 77 |
+
© 2025 Cheikh Niang • Data Scientist Junior • Dakar, Sénégal 🇸🇳
|
| 78 |
+
</footer>
|
| 79 |
+
</section>
|
| 80 |
+
|
| 81 |
+
<!-- ABOUT PAGE -->
|
| 82 |
+
<section class="page" id="about">
|
| 83 |
+
<h1 class="page-title">👤 À Propos</h1>
|
| 84 |
+
<div class="about-content">
|
| 85 |
+
<div class="about-card">
|
| 86 |
+
<h2>🎓 Formation</h2>
|
| 87 |
+
<p><strong>Data Science & Machine Learning</strong></p>
|
| 88 |
+
<p>Spécialisation en analyse de données, modélisation prédictive et deep learning</p>
|
| 89 |
+
</div>
|
| 90 |
+
|
| 91 |
+
<div class="about-card">
|
| 92 |
+
<h2>💼 Expérience</h2>
|
| 93 |
+
<p><strong>Data Scientist Junior</strong></p>
|
| 94 |
+
<p>Développement d'applications ML, analyse de données, visualisation interactive</p>
|
| 95 |
+
</div>
|
| 96 |
+
|
| 97 |
+
<div class="about-card">
|
| 98 |
+
<h2>🎯 Objectifs</h2>
|
| 99 |
+
<p>Transformer les données en insights actionnables pour résoudre des problèmes réels en Afrique</p>
|
| 100 |
+
</div>
|
| 101 |
+
|
| 102 |
+
<div class="about-card">
|
| 103 |
+
<h2>📄 CV</h2>
|
| 104 |
+
<p><a href="/static/documents/CV_Cheikh_Niang.pdf" download class="cv-link">📥 Télécharger mon CV</a></p>
|
| 105 |
+
</div>
|
| 106 |
+
</div>
|
| 107 |
+
</section>
|
| 108 |
+
|
| 109 |
+
<!-- PROJECTS PAGE -->
|
| 110 |
+
<section class="page" id="projects">
|
| 111 |
+
<h1 class="page-title">💼 Mes Projets Data Science</h1>
|
| 112 |
+
|
| 113 |
+
<!-- Project 1 -->
|
| 114 |
+
<div class="project-card">
|
| 115 |
+
<h2 class="project-title">⚡ Prédiction de puissance à Dakar <span class="badge">Déployé</span></h2>
|
| 116 |
+
<p class="project-desc">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.</p>
|
| 117 |
+
|
| 118 |
+
<div class="tech-section">
|
| 119 |
+
<strong>Technologies:</strong>
|
| 120 |
+
<div class="tech-pills">
|
| 121 |
+
<span class="tech-pill">Python</span>
|
| 122 |
+
<span class="tech-pill">LightGBM</span>
|
| 123 |
+
<span class="tech-pill">TensorFlow</span>
|
| 124 |
+
<span class="tech-pill">LSTM</span>
|
| 125 |
+
<span class="tech-pill">Streamlit</span>
|
| 126 |
+
<span class="tech-pill">Plotly</span>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
|
| 130 |
+
<h3>📸 Aperçu</h3>
|
| 131 |
+
<div class="project-images">
|
| 132 |
+
<img src="/static/images/projects/dakar_1.png" alt="Dakar 1" loading="lazy">
|
| 133 |
+
<img src="/static/images/projects/dakar_2.png" alt="Dakar 2" loading="lazy">
|
| 134 |
+
<img src="/static/images/projects/dakar_3.png" alt="Dakar 3" loading="lazy">
|
| 135 |
+
<img src="/static/images/projects/dakar_4.png" alt="Dakar 4" loading="lazy">
|
| 136 |
+
</div>
|
| 137 |
+
|
| 138 |
+
<h3>🔗 Liens</h3>
|
| 139 |
+
<div class="project-links">
|
| 140 |
+
<a href="https://github.com/chniang/dakar-power-prediction" target="_blank" class="project-link">💻 GitHub</a>
|
| 141 |
+
<a href="https://huggingface.co/spaces/TIJAANI/dakar-power-prediction" target="_blank" class="project-link">🌐 Démo</a>
|
| 142 |
+
</div>
|
| 143 |
+
</div>
|
| 144 |
+
|
| 145 |
+
<hr class="divider">
|
| 146 |
+
|
| 147 |
+
<!-- Project 2 -->
|
| 148 |
+
<div class="project-card">
|
| 149 |
+
<h2 class="project-title">🎬 TidianeFlix <span class="badge">Déployé</span></h2>
|
| 150 |
+
<p class="project-desc">Application full-stack de gestion de billetterie pour cinéma avec base de données SQLite. Combine analytics business et machine learning : KPIs financiers en temps réel, segmentation automatique des clients, prédiction des ventes futures.</p>
|
| 151 |
+
|
| 152 |
+
<div class="tech-section">
|
| 153 |
+
<strong>Technologies:</strong>
|
| 154 |
+
<div class="tech-pills">
|
| 155 |
+
<span class="tech-pill">Streamlit</span>
|
| 156 |
+
<span class="tech-pill">SQLite</span>
|
| 157 |
+
<span class="tech-pill">SQLAlchemy</span>
|
| 158 |
+
<span class="tech-pill">Pandas</span>
|
| 159 |
+
<span class="tech-pill">Plotly</span>
|
| 160 |
+
<span class="tech-pill">Scikit-learn</span>
|
| 161 |
+
</div>
|
| 162 |
+
</div>
|
| 163 |
+
|
| 164 |
+
<h3>📸 Aperçu</h3>
|
| 165 |
+
<div class="project-images">
|
| 166 |
+
<img src="/static/images/projects/tidianeflix_1.png" alt="TidianeFlix 1" loading="lazy">
|
| 167 |
+
<img src="/static/images/projects/tidianeflix_2.png" alt="TidianeFlix 2" loading="lazy">
|
| 168 |
+
<img src="/static/images/projects/tidianeflix_3.png" alt="TidianeFlix 3" loading="lazy">
|
| 169 |
+
<img src="/static/images/projects/tidianeflix_4.png" alt="TidianeFlix 4" loading="lazy">
|
| 170 |
+
</div>
|
| 171 |
+
|
| 172 |
+
<h3>🔗 Liens</h3>
|
| 173 |
+
<div class="project-links">
|
| 174 |
+
<a href="https://github.com/chniang/TIDIANE_FLIX" target="_blank" class="project-link">💻 GitHub</a>
|
| 175 |
+
<a href="https://huggingface.co/spaces/TIJAANI/tidiane-flix" target="_blank" class="project-link">🌐 Démo</a>
|
| 176 |
+
</div>
|
| 177 |
+
</div>
|
| 178 |
+
|
| 179 |
+
<hr class="divider">
|
| 180 |
+
|
| 181 |
+
<!-- Project 3 -->
|
| 182 |
+
<div class="project-card">
|
| 183 |
+
<h2 class="project-title">📊 SentimentScope <span class="badge">Déployé</span></h2>
|
| 184 |
+
<p class="project-desc">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.</p>
|
| 185 |
+
|
| 186 |
+
<div class="tech-section">
|
| 187 |
+
<strong>Technologies:</strong>
|
| 188 |
+
<div class="tech-pills">
|
| 189 |
+
<span class="tech-pill">Python</span>
|
| 190 |
+
<span class="tech-pill">TextBlob</span>
|
| 191 |
+
<span class="tech-pill">NLTK</span>
|
| 192 |
+
<span class="tech-pill">Streamlit</span>
|
| 193 |
+
<span class="tech-pill">Plotly</span>
|
| 194 |
+
<span class="tech-pill">WordCloud</span>
|
| 195 |
+
</div>
|
| 196 |
+
</div>
|
| 197 |
+
|
| 198 |
+
<h3>📸 Aperçu</h3>
|
| 199 |
+
<div class="project-images">
|
| 200 |
+
<img src="/static/images/projects/sentimentscope_1.png" alt="SentimentScope 1" loading="lazy">
|
| 201 |
+
<img src="/static/images/projects/sentimentscope_2.png" alt="SentimentScope 2" loading="lazy">
|
| 202 |
+
<img src="/static/images/projects/sentimentscope_3.png" alt="SentimentScope 3" loading="lazy">
|
| 203 |
+
<img src="/static/images/projects/sentimentscope_4.png" alt="SentimentScope 4" loading="lazy">
|
| 204 |
+
</div>
|
| 205 |
+
|
| 206 |
+
<h3>🔗 Liens</h3>
|
| 207 |
+
<div class="project-links">
|
| 208 |
+
<a href="https://github.com/chniang/sentiment-analysis-nlp" target="_blank" class="project-link">💻 GitHub</a>
|
| 209 |
+
<a href="https://huggingface.co/spaces/TIJAANI/sentiment-scope" target="_blank" class="project-link">🌐 Démo</a>
|
| 210 |
+
</div>
|
| 211 |
+
</div>
|
| 212 |
+
|
| 213 |
+
<hr class="divider">
|
| 214 |
+
|
| 215 |
+
<!-- Project 4 -->
|
| 216 |
+
<div class="project-card">
|
| 217 |
+
<h2 class="project-title">🌍 Analyse du climat africain <span class="badge complet">Complet</span></h2>
|
| 218 |
+
<p class="project-desc">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. Révèle une augmentation moyenne de +1.51°F des températures.</p>
|
| 219 |
+
|
| 220 |
+
<div class="tech-section">
|
| 221 |
+
<strong>Technologies:</strong>
|
| 222 |
+
<div class="tech-pills">
|
| 223 |
+
<span class="tech-pill">Python</span>
|
| 224 |
+
<span class="tech-pill">Pandas</span>
|
| 225 |
+
<span class="tech-pill">NumPy</span>
|
| 226 |
+
<span class="tech-pill">Matplotlib</span>
|
| 227 |
+
<span class="tech-pill">Seaborn</span>
|
| 228 |
+
<span class="tech-pill">Plotly</span>
|
| 229 |
+
<span class="tech-pill">Jupyter</span>
|
| 230 |
+
</div>
|
| 231 |
+
</div>
|
| 232 |
+
|
| 233 |
+
<h3>📸 Aperçu</h3>
|
| 234 |
+
<div class="project-images">
|
| 235 |
+
<img src="/static/images/projects/climate_change1.png" alt="Climate 1" loading="lazy">
|
| 236 |
+
<img src="/static/images/projects/climate_change2.png" alt="Climate 2" loading="lazy">
|
| 237 |
+
<img src="/static/images/projects/climate_change3.png" alt="Climate 3" loading="lazy">
|
| 238 |
+
<img src="/static/images/projects/climate_change4.png" alt="Climate 4" loading="lazy">
|
| 239 |
+
</div>
|
| 240 |
+
|
| 241 |
+
<h3>🔗 Liens</h3>
|
| 242 |
+
<div class="project-links">
|
| 243 |
+
<a href="https://github.com/chniang/Africa_climate_change_visualisation" target="_blank" class="project-link">💻 GitHub</a>
|
| 244 |
+
<a href="https://github.com/chniang/Africa_climate_change_visualisation/blob/Master/climate_analysis.ipynb" target="_blank" class="project-link">📓 Notebook</a>
|
| 245 |
+
</div>
|
| 246 |
+
</div>
|
| 247 |
+
</section>
|
| 248 |
+
|
| 249 |
+
<!-- SKILLS PAGE -->
|
| 250 |
+
<section class="page" id="skills">
|
| 251 |
+
<h1 class="page-title">🎯 Compétences</h1>
|
| 252 |
+
|
| 253 |
+
<div class="skills-grid">
|
| 254 |
+
<div class="skill-card">
|
| 255 |
+
<h2>💻 Langages</h2>
|
| 256 |
+
<div class="tech-pills">
|
| 257 |
+
<span class="tech-pill">Python</span>
|
| 258 |
+
<span class="tech-pill">SQL</span>
|
| 259 |
+
<span class="tech-pill">JavaScript</span>
|
| 260 |
+
<span class="tech-pill">HTML/CSS</span>
|
| 261 |
+
</div>
|
| 262 |
+
</div>
|
| 263 |
+
|
| 264 |
+
<div class="skill-card">
|
| 265 |
+
<h2>🤖 Machine Learning</h2>
|
| 266 |
+
<div class="tech-pills">
|
| 267 |
+
<span class="tech-pill">Scikit-learn</span>
|
| 268 |
+
<span class="tech-pill">TensorFlow</span>
|
| 269 |
+
<span class="tech-pill">LightGBM</span>
|
| 270 |
+
<span class="tech-pill">LSTM</span>
|
| 271 |
+
<span class="tech-pill">NLP</span>
|
| 272 |
+
</div>
|
| 273 |
+
</div>
|
| 274 |
+
|
| 275 |
+
<div class="skill-card">
|
| 276 |
+
<h2>📊 Visualisation</h2>
|
| 277 |
+
<div class="tech-pills">
|
| 278 |
+
<span class="tech-pill">Plotly</span>
|
| 279 |
+
<span class="tech-pill">Matplotlib</span>
|
| 280 |
+
<span class="tech-pill">Seaborn</span>
|
| 281 |
+
</div>
|
| 282 |
+
</div>
|
| 283 |
+
|
| 284 |
+
<div class="skill-card">
|
| 285 |
+
<h2>🛠️ Outils</h2>
|
| 286 |
+
<div class="tech-pills">
|
| 287 |
+
<span class="tech-pill">Streamlit</span>
|
| 288 |
+
<span class="tech-pill">Flask</span>
|
| 289 |
+
<span class="tech-pill">Git</span>
|
| 290 |
+
<span class="tech-pill">Docker</span>
|
| 291 |
+
<span class="tech-pill">Jupyter</span>
|
| 292 |
+
</div>
|
| 293 |
+
</div>
|
| 294 |
+
</div>
|
| 295 |
+
</section>
|
| 296 |
+
|
| 297 |
+
<!-- CONTACT PAGE -->
|
| 298 |
+
<section class="page" id="contact">
|
| 299 |
+
<h1 class="page-title">📧 Contact</h1>
|
| 300 |
+
|
| 301 |
+
<div class="contact-content">
|
| 302 |
+
<div class="contact-card">
|
| 303 |
+
<h2>📧 Email</h2>
|
| 304 |
+
<a href="mailto:cheikhniang159@gmail.com">cheikhniang159@gmail.com</a>
|
| 305 |
+
</div>
|
| 306 |
+
|
| 307 |
+
<div class="contact-card">
|
| 308 |
+
<h2>📱 Téléphone</h2>
|
| 309 |
+
<a href="tel:+221776362714">+221 77 636 27 14</a>
|
| 310 |
+
</div>
|
| 311 |
+
|
| 312 |
+
<div class="contact-card">
|
| 313 |
+
<h2>💼 LinkedIn</h2>
|
| 314 |
+
<a href="https://www.linkedin.com/in/cheikh-niang-8b9418271/" target="_blank">Profil LinkedIn</a>
|
| 315 |
+
</div>
|
| 316 |
+
|
| 317 |
+
<div class="contact-card">
|
| 318 |
+
<h2>💻 GitHub</h2>
|
| 319 |
+
<a href="https://github.com/chniang" target="_blank">@chniang</a>
|
| 320 |
+
</div>
|
| 321 |
+
</div>
|
| 322 |
+
</section>
|
| 323 |
+
|
| 324 |
+
</main>
|
| 325 |
+
|
| 326 |
+
<script src="/static/js/script.js"></script>
|
| 327 |
+
</body>
|
| 328 |
+
</html>
|
pages/1_About.py
DELETED
|
@@ -1,65 +0,0 @@
|
|
| 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
DELETED
|
@@ -1,73 +0,0 @@
|
|
| 1 |
-
import streamlit as st
|
| 2 |
-
from config import PROJECTS
|
| 3 |
-
import base64
|
| 4 |
-
from pathlib import Path
|
| 5 |
-
|
| 6 |
-
st.set_page_config(page_title="Projets", page_icon="💼", layout="wide")
|
| 7 |
-
|
| 8 |
-
with open("styles.css", encoding="utf-8") as f:
|
| 9 |
-
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 10 |
-
|
| 11 |
-
# Cache persistent avec fichier
|
| 12 |
-
@st.cache_data(ttl=3600)
|
| 13 |
-
def load_all_images():
|
| 14 |
-
cache = {}
|
| 15 |
-
images = [
|
| 16 |
-
*[f"images/projects/dakar_{i}.png" for i in range(1, 5)],
|
| 17 |
-
*[f"images/projects/tidianeflix_{i}.png" for i in range(1, 5)],
|
| 18 |
-
*[f"images/projects/sentimentscope_{i}.png" for i in range(1, 5)],
|
| 19 |
-
*[f"images/projects/climate_change{i}.png" for i in range(1, 5)]
|
| 20 |
-
]
|
| 21 |
-
|
| 22 |
-
for img_path in images:
|
| 23 |
-
try:
|
| 24 |
-
with open(img_path, "rb") as f:
|
| 25 |
-
cache[img_path] = base64.b64encode(f.read()).decode()
|
| 26 |
-
except:
|
| 27 |
-
cache[img_path] = None
|
| 28 |
-
|
| 29 |
-
return cache
|
| 30 |
-
|
| 31 |
-
# Charger AVEC cache Streamlit
|
| 32 |
-
images_cache = load_all_images()
|
| 33 |
-
|
| 34 |
-
html = '<h1 style="color: #00D9FF; text-align: center; margin-bottom: 3rem; font-weight: 800;">💼 Mes Projets Data Science</h1>'
|
| 35 |
-
|
| 36 |
-
for idx, proj in enumerate(PROJECTS):
|
| 37 |
-
clean_title = proj["titre"].replace(proj["icon"], "").strip()
|
| 38 |
-
badge_style = "" if proj["statut"] == "Déployé" else 'style="background: #667EEA;"'
|
| 39 |
-
badge_text = "✓ Déployé" if proj["statut"] == "Déployé" else "✓ Complet"
|
| 40 |
-
|
| 41 |
-
html += f'<div class="project-card" style="margin: 2rem 0;">'
|
| 42 |
-
html += f'<h2 class="project-title">{proj["icon"]} {clean_title} <span class="card-badge" {badge_style}>{badge_text}</span></h2>'
|
| 43 |
-
html += f'<p style="color: #D5DAE1; font-size: 1.05rem; line-height: 1.8;">{proj["description"]}</p>'
|
| 44 |
-
|
| 45 |
-
html += '<div style="margin: 1rem 0;"><strong style="color: #00D9FF;">Technologies:</strong><br/>'
|
| 46 |
-
for tech in proj["technologies"]:
|
| 47 |
-
html += f'<span class="tech-pill">{tech}</span>'
|
| 48 |
-
html += '</div>'
|
| 49 |
-
|
| 50 |
-
html += '<h3 style="color: #00D9FF; margin: 1.5rem 0 1rem;">📸 Aperçu</h3>'
|
| 51 |
-
html += '<div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;">'
|
| 52 |
-
|
| 53 |
-
prefix = ["dakar", "tidianeflix", "sentimentscope", "climate_change"][idx]
|
| 54 |
-
for i in range(1, 5):
|
| 55 |
-
suffix = f"_{i}" if idx < 3 else str(i)
|
| 56 |
-
img_path = f"images/projects/{prefix}{suffix}.png"
|
| 57 |
-
|
| 58 |
-
img_b64 = images_cache.get(img_path)
|
| 59 |
-
if img_b64:
|
| 60 |
-
html += f'<img src="data:image/png;base64,{img_b64}" style="width: 100%; border-radius: 8px; border: 2px solid rgba(0,217,255,0.3);" loading="lazy" decoding="async">'
|
| 61 |
-
|
| 62 |
-
html += '</div><h3 style="color: #00D9FF; margin: 1.5rem 0 1rem;">🔗 Liens du projet</h3>'
|
| 63 |
-
html += '<div style="display: flex; gap: 1rem; flex-wrap: wrap;">'
|
| 64 |
-
|
| 65 |
-
labels = {"github": "💻 GitHub", "demo": "🌐 Démo en direct", "notebook": "📓 Carnet"}
|
| 66 |
-
for key, url in proj["liens"].items():
|
| 67 |
-
html += f'<a href="{url}" target="_blank" style="flex: 1; min-width: 150px; background: rgba(26,31,58,0.9); color: #00D9FF; border: 2px solid #00D9FF; border-radius: 12px; padding: 0.8rem; text-align: center; text-decoration: none; font-weight: 700; transition: all 0.3s;">{labels.get(key, key)}</a>'
|
| 68 |
-
|
| 69 |
-
html += '</div></div>'
|
| 70 |
-
if idx < len(PROJECTS) - 1:
|
| 71 |
-
html += '<hr style="margin: 3rem 0; border: 1px solid rgba(0,217,255,0.2);">'
|
| 72 |
-
|
| 73 |
-
st.markdown(html, unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pages/3_Skills.py
DELETED
|
@@ -1,19 +0,0 @@
|
|
| 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
DELETED
|
@@ -1,35 +0,0 @@
|
|
| 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 |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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
* {
|
| 2 |
+
margin: 0;
|
| 3 |
+
padding: 0;
|
| 4 |
+
box-sizing: border-box;
|
| 5 |
+
font-family: "Inter", sans-serif;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
body {
|
| 9 |
+
background: #0A0E27;
|
| 10 |
+
color: #E8EAED;
|
| 11 |
+
overflow-x: hidden;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
/* ============ SIDEBAR STICKY ============ */
|
| 15 |
+
.sidebar {
|
| 16 |
+
position: fixed;
|
| 17 |
+
top: 0;
|
| 18 |
+
left: 0;
|
| 19 |
+
width: 280px;
|
| 20 |
+
height: 100vh;
|
| 21 |
+
background: linear-gradient(180deg, #1A1F3A 0%, #0D1117 100%);
|
| 22 |
+
border-right: 3px solid rgba(0, 217, 255, 0.5);
|
| 23 |
+
box-shadow: 5px 0 20px rgba(0, 217, 255, 0.3);
|
| 24 |
+
overflow-y: auto;
|
| 25 |
+
z-index: 1000;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.sidebar-content {
|
| 29 |
+
padding: 2rem 1rem;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.nav-btn {
|
| 33 |
+
width: 100%;
|
| 34 |
+
background: #1A1F3A;
|
| 35 |
+
color: #FFFFFF;
|
| 36 |
+
border: 2px solid rgba(0, 217, 255, 0.4);
|
| 37 |
+
border-radius: 10px;
|
| 38 |
+
padding: 1rem;
|
| 39 |
+
margin: 0.5rem 0;
|
| 40 |
+
font-size: 1.05rem;
|
| 41 |
+
font-weight: 700;
|
| 42 |
+
cursor: pointer;
|
| 43 |
+
transition: all 0.3s ease;
|
| 44 |
+
text-align: center;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.nav-btn:hover {
|
| 48 |
+
background: rgba(0, 217, 255, 0.15);
|
| 49 |
+
border-color: #00D9FF;
|
| 50 |
+
transform: translateX(8px) scale(1.02);
|
| 51 |
+
box-shadow: 0 6px 20px rgba(0, 217, 255, 0.5);
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.nav-btn.active {
|
| 55 |
+
background: linear-gradient(135deg, #00D9FF 0%, #667EEA 100%);
|
| 56 |
+
border: 3px solid #00D9FF;
|
| 57 |
+
box-shadow: 0 8px 30px rgba(0, 217, 255, 0.7);
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
/* ============ MAIN CONTENT ============ */
|
| 61 |
+
.main-content {
|
| 62 |
+
margin-left: 280px;
|
| 63 |
+
min-height: 100vh;
|
| 64 |
+
padding: 2rem;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.page {
|
| 68 |
+
display: none;
|
| 69 |
+
animation: fadeIn 0.5s ease;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
.page.active {
|
| 73 |
+
display: block;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
@keyframes fadeIn {
|
| 77 |
+
from { opacity: 0; transform: translateY(20px); }
|
| 78 |
+
to { opacity: 1; transform: translateY(0); }
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
/* ============ HOME PAGE ============ */
|
| 82 |
+
.hero {
|
| 83 |
+
text-align: center;
|
| 84 |
+
padding: 3rem 0;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.profile-img {
|
| 88 |
+
width: 200px;
|
| 89 |
+
height: 200px;
|
| 90 |
+
border-radius: 50%;
|
| 91 |
+
border: 5px solid #00D9FF;
|
| 92 |
+
box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
|
| 93 |
+
margin-bottom: 2rem;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.hero-name {
|
| 97 |
+
font-size: 3.5rem;
|
| 98 |
+
font-weight: 900;
|
| 99 |
+
color: #FFFFFF;
|
| 100 |
+
margin-bottom: 1rem;
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
.hero-title {
|
| 104 |
+
font-size: 1.5rem;
|
| 105 |
+
color: #00D9FF;
|
| 106 |
+
margin-bottom: 1rem;
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
.hero-quote {
|
| 110 |
+
font-size: 1.2rem;
|
| 111 |
+
color: #8B9DC3;
|
| 112 |
+
font-style: italic;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
.metrics {
|
| 116 |
+
display: grid;
|
| 117 |
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
| 118 |
+
gap: 2rem;
|
| 119 |
+
margin: 3rem 0;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
.metric-card {
|
| 123 |
+
background: #1A1F3A;
|
| 124 |
+
padding: 2rem;
|
| 125 |
+
border-radius: 15px;
|
| 126 |
+
border: 2px solid rgba(0, 217, 255, 0.3);
|
| 127 |
+
text-align: center;
|
| 128 |
+
transition: all 0.3s ease;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.metric-card:hover {
|
| 132 |
+
border-color: #00D9FF;
|
| 133 |
+
transform: translateY(-10px);
|
| 134 |
+
box-shadow: 0 20px 50px rgba(0, 217, 255, 0.4);
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
.metric-value {
|
| 138 |
+
font-size: 2.5rem;
|
| 139 |
+
font-weight: 900;
|
| 140 |
+
color: #00D9FF;
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
.metric-label {
|
| 144 |
+
font-size: 1rem;
|
| 145 |
+
color: #D5DAE1;
|
| 146 |
+
margin-top: 0.5rem;
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
.section-title {
|
| 150 |
+
color: #00D9FF;
|
| 151 |
+
text-align: center;
|
| 152 |
+
margin: 3rem 0;
|
| 153 |
+
font-size: 2rem;
|
| 154 |
+
font-weight: 800;
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
.home-projects {
|
| 158 |
+
display: grid;
|
| 159 |
+
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
| 160 |
+
gap: 2rem;
|
| 161 |
+
margin: 2rem 0;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.home-project-card {
|
| 165 |
+
background: #1A1F3A;
|
| 166 |
+
padding: 2rem;
|
| 167 |
+
border-radius: 15px;
|
| 168 |
+
border: 2px solid rgba(0, 217, 255, 0.3);
|
| 169 |
+
transition: all 0.3s ease;
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.home-project-card:hover {
|
| 173 |
+
border-color: #00D9FF;
|
| 174 |
+
transform: translateY(-10px);
|
| 175 |
+
box-shadow: 0 20px 50px rgba(0, 217, 255, 0.4);
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
.home-project-card h3 {
|
| 179 |
+
color: #FFFFFF;
|
| 180 |
+
font-size: 1.5rem;
|
| 181 |
+
margin-bottom: 1rem;
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
.home-project-card p {
|
| 185 |
+
color: #D5DAE1;
|
| 186 |
+
line-height: 1.8;
|
| 187 |
+
margin-bottom: 1rem;
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
.footer {
|
| 191 |
+
text-align: center;
|
| 192 |
+
color: #8B9DC3;
|
| 193 |
+
margin-top: 4rem;
|
| 194 |
+
padding: 2rem;
|
| 195 |
+
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
/* ============ BADGES & PILLS ============ */
|
| 199 |
+
.badge {
|
| 200 |
+
display: inline-block;
|
| 201 |
+
background: #10B981;
|
| 202 |
+
color: white;
|
| 203 |
+
padding: 0.4rem 0.9rem;
|
| 204 |
+
border-radius: 12px;
|
| 205 |
+
font-size: 0.85rem;
|
| 206 |
+
margin-left: 0.5rem;
|
| 207 |
+
font-weight: 800;
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
+
.badge.complet {
|
| 211 |
+
background: #667EEA;
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
.tech-pills {
|
| 215 |
+
display: flex;
|
| 216 |
+
flex-wrap: wrap;
|
| 217 |
+
gap: 0.5rem;
|
| 218 |
+
margin-top: 0.5rem;
|
| 219 |
+
}
|
| 220 |
+
|
| 221 |
+
.tech-pill {
|
| 222 |
+
display: inline-block;
|
| 223 |
+
background: rgba(102, 126, 234, 0.5);
|
| 224 |
+
color: #FFFFFF;
|
| 225 |
+
padding: 0.5rem 1.2rem;
|
| 226 |
+
border-radius: 15px;
|
| 227 |
+
font-size: 0.9rem;
|
| 228 |
+
font-weight: 700;
|
| 229 |
+
transition: all 0.3s ease;
|
| 230 |
+
}
|
| 231 |
+
|
| 232 |
+
.tech-pill:hover {
|
| 233 |
+
background: rgba(0, 217, 255, 0.7);
|
| 234 |
+
transform: scale(1.15);
|
| 235 |
+
}
|
| 236 |
+
|
| 237 |
+
/* ============ PAGES GÉNÉRALES ============ */
|
| 238 |
+
.page-title {
|
| 239 |
+
color: #00D9FF;
|
| 240 |
+
font-size: 2.5rem;
|
| 241 |
+
font-weight: 900;
|
| 242 |
+
margin-bottom: 2rem;
|
| 243 |
+
text-align: center;
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
/* ============ ABOUT PAGE ============ */
|
| 247 |
+
.about-content {
|
| 248 |
+
display: grid;
|
| 249 |
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
| 250 |
+
gap: 2rem;
|
| 251 |
+
}
|
| 252 |
+
|
| 253 |
+
.about-card {
|
| 254 |
+
background: #1A1F3A;
|
| 255 |
+
padding: 2rem;
|
| 256 |
+
border-radius: 15px;
|
| 257 |
+
border: 2px solid rgba(0, 217, 255, 0.3);
|
| 258 |
+
transition: all 0.3s ease;
|
| 259 |
+
}
|
| 260 |
+
|
| 261 |
+
.about-card:hover {
|
| 262 |
+
border-color: #00D9FF;
|
| 263 |
+
transform: translateY(-10px);
|
| 264 |
+
box-shadow: 0 20px 50px rgba(0, 217, 255, 0.4);
|
| 265 |
+
}
|
| 266 |
+
|
| 267 |
+
.about-card h2 {
|
| 268 |
+
color: #FFFFFF;
|
| 269 |
+
font-size: 1.5rem;
|
| 270 |
+
margin-bottom: 1rem;
|
| 271 |
+
}
|
| 272 |
+
|
| 273 |
+
.about-card p {
|
| 274 |
+
color: #D5DAE1;
|
| 275 |
+
line-height: 1.8;
|
| 276 |
+
margin-bottom: 0.5rem;
|
| 277 |
+
}
|
| 278 |
+
|
| 279 |
+
.cv-link {
|
| 280 |
+
color: #00D9FF;
|
| 281 |
+
text-decoration: none;
|
| 282 |
+
font-weight: 700;
|
| 283 |
+
transition: all 0.3s ease;
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
.cv-link:hover {
|
| 287 |
+
color: #667EEA;
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
/* ============ PROJECTS PAGE ============ */
|
| 291 |
+
.project-card {
|
| 292 |
+
background: #1A1F3A;
|
| 293 |
+
padding: 2.5rem;
|
| 294 |
+
border-radius: 15px;
|
| 295 |
+
border: 2px solid rgba(0, 217, 255, 0.3);
|
| 296 |
+
margin: 2rem 0;
|
| 297 |
+
transition: all 0.3s ease;
|
| 298 |
+
}
|
| 299 |
+
|
| 300 |
+
.project-card:hover {
|
| 301 |
+
border-color: #00D9FF;
|
| 302 |
+
box-shadow: 0 20px 50px rgba(0, 217, 255, 0.4);
|
| 303 |
+
}
|
| 304 |
+
|
| 305 |
+
.project-title {
|
| 306 |
+
color: #FFFFFF;
|
| 307 |
+
font-size: 1.9rem;
|
| 308 |
+
font-weight: 900;
|
| 309 |
+
margin-bottom: 1.5rem;
|
| 310 |
+
}
|
| 311 |
+
|
| 312 |
+
.project-desc {
|
| 313 |
+
color: #D5DAE1;
|
| 314 |
+
font-size: 1.08rem;
|
| 315 |
+
line-height: 2;
|
| 316 |
+
margin-bottom: 1.5rem;
|
| 317 |
+
}
|
| 318 |
+
|
| 319 |
+
.tech-section {
|
| 320 |
+
margin: 1.5rem 0;
|
| 321 |
+
}
|
| 322 |
+
|
| 323 |
+
.tech-section strong {
|
| 324 |
+
color: #00D9FF;
|
| 325 |
+
font-size: 1.1rem;
|
| 326 |
+
}
|
| 327 |
+
|
| 328 |
+
.project-card h3 {
|
| 329 |
+
color: #00D9FF;
|
| 330 |
+
margin: 2rem 0 1rem 0;
|
| 331 |
+
font-size: 1.3rem;
|
| 332 |
+
}
|
| 333 |
+
|
| 334 |
+
.project-images {
|
| 335 |
+
display: grid;
|
| 336 |
+
grid-template-columns: repeat(2, 1fr);
|
| 337 |
+
gap: 1rem;
|
| 338 |
+
margin: 1rem 0;
|
| 339 |
+
}
|
| 340 |
+
|
| 341 |
+
.project-images img {
|
| 342 |
+
width: 100%;
|
| 343 |
+
border-radius: 10px;
|
| 344 |
+
border: 2px solid rgba(0, 217, 255, 0.3);
|
| 345 |
+
transition: all 0.3s ease;
|
| 346 |
+
}
|
| 347 |
+
|
| 348 |
+
.project-images img:hover {
|
| 349 |
+
border-color: #00D9FF;
|
| 350 |
+
transform: scale(1.05);
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
.project-links {
|
| 354 |
+
display: flex;
|
| 355 |
+
gap: 1rem;
|
| 356 |
+
flex-wrap: wrap;
|
| 357 |
+
margin-top: 1rem;
|
| 358 |
+
}
|
| 359 |
+
|
| 360 |
+
.project-link {
|
| 361 |
+
flex: 1;
|
| 362 |
+
min-width: 150px;
|
| 363 |
+
background: rgba(26, 31, 58, 0.9);
|
| 364 |
+
color: #00D9FF;
|
| 365 |
+
border: 2px solid #00D9FF;
|
| 366 |
+
border-radius: 12px;
|
| 367 |
+
padding: 0.8rem 1.5rem;
|
| 368 |
+
text-align: center;
|
| 369 |
+
text-decoration: none;
|
| 370 |
+
font-weight: 700;
|
| 371 |
+
transition: all 0.3s ease;
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
.project-link:hover {
|
| 375 |
+
background: linear-gradient(135deg, #00D9FF 0%, #667EEA 100%);
|
| 376 |
+
color: #FFFFFF;
|
| 377 |
+
transform: scale(1.05);
|
| 378 |
+
box-shadow: 0 8px 25px rgba(0, 217, 255, 0.6);
|
| 379 |
+
}
|
| 380 |
+
|
| 381 |
+
.divider {
|
| 382 |
+
margin: 3rem 0;
|
| 383 |
+
border: none;
|
| 384 |
+
border-top: 1px solid rgba(0, 217, 255, 0.2);
|
| 385 |
+
}
|
| 386 |
+
|
| 387 |
+
/* ============ SKILLS PAGE ============ */
|
| 388 |
+
.skills-grid {
|
| 389 |
+
display: grid;
|
| 390 |
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
| 391 |
+
gap: 2rem;
|
| 392 |
+
}
|
| 393 |
+
|
| 394 |
+
.skill-card {
|
| 395 |
+
background: #1A1F3A;
|
| 396 |
+
padding: 2rem;
|
| 397 |
+
border-radius: 15px;
|
| 398 |
+
border: 2px solid rgba(0, 217, 255, 0.3);
|
| 399 |
+
transition: all 0.3s ease;
|
| 400 |
+
}
|
| 401 |
+
|
| 402 |
+
.skill-card:hover {
|
| 403 |
+
border-color: #00D9FF;
|
| 404 |
+
transform: translateY(-10px);
|
| 405 |
+
box-shadow: 0 20px 50px rgba(0, 217, 255, 0.4);
|
| 406 |
+
}
|
| 407 |
+
|
| 408 |
+
.skill-card h2 {
|
| 409 |
+
color: #FFFFFF;
|
| 410 |
+
font-size: 1.5rem;
|
| 411 |
+
margin-bottom: 1rem;
|
| 412 |
+
}
|
| 413 |
+
|
| 414 |
+
/* ============ CONTACT PAGE ============ */
|
| 415 |
+
.contact-content {
|
| 416 |
+
display: grid;
|
| 417 |
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
| 418 |
+
gap: 2rem;
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
.contact-card {
|
| 422 |
+
background: #1A1F3A;
|
| 423 |
+
padding: 2rem;
|
| 424 |
+
border-radius: 15px;
|
| 425 |
+
border: 2px solid rgba(0, 217, 255, 0.3);
|
| 426 |
+
text-align: center;
|
| 427 |
+
transition: all 0.3s ease;
|
| 428 |
+
}
|
| 429 |
+
|
| 430 |
+
.contact-card:hover {
|
| 431 |
+
border-color: #00D9FF;
|
| 432 |
+
transform: translateY(-10px);
|
| 433 |
+
box-shadow: 0 20px 50px rgba(0, 217, 255, 0.4);
|
| 434 |
+
}
|
| 435 |
+
|
| 436 |
+
.contact-card h2 {
|
| 437 |
+
color: #FFFFFF;
|
| 438 |
+
font-size: 1.5rem;
|
| 439 |
+
margin-bottom: 1rem;
|
| 440 |
+
}
|
| 441 |
+
|
| 442 |
+
.contact-card a {
|
| 443 |
+
color: #00D9FF;
|
| 444 |
+
text-decoration: none;
|
| 445 |
+
font-weight: 700;
|
| 446 |
+
font-size: 1.1rem;
|
| 447 |
+
transition: all 0.3s ease;
|
| 448 |
+
}
|
| 449 |
+
|
| 450 |
+
.contact-card a:hover {
|
| 451 |
+
color: #667EEA;
|
| 452 |
+
}
|
| 453 |
+
|
| 454 |
+
/* ============ RESPONSIVE ============ */
|
| 455 |
+
@media (max-width: 768px) {
|
| 456 |
+
.sidebar {
|
| 457 |
+
width: 100%;
|
| 458 |
+
height: auto;
|
| 459 |
+
position: relative;
|
| 460 |
+
}
|
| 461 |
+
|
| 462 |
+
.main-content {
|
| 463 |
+
margin-left: 0;
|
| 464 |
+
}
|
| 465 |
+
|
| 466 |
+
.project-images {
|
| 467 |
+
grid-template-columns: 1fr;
|
| 468 |
+
}
|
| 469 |
+
}
|
{documents → static/documents}/CV_Cheikh_Niang.pdf
RENAMED
|
File without changes
|
{documents → static/documents}/README.txt
RENAMED
|
File without changes
|
{images → static/images}/profile/photo.jpg
RENAMED
|
File without changes
|
{images → static/images}/projects/climate_change1.png
RENAMED
|
File without changes
|
{images → static/images}/projects/climate_change2.png
RENAMED
|
File without changes
|
{images → static/images}/projects/climate_change3.png
RENAMED
|
File without changes
|
{images → static/images}/projects/climate_change4.png
RENAMED
|
File without changes
|
{images → static/images}/projects/dakar_1.png
RENAMED
|
File without changes
|
{images → static/images}/projects/dakar_2.png
RENAMED
|
File without changes
|
{images → static/images}/projects/dakar_3.png
RENAMED
|
File without changes
|
{images → static/images}/projects/dakar_4.png
RENAMED
|
File without changes
|
{images → static/images}/projects/sentimentscope_1.png
RENAMED
|
File without changes
|
{images → static/images}/projects/sentimentscope_2.png
RENAMED
|
File without changes
|
{images → static/images}/projects/sentimentscope_3.png
RENAMED
|
File without changes
|
{images → static/images}/projects/sentimentscope_4.png
RENAMED
|
File without changes
|
{images → static/images}/projects/tidianeflix_1.png
RENAMED
|
File without changes
|
{images → static/images}/projects/tidianeflix_2.png
RENAMED
|
File without changes
|
{images → static/images}/projects/tidianeflix_3.png
RENAMED
|
File without changes
|
{images → static/images}/projects/tidianeflix_4.png
RENAMED
|
File without changes
|
static/js/script.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Navigation entre les pages
|
| 2 |
+
document.addEventListener("DOMContentLoaded", function() {
|
| 3 |
+
const navButtons = document.querySelectorAll(".nav-btn");
|
| 4 |
+
const pages = document.querySelectorAll(".page");
|
| 5 |
+
|
| 6 |
+
navButtons.forEach(button => {
|
| 7 |
+
button.addEventListener("click", function() {
|
| 8 |
+
// Retirer la classe active de tous les boutons
|
| 9 |
+
navButtons.forEach(btn => btn.classList.remove("active"));
|
| 10 |
+
|
| 11 |
+
// Ajouter la classe active au bouton cliqué
|
| 12 |
+
this.classList.add("active");
|
| 13 |
+
|
| 14 |
+
// Cacher toutes les pages
|
| 15 |
+
pages.forEach(page => page.classList.remove("active"));
|
| 16 |
+
|
| 17 |
+
// Afficher la page correspondante
|
| 18 |
+
const pageId = this.getAttribute("data-page");
|
| 19 |
+
document.getElementById(pageId).classList.add("active");
|
| 20 |
+
|
| 21 |
+
// Scroll vers le haut
|
| 22 |
+
window.scrollTo({ top: 0, behavior: "smooth" });
|
| 23 |
+
});
|
| 24 |
+
});
|
| 25 |
+
});
|
styles.css
DELETED
|
@@ -1,346 +0,0 @@
|
|
| 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 ============ */
|
| 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 |
-
}
|
| 22 |
-
|
| 23 |
-
[data-testid="stSidebarNav"] li {
|
| 24 |
-
background: #1A1F3A !important;
|
| 25 |
-
border-radius: 10px !important;
|
| 26 |
-
border: 2px solid rgba(0, 217, 255, 0.4) !important;
|
| 27 |
-
margin: 0.5rem 0.5rem !important;
|
| 28 |
-
padding: 0 !important;
|
| 29 |
-
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
|
| 30 |
-
transition: all 0.3s ease !important;
|
| 31 |
-
}
|
| 32 |
-
|
| 33 |
-
[data-testid="stSidebarNav"] a {
|
| 34 |
-
display: flex !important;
|
| 35 |
-
align-items: center !important;
|
| 36 |
-
justify-content: center !important;
|
| 37 |
-
gap: 0.6rem !important;
|
| 38 |
-
width: 100% !important;
|
| 39 |
-
padding: 0.8rem 0.5rem !important;
|
| 40 |
-
color: #FFFFFF !important;
|
| 41 |
-
font-weight: 700 !important;
|
| 42 |
-
font-size: 1.05rem !important;
|
| 43 |
-
text-decoration: none !important;
|
| 44 |
-
}
|
| 45 |
-
|
| 46 |
-
/* HOVER */
|
| 47 |
-
[data-testid="stSidebarNav"] li:hover {
|
| 48 |
-
background: rgba(0, 217, 255, 0.15) !important;
|
| 49 |
-
border-color: #00D9FF !important;
|
| 50 |
-
transform: translateX(8px) scale(1.02) !important;
|
| 51 |
-
box-shadow: 0 6px 20px rgba(0, 217, 255, 0.5) !important;
|
| 52 |
-
}
|
| 53 |
-
|
| 54 |
-
/* PAGE ACTIVE */
|
| 55 |
-
[data-testid="stSidebarNav"] li[aria-current="page"] {
|
| 56 |
-
background: linear-gradient(135deg, #00D9FF 0%, #667EEA 100%) !important;
|
| 57 |
-
border: 3px solid #00D9FF !important;
|
| 58 |
-
box-shadow: 0 8px 30px rgba(0, 217, 255, 0.7) !important;
|
| 59 |
-
}
|
| 60 |
-
|
| 61 |
-
.stApp {
|
| 62 |
-
background: #0A0E27 !important;
|
| 63 |
-
}
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
[data-testid="stSidebarNav"] li[aria-current="page"] a {
|
| 68 |
-
color: #FFFFFF !important;
|
| 69 |
-
font-weight: 900 !important;
|
| 70 |
-
}
|
| 71 |
-
|
| 72 |
-
/* ============ BOUTONS STREAMLIT - TEXTE BLEU CLAIR ============ */
|
| 73 |
-
.stButton > button {
|
| 74 |
-
background: rgba(26, 31, 58, 0.9) !important;
|
| 75 |
-
color: #00D9FF !important;
|
| 76 |
-
border: 2px solid #00D9FF !important;
|
| 77 |
-
border-radius: 12px !important;
|
| 78 |
-
padding: 0.7rem 1.8rem !important;
|
| 79 |
-
font-weight: 900 !important;
|
| 80 |
-
font-size: 1.1rem !important;
|
| 81 |
-
transition: all 0.3s ease !important;
|
| 82 |
-
text-shadow: 0 0 15px rgba(0, 217, 255, 0.8) !important;
|
| 83 |
-
}
|
| 84 |
-
|
| 85 |
-
.stButton > button span {
|
| 86 |
-
color: #00D9FF !important;
|
| 87 |
-
}
|
| 88 |
-
|
| 89 |
-
.stButton > button:hover {
|
| 90 |
-
background: linear-gradient(135deg, #00D9FF 0%, #667EEA 100%) !important;
|
| 91 |
-
color: #FFFFFF !important;
|
| 92 |
-
transform: scale(1.1) !important;
|
| 93 |
-
box-shadow: 0 12px 35px rgba(0, 217, 255, 0.7) !important;
|
| 94 |
-
text-shadow: 0 2px 10px rgba(0,0,0,0.9) !important;
|
| 95 |
-
}
|
| 96 |
-
|
| 97 |
-
.stButton > button:hover span {
|
| 98 |
-
color: #FFFFFF !important;
|
| 99 |
-
}
|
| 100 |
-
|
| 101 |
-
/* ============ CARTES ============ */
|
| 102 |
-
.equal-card {
|
| 103 |
-
background: #1A1F3A !important;
|
| 104 |
-
padding: 2rem !important;
|
| 105 |
-
border-radius: 15px !important;
|
| 106 |
-
border: 2px solid rgba(0, 217, 255, 0.3) !important;
|
| 107 |
-
margin: 2rem 0 !important;
|
| 108 |
-
height: 320px !important;
|
| 109 |
-
display: flex !important;
|
| 110 |
-
flex-direction: column !important;
|
| 111 |
-
}
|
| 112 |
-
|
| 113 |
-
.equal-card:hover {
|
| 114 |
-
border-color: #00D9FF !important;
|
| 115 |
-
transform: translateY(-10px) !important;
|
| 116 |
-
box-shadow: 0 20px 50px rgba(0, 217, 255, 0.5) !important;
|
| 117 |
-
}
|
| 118 |
-
|
| 119 |
-
.about-card, .skill-card, .project-card {
|
| 120 |
-
background: #1A1F3A !important;
|
| 121 |
-
padding: 2.5rem !important;
|
| 122 |
-
border-radius: 15px !important;
|
| 123 |
-
border: 2px solid rgba(0, 217, 255, 0.3) !important;
|
| 124 |
-
margin: 2rem 0 !important;
|
| 125 |
-
transition: all 0.3s ease !important;
|
| 126 |
-
}
|
| 127 |
-
|
| 128 |
-
.about-card:hover, .skill-card:hover, .project-card:hover {
|
| 129 |
-
border-color: #00D9FF !important;
|
| 130 |
-
transform: translateY(-10px) !important;
|
| 131 |
-
box-shadow: 0 20px 50px rgba(0, 217, 255, 0.4) !important;
|
| 132 |
-
}
|
| 133 |
-
|
| 134 |
-
.about-title, .skill-title, .project-title, .card-title, h2, h3 {
|
| 135 |
-
color: #FFFFFF !important;
|
| 136 |
-
font-size: 1.9rem !important;
|
| 137 |
-
font-weight: 900 !important;
|
| 138 |
-
margin-bottom: 1.5rem !important;
|
| 139 |
-
}
|
| 140 |
-
|
| 141 |
-
.about-text, .card-desc, p {
|
| 142 |
-
color: #D5DAE1 !important;
|
| 143 |
-
font-size: 1.08rem !important;
|
| 144 |
-
line-height: 2 !important;
|
| 145 |
-
}
|
| 146 |
-
|
| 147 |
-
.profile-img {
|
| 148 |
-
width: 200px !important;
|
| 149 |
-
height: 200px !important;
|
| 150 |
-
border-radius: 50% !important;
|
| 151 |
-
border: 4px solid #00D9FF !important;
|
| 152 |
-
box-shadow: 0 10px 40px rgba(0, 217, 255, 0.4) !important;
|
| 153 |
-
object-fit: cover !important;
|
| 154 |
-
display: block !important;
|
| 155 |
-
margin: 2rem auto !important;
|
| 156 |
-
}
|
| 157 |
-
|
| 158 |
-
.hero-name {
|
| 159 |
-
font-size: 3.5rem;
|
| 160 |
-
font-weight: 700;
|
| 161 |
-
background: linear-gradient(135deg, #667EEA 0%, #00D9FF 100%);
|
| 162 |
-
-webkit-background-clip: text;
|
| 163 |
-
-webkit-text-fill-color: transparent;
|
| 164 |
-
margin: 1rem 0;
|
| 165 |
-
text-align: center;
|
| 166 |
-
}
|
| 167 |
-
|
| 168 |
-
.hero-title {
|
| 169 |
-
font-size: 1.5rem;
|
| 170 |
-
color: #B8C5D6;
|
| 171 |
-
text-align: center;
|
| 172 |
-
margin-bottom: 1rem;
|
| 173 |
-
}
|
| 174 |
-
|
| 175 |
-
.hero-quote {
|
| 176 |
-
font-size: 1rem;
|
| 177 |
-
color: #8B9DC3;
|
| 178 |
-
font-style: italic;
|
| 179 |
-
max-width: 600px;
|
| 180 |
-
margin: 1rem auto;
|
| 181 |
-
text-align: center;
|
| 182 |
-
}
|
| 183 |
-
|
| 184 |
-
.metric-card {
|
| 185 |
-
background: #1A1F3A;
|
| 186 |
-
padding: 1.5rem;
|
| 187 |
-
border-radius: 12px;
|
| 188 |
-
text-align: center;
|
| 189 |
-
border: 2px solid rgba(0, 217, 255, 0.3);
|
| 190 |
-
height: 150px;
|
| 191 |
-
display: flex;
|
| 192 |
-
flex-direction: column;
|
| 193 |
-
justify-content: center;
|
| 194 |
-
transition: all 0.3s ease;
|
| 195 |
-
}
|
| 196 |
-
|
| 197 |
-
.metric-card:hover {
|
| 198 |
-
border-color: #00D9FF;
|
| 199 |
-
transform: translateY(-8px);
|
| 200 |
-
box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
|
| 201 |
-
}
|
| 202 |
-
|
| 203 |
-
.metric-value {
|
| 204 |
-
font-size: 2.5rem;
|
| 205 |
-
color: #00D9FF;
|
| 206 |
-
font-weight: 700;
|
| 207 |
-
}
|
| 208 |
-
|
| 209 |
-
.metric-label {
|
| 210 |
-
font-size: 0.9rem;
|
| 211 |
-
color: #B8C5D6;
|
| 212 |
-
margin-top: 0.5rem;
|
| 213 |
-
}
|
| 214 |
-
|
| 215 |
-
.card-badge {
|
| 216 |
-
display: inline-block;
|
| 217 |
-
background: #10B981;
|
| 218 |
-
color: white;
|
| 219 |
-
padding: 0.4rem 0.9rem;
|
| 220 |
-
border-radius: 12px;
|
| 221 |
-
font-size: 0.85rem;
|
| 222 |
-
margin-left: 0.5rem;
|
| 223 |
-
font-weight: 800;
|
| 224 |
-
}
|
| 225 |
-
|
| 226 |
-
.tech-pill {
|
| 227 |
-
display: inline-block;
|
| 228 |
-
background: rgba(102, 126, 234, 0.5);
|
| 229 |
-
color: #FFFFFF;
|
| 230 |
-
padding: 0.5rem 1.2rem;
|
| 231 |
-
border-radius: 15px;
|
| 232 |
-
margin: 0.4rem;
|
| 233 |
-
font-size: 0.9rem;
|
| 234 |
-
font-weight: 700;
|
| 235 |
-
transition: all 0.3s ease;
|
| 236 |
-
}
|
| 237 |
-
|
| 238 |
-
.tech-pill:hover {
|
| 239 |
-
background: rgba(0, 217, 255, 0.7);
|
| 240 |
-
transform: scale(1.15);
|
| 241 |
-
}
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
/* ============ LINK BUTTONS (GitHub, Démo, LinkedIn) ============ */
|
| 245 |
-
a[kind="primary"],
|
| 246 |
-
a[kind="secondary"],
|
| 247 |
-
[data-testid="stLinkButton"] a,
|
| 248 |
-
.stLinkButton > a {
|
| 249 |
-
background: rgba(26, 31, 58, 0.9) !important;
|
| 250 |
-
color: #00D9FF !important;
|
| 251 |
-
border: 2px solid #00D9FF !important;
|
| 252 |
-
border-radius: 12px !important;
|
| 253 |
-
padding: 0.7rem 1.8rem !important;
|
| 254 |
-
font-weight: 900 !important;
|
| 255 |
-
font-size: 1.1rem !important;
|
| 256 |
-
text-decoration: none !important;
|
| 257 |
-
display: inline-block !important;
|
| 258 |
-
transition: all 0.3s ease !important;
|
| 259 |
-
text-shadow: 0 0 15px rgba(0, 217, 255, 0.8) !important;
|
| 260 |
-
}
|
| 261 |
-
|
| 262 |
-
/* Forcer TOUS les éléments enfants en bleu */
|
| 263 |
-
a[kind="primary"] *,
|
| 264 |
-
a[kind="secondary"] *,
|
| 265 |
-
[data-testid="stLinkButton"] a *,
|
| 266 |
-
.stLinkButton > a * {
|
| 267 |
-
color: #00D9FF !important;
|
| 268 |
-
}
|
| 269 |
-
|
| 270 |
-
/* Hover link buttons */
|
| 271 |
-
a[kind="primary"]:hover,
|
| 272 |
-
a[kind="secondary"]:hover,
|
| 273 |
-
[data-testid="stLinkButton"] a:hover,
|
| 274 |
-
.stLinkButton > a:hover {
|
| 275 |
-
background: linear-gradient(135deg, #00D9FF 0%, #667EEA 100%) !important;
|
| 276 |
-
color: #FFFFFF !important;
|
| 277 |
-
transform: scale(1.1) !important;
|
| 278 |
-
box-shadow: 0 12px 35px rgba(0, 217, 255, 0.7) !important;
|
| 279 |
-
text-shadow: 0 2px 10px rgba(0,0,0,0.9) !important;
|
| 280 |
-
}
|
| 281 |
-
|
| 282 |
-
a[kind="primary"]:hover *,
|
| 283 |
-
a[kind="secondary"]:hover *,
|
| 284 |
-
[data-testid="stLinkButton"] a:hover *,
|
| 285 |
-
.stLinkButton > a:hover * {
|
| 286 |
-
color: #FFFFFF !important;
|
| 287 |
-
}
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
/* ============ BOUTONS TÉLÉCHARGEMENT (download_button) ============ */
|
| 291 |
-
.stDownloadButton > button {
|
| 292 |
-
background: linear-gradient(135deg, #00D9FF 0%, #667EEA 100%) !important;
|
| 293 |
-
color: #FFFFFF !important;
|
| 294 |
-
border: 2px solid #00D9FF !important;
|
| 295 |
-
border-radius: 12px !important;
|
| 296 |
-
padding: 0.8rem 2rem !important;
|
| 297 |
-
font-weight: 900 !important;
|
| 298 |
-
font-size: 1.15rem !important;
|
| 299 |
-
transition: all 0.3s ease !important;
|
| 300 |
-
text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
|
| 301 |
-
}
|
| 302 |
-
|
| 303 |
-
.stDownloadButton > button:hover {
|
| 304 |
-
background: linear-gradient(135deg, #667EEA 0%, #00D9FF 100%) !important;
|
| 305 |
-
transform: scale(1.08) !important;
|
| 306 |
-
box-shadow: 0 12px 35px rgba(0, 217, 255, 0.7) !important;
|
| 307 |
-
}
|
| 308 |
-
|
| 309 |
-
header[data-testid="stHeader"] {
|
| 310 |
-
background: transparent !important;
|
| 311 |
-
}
|
| 312 |
-
|
| 313 |
-
#MainMenu, footer {
|
| 314 |
-
visibility: hidden;
|
| 315 |
-
}
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
/* ============ SIDEBAR STICKY ============ */
|
| 319 |
-
[data-testid="stSidebar"] > div:first-child {
|
| 320 |
-
position: sticky !important;
|
| 321 |
-
top: 0 !important;
|
| 322 |
-
height: 100vh !important;
|
| 323 |
-
overflow-y: auto !important;
|
| 324 |
-
}
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
/* ============ HOVER BOUTONS LIENS PROJETS ============ */
|
| 328 |
-
.project-card a {
|
| 329 |
-
transition: all 0.3s ease !important;
|
| 330 |
-
}
|
| 331 |
-
|
| 332 |
-
.project-card a:hover {
|
| 333 |
-
background: linear-gradient(135deg, #00D9FF 0%, #667EEA 100%) !important;
|
| 334 |
-
color: #FFFFFF !important;
|
| 335 |
-
transform: scale(1.05) !important;
|
| 336 |
-
box-shadow: 0 8px 25px rgba(0, 217, 255, 0.6) !important;
|
| 337 |
-
}
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
/* SIDEBAR STICKY - RESTE EN HAUT SANS COUVRIR */
|
| 341 |
-
[data-testid="stSidebar"] [data-testid="stSidebarUserContent"] {
|
| 342 |
-
position: sticky !important;
|
| 343 |
-
top: 0 !important;
|
| 344 |
-
max-height: 100vh !important;
|
| 345 |
-
overflow-y: auto !important;
|
| 346 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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