generated from Templates_CodeFirst/templateHtmlCss
modifs bandeau pages + debut page projet
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
483fd96f47
commit
b086c33b95
@ -0,0 +1,42 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="fr">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Contact</title>
|
||||||
|
<link rel="stylesheet" href="site.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
|
<header class="bandeau">
|
||||||
|
<div class="photo_titre_bandeau">
|
||||||
|
<img src="image/user_arpoulain.jpeg" alt="photo" class="image_accueil">
|
||||||
|
<h1 style="margin-left: 10px; margin-top: 40px; margin-right : 10px; text-decoration: underline;">
|
||||||
|
<a href="index.html">Poulain <br> Arsène </a>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
<nav id="bouttons_liens_nav">
|
||||||
|
<a href="Projets.html" >
|
||||||
|
<div class="bouttons_liens"> <strong>Projets</strong>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a href="Apropos.html" >
|
||||||
|
<div class="bouttons_liens"><strong>A propos</strong>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a href="Competences.html">
|
||||||
|
<div class="bouttons_liens"><strong>Compétences</strong>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a href="contact.html">
|
||||||
|
<div class="bouttons_liens"><strong>Contact</strong>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
<footer class="basPage">
|
||||||
|
<p>© 2025 Poulain Arsène. Tous droits réservés.</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,45 +1,145 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Planning</title>
|
<title>Projets</title>
|
||||||
<link rel="stylesheet" href="site.css">
|
<link rel="stylesheet" href="site.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="bandeau">
|
<header class="bandeau">
|
||||||
<div class="photo_titre_bandeau">
|
<div class="photo_titre_bandeau">
|
||||||
<img src="image/user_arpoulain.jpeg" alt="photo" class="image_accueil">
|
<img src="image/user_arpoulain.jpeg" alt="photo" class="image_accueil">
|
||||||
<h1 style="margin-left: 10px; margin-top: 40px; margin-right : 10px; text-decoration: underline;">
|
<h1 style="margin-left: 10px; margin-top: 40px; margin-right : 10px; text-decoration: underline;">
|
||||||
<a href="index.html">Poulain <br> Arsène </a>
|
<a href="index.html">Poulain <br> Arsène </a>
|
||||||
</h1>
|
</h1>
|
||||||
|
</div>
|
||||||
|
<nav id="bouttons_liens_nav">
|
||||||
|
<a href="Projets.html" >
|
||||||
|
<div class="bouttons_liens"> <strong>Projets</strong>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a href="Apropos.html" >
|
||||||
|
<div class="bouttons_liens"><strong>A propos</strong>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a href="Competences.html">
|
||||||
|
<div class="bouttons_liens"><strong>Compétences</strong>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<a href="contact.html">
|
||||||
|
<div class="bouttons_liens"><strong>Contact</strong>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="background"></div>
|
||||||
|
|
||||||
|
<section class="container">
|
||||||
|
<h1 style="text-align: center;">Mes Projets</h1>
|
||||||
|
<br>
|
||||||
|
<!-- Projets personnels -->
|
||||||
|
<h2 class="section-title">Personnels</h2>
|
||||||
|
<div class="projects-grid">
|
||||||
|
<div class="project-card">
|
||||||
|
|
||||||
|
<button class="close-btn" style="display:none;" aria-label="Fermer">×</button>
|
||||||
|
<h3><span style="color:red;">We</span>Tube</h3>
|
||||||
|
<p>Appuyer pour en savoir plus</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<nav id="bouttons_liens_nav">
|
|
||||||
<a href="Projets.html" >
|
<!-- Projets universitaires -->
|
||||||
<div class="bouttons_liens"> <strong>Projets</strong>
|
<h2 class="section-title">Universitaires</h2>
|
||||||
</div>
|
<div class="projects-grid">
|
||||||
</a>
|
<div class="project-card">
|
||||||
<a href="Apropos.html" >
|
<button class="close-btn" style="display:none;" aria-label="Fermer">×</button>
|
||||||
<div class="bouttons_liens"><strong>A propos</strong>
|
<h3>Projet 1</h3>
|
||||||
</div>
|
<p>Appuyer pour en savoir plus</p>
|
||||||
</a>
|
</div>
|
||||||
<a href="Competences.html">
|
<div class="project-card">
|
||||||
<div class="bouttons_liens"><strong>Compétences</strong>
|
<button class="close-btn" style="display:none;" aria-label="Fermer">×</button>
|
||||||
</div>
|
<h3>Projet 2</h3>
|
||||||
</a>
|
<p>Appuyer pour en savoir plus</p>
|
||||||
<a href="contact.html">
|
</div>
|
||||||
<div class="bouttons_liens"><strong>Contact</strong>
|
</div>
|
||||||
</div>
|
</section>
|
||||||
</a>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<div class="background">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<footer class="basPage">
|
<footer class="basPage">
|
||||||
<p>
|
<p>© 2025 Poulain Arsène. Tous droits réservés.</p>
|
||||||
Poulain Arsène, 1ère année, G5 | 6 Septembre 2024
|
|
||||||
</p>
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Texte par défaut et texte détaillé pour chaque projet
|
||||||
|
const details = {
|
||||||
|
"WeTube": "<strong>WeTube</strong> est un projet personnel que j'ai commencé lors de mon année de Terminale. " +
|
||||||
|
"Il s'agit d'une plateforme de partage de vidéos, inspirée de YouTube et d'Instagram.<br><br>" +
|
||||||
|
"J'ai eu l'idée de développer ce projet principalement pour apprendre et perfectionner mes compétences " +
|
||||||
|
"en développement web, notamment en HTML, CSS et PHP. Je gère également la base de données locale du site.<br><br>" +
|
||||||
|
"Le site n'est pas encore terminé : certaines fonctionnalités manquent et, comme j'ai commencé ce projet au lycée, " +
|
||||||
|
"je n'ai pas pu récupérer toutes les données. De plus, avec mes études, j'ai mis ce projet de côté pour le moment.<br><br>" +
|
||||||
|
"<em>Il devrait bientôt être disponible sur mon <u><a href='https://github.com/ArsenePoulain' target='_blank'>GitHub</a></u>.</em>",
|
||||||
|
|
||||||
|
"Projet 1": "Projet universitaire 1 : <strong>description détaillée ici</strong>.<br><ul><li>Point 1</li><li>Point 2</li></ul>",
|
||||||
|
|
||||||
|
"Projet 2": "Projet universitaire 2 : description détaillée ici.<br><img src='image/exemple.png' alt='exemple' style='max-width:100px;'>"
|
||||||
|
};
|
||||||
|
|
||||||
|
document.querySelectorAll('.project-card').forEach(card => {
|
||||||
|
const closeBtn = card.querySelector('.close-btn');
|
||||||
|
// Fermer la carte avec la croix
|
||||||
|
closeBtn.addEventListener('click', (e) => {
|
||||||
|
e.stopPropagation();
|
||||||
|
card.classList.remove('expanded');
|
||||||
|
card.querySelector('p').textContent = "Appuyer pour en savoir plus";
|
||||||
|
closeBtn.style.display = 'none';
|
||||||
|
// Réaffiche toutes les cartes
|
||||||
|
document.querySelectorAll('.project-card').forEach(c => c.style.visibility = 'visible');
|
||||||
|
});
|
||||||
|
|
||||||
|
card.addEventListener('click', (e) => {
|
||||||
|
// Si on clique sur la croix, ne rien faire ici
|
||||||
|
if (e.target.classList.contains('close-btn')) return;
|
||||||
|
|
||||||
|
// Retire 'expanded' de toutes les cartes sauf celle cliquée
|
||||||
|
document.querySelectorAll('.project-card.expanded').forEach(expandedCard => {
|
||||||
|
if (expandedCard !== card) {
|
||||||
|
expandedCard.classList.remove('expanded');
|
||||||
|
const p = expandedCard.querySelector('p');
|
||||||
|
p.textContent = "Appuyer pour en savoir plus";
|
||||||
|
const btn = expandedCard.querySelector('.close-btn');
|
||||||
|
btn.style.display = 'none';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Bascule 'expanded' sur la carte cliquée
|
||||||
|
card.classList.toggle('expanded');
|
||||||
|
const h3 = card.querySelector('h3');
|
||||||
|
const p = card.querySelector('p');
|
||||||
|
if (card.classList.contains('expanded')) {
|
||||||
|
// Met le texte détaillé
|
||||||
|
if (details[h3.textContent]) {
|
||||||
|
p.innerHTML = details[h3.textContent];
|
||||||
|
} else {
|
||||||
|
p.textContent = "Description détaillée du projet.";
|
||||||
|
}
|
||||||
|
closeBtn.style.display = 'block';
|
||||||
|
// Masque les autres cartes
|
||||||
|
document.querySelectorAll('.project-card').forEach(otherCard => {
|
||||||
|
if (otherCard !== card) {
|
||||||
|
otherCard.style.visibility = 'hidden';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
// Remet le texte par défaut
|
||||||
|
p.textContent = "Appuyer pour en savoir plus";
|
||||||
|
closeBtn.style.display = 'none';
|
||||||
|
// Réaffiche toutes les cartes
|
||||||
|
document.querySelectorAll('.project-card').forEach(c => c.style.visibility = 'visible');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Binary file not shown.
@ -1,32 +0,0 @@
|
|||||||
body {
|
|
||||||
padding-left: 11em;
|
|
||||||
font-family: Georgia, 'Georgia', "Times New Roman",
|
|
||||||
Times, serif;
|
|
||||||
color: darksalmon;
|
|
||||||
background-color: rgb(39, 39, 84) }
|
|
||||||
ul.navbar {
|
|
||||||
list-style-type: none;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
position: absolute;
|
|
||||||
top: 2em;
|
|
||||||
left: 1em;
|
|
||||||
width: 9em }
|
|
||||||
h1 {
|
|
||||||
font-family: Helvetica, Geneva, Arial,
|
|
||||||
SunSans-Regular, sans-serif }
|
|
||||||
ul.navbar li {
|
|
||||||
background: white;
|
|
||||||
margin: 0.5em 0;
|
|
||||||
padding: 0.3em;
|
|
||||||
border-right: 1em solid darksalmon }
|
|
||||||
ul.navbar a {
|
|
||||||
text-decoration: none }
|
|
||||||
a:link {
|
|
||||||
color: blue }
|
|
||||||
a:visited {
|
|
||||||
color: darkblue }
|
|
||||||
address {
|
|
||||||
margin-top: 1em;
|
|
||||||
padding-top: 1em;
|
|
||||||
border-top: thin dotted }
|
|
Loading…
Reference in new issue