Initial commit - portfolio WordPress
This commit is contained in:
commit
7eead39412
24 files changed
+1581
No files matched your search
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2026 rdacet
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
@@ -0,0 +1,85 @@
|
|||||||
|
# Portfolio — Romain Dacet
|
||||||
|
|
||||||
|
> Thème WordPress multi-pages pour le portfolio personnel de **Romain Dacet**, étudiant en BTS SIO. Style minimaliste, codé from scratch (PHP / HTML / CSS / JS Vanilla).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Structure des pages
|
||||||
|
|
||||||
|
- **Accueil** (`front-page.php`) — hero + 6 cartes de navigation
|
||||||
|
- **CV** — template `template-cv.php` + PDF téléchargeable
|
||||||
|
- **Lettre de motivation** — template `template-lettre.php` + PDF
|
||||||
|
- **Projets** — template `template-projets.php` (liste des projets)
|
||||||
|
- **Projet Brasserie T&S** — template `template-projet-brasserie.php` (fiche détaillée)
|
||||||
|
- **Veille technologique** — template `template-veille.php` (à compléter)
|
||||||
|
- **Contact** — template `template-contact.php`
|
||||||
|
|
||||||
|
Chaque page WordPress créée dans l'admin peut se voir assigner un de ces templates via le bloc **Attributs de la page → Modèle**.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
1. **Zipper le thème** via le script parent :
|
||||||
|
```powershell
|
||||||
|
& "C:\Users\romai\Documents\FICHIER\PROJET\Portfolio\theme\make-zip.ps1"
|
||||||
|
```
|
||||||
|
2. **WordPress → Apparence → Thèmes → Ajouter → Téléverser** → `portfolio-rd.zip` → **Installer** → **Activer**.
|
||||||
|
3. **Réglages → Lecture** → « Une page statique » → Page d'accueil = une nouvelle page `Accueil`.
|
||||||
|
4. **Créer les pages WP suivantes** (admin → Pages → Ajouter) en prenant soin pour chacune de choisir le **Modèle** correspondant dans le bloc *Attributs de la page* :
|
||||||
|
|
||||||
|
| Titre de la page | Slug | Modèle à choisir |
|
||||||
|
|---------------------------|-----------------------|-----------------------------------------|
|
||||||
|
| CV | `cv` | CV |
|
||||||
|
| Lettre de motivation | `lettre-motivation` | Lettre de motivation |
|
||||||
|
| Projets | `projets` | Projets |
|
||||||
|
| Brasserie T&S | `projet-brasserie` | Projet — Brasserie Terroir & Savoirs |
|
||||||
|
| Veille technologique | `veille` | Veille technologique |
|
||||||
|
| Contact | `contact` | Contact |
|
||||||
|
|
||||||
|
5. **Apparence → Menus** → créer un menu `Principal` contenant ces pages + « Accueil », et l'assigner à l'emplacement **Menu principal**. (Fallback intégré si tu oublies cette étape.)
|
||||||
|
|
||||||
|
6. **Déposer la photo** de profil dans `wp-content/themes/portfolio-rd/assets/img/photo.jpg` (carré, ~600×600).
|
||||||
|
|
||||||
|
7. **Formulaire de contact** : installer **WPForms Lite**, créer un formulaire, noter son ID, l'écrire dans `template-contact.php` (remplace `22`).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Contenu à compléter
|
||||||
|
|
||||||
|
- `template-projet-ap.php` — remplir contexte, objectifs, technos, bilan.
|
||||||
|
- `template-veille.php` — choisir un thème, lister sources, rédiger synthèses.
|
||||||
|
- Ajouter d'autres projets : éditer `prd_get_projects()` dans `functions.php`, puis créer un nouveau template `template-projet-<slug>.php` sur le modèle de `template-projet-brasserie.php`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Arborescence
|
||||||
|
|
||||||
|
```
|
||||||
|
portfolio-rd/
|
||||||
|
├── style.css
|
||||||
|
├── functions.php
|
||||||
|
├── header.php
|
||||||
|
├── footer.php
|
||||||
|
├── front-page.php
|
||||||
|
├── page.php
|
||||||
|
├── index.php
|
||||||
|
├── template-cv.php
|
||||||
|
├── template-lettre.php
|
||||||
|
├── template-projets.php
|
||||||
|
├── template-projet-brasserie.php
|
||||||
|
├── template-projet-ap.php
|
||||||
|
├── template-veille.php
|
||||||
|
├── template-contact.php
|
||||||
|
├── README.md
|
||||||
|
└── assets/
|
||||||
|
├── js/main.js
|
||||||
|
├── img/ (photo.jpg à ajouter)
|
||||||
|
└── pdf/
|
||||||
|
├── cv.pdf
|
||||||
|
└── lettre-de-motivation.pdf
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Auteur :** Romain Dacet — BTS SIO — 2026
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 639 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.0 MiB |
@@ -0,0 +1,19 @@
|
|||||||
|
(function () {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
/* --- Menu mobile --------------------------------------- */
|
||||||
|
const toggle = document.querySelector('.nav-toggle');
|
||||||
|
const nav = document.querySelector('.main-nav');
|
||||||
|
if (toggle && nav) {
|
||||||
|
toggle.addEventListener('click', () => {
|
||||||
|
const open = nav.classList.toggle('is-open');
|
||||||
|
toggle.setAttribute('aria-expanded', open);
|
||||||
|
});
|
||||||
|
nav.querySelectorAll('a').forEach(a => {
|
||||||
|
a.addEventListener('click', () => {
|
||||||
|
nav.classList.remove('is-open');
|
||||||
|
toggle.setAttribute('aria-expanded', false);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})();
|
||||||
Binary file not shown.
Binary file not shown.
+23
@@ -0,0 +1,23 @@
|
|||||||
|
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } ?>
|
||||||
|
</main><!-- #site-main -->
|
||||||
|
|
||||||
|
<footer class="site-footer">
|
||||||
|
<div class="container">
|
||||||
|
<div>
|
||||||
|
<span class="footer-brand">Romain Dacet</span>
|
||||||
|
<p>Étudiant BTS SIO · Arras</p>
|
||||||
|
<p><a href="mailto:romaindacet11@gmail.com">romaindacet11@gmail.com</a></p>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<p><strong>Navigation</strong></p>
|
||||||
|
<p><a href="<?php echo prd_page_url( 'cv' ); ?>">CV</a> · <a href="<?php echo prd_page_url( 'projets' ); ?>">Projets</a> · <a href="<?php echo prd_page_url( 'contact' ); ?>">Contact</a></p>
|
||||||
|
</div>
|
||||||
|
<p class="legal">
|
||||||
|
© <?php echo date( 'Y' ); ?> · Tous droits réservés
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<?php wp_footer(); ?>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
+100
@@ -0,0 +1,100 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Page d'accueil — dispatch vers les sections du portfolio.
|
||||||
|
*/
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
||||||
|
get_header();
|
||||||
|
$photo_file = get_template_directory() . '/assets/img/photo.jpg';
|
||||||
|
$has_photo = file_exists( $photo_file );
|
||||||
|
|
||||||
|
$sections = array(
|
||||||
|
array(
|
||||||
|
'num' => '01',
|
||||||
|
'url' => prd_page_url( 'cv' ),
|
||||||
|
'title' => 'CV',
|
||||||
|
'desc' => 'Parcours, formations, compétences techniques et expériences professionnelles.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'num' => '02',
|
||||||
|
'url' => prd_page_url( 'lettre-motivation' ),
|
||||||
|
'title' => 'Lettre de motivation',
|
||||||
|
'desc' => 'Candidature pour un stage réseau du 25 mai au 4 juillet 2026.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'num' => '03',
|
||||||
|
'url' => prd_page_url( 'projets' ),
|
||||||
|
'title' => 'Projets',
|
||||||
|
'desc' => 'Projets réalisés pendant ma formation — WordPress, réseau, systèmes.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'num' => '04',
|
||||||
|
'url' => prd_page_url( 'veille' ),
|
||||||
|
'title' => 'Veille technologique',
|
||||||
|
'desc' => 'Thème suivi, sources et synthèses périodiques.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'num' => '05',
|
||||||
|
'url' => prd_page_url( 'contact' ),
|
||||||
|
'title' => 'Contact',
|
||||||
|
'desc' => 'Pour toute proposition de stage ou échange professionnel.',
|
||||||
|
),
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- Hero -->
|
||||||
|
<section class="hero">
|
||||||
|
<div class="container">
|
||||||
|
<div class="hero-grid">
|
||||||
|
<div class="hero-text">
|
||||||
|
<span class="eyebrow">Portfolio · BTS SIO</span>
|
||||||
|
<h1>Romain Dacet,<br><span class="accent">technicien réseau</span><br>en formation.</h1>
|
||||||
|
<p class="lead">
|
||||||
|
Étudiant en BTS SIO au lycée Guy Mollet à Arras, passionné par les infrastructures informatiques. À la recherche d'un stage réseau du 25 mai au 4 juillet 2026.
|
||||||
|
</p>
|
||||||
|
<div class="hero-actions">
|
||||||
|
<a href="<?php echo prd_page_url( 'cv' ); ?>" class="btn">Consulter mon CV <span class="arrow-i">→</span></a>
|
||||||
|
<a href="<?php echo prd_page_url( 'projets' ); ?>" class="btn btn--outline">Voir les projets</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hero-photo">
|
||||||
|
<?php if ( $has_photo ) : ?>
|
||||||
|
<img src="<?php echo prd_img( 'photo.jpg' ); ?>" alt="Photo de Romain Dacet">
|
||||||
|
<?php else : ?>
|
||||||
|
<div class="hero-photo-placeholder">
|
||||||
|
photo.jpg
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Liste éditoriale -->
|
||||||
|
<section>
|
||||||
|
<div class="container">
|
||||||
|
<div class="section-head">
|
||||||
|
<div class="section-head-left">
|
||||||
|
<span class="eyebrow">Sommaire</span>
|
||||||
|
<h2>Explorer le portfolio</h2>
|
||||||
|
<p>Chaque section possède sa page dédiée. Les documents officiels (CV, lettre) sont téléchargeables au format PDF.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<ul class="nav-list">
|
||||||
|
<?php foreach ( $sections as $s ) : ?>
|
||||||
|
<li>
|
||||||
|
<a href="<?php echo esc_url( $s['url'] ); ?>">
|
||||||
|
<span class="np-num"><?php echo esc_html( $s['num'] ); ?></span>
|
||||||
|
<span class="np-main">
|
||||||
|
<span class="np-title"><?php echo esc_html( $s['title'] ); ?></span>
|
||||||
|
<span class="np-desc"><?php echo esc_html( $s['desc'] ); ?></span>
|
||||||
|
</span>
|
||||||
|
<span class="np-arrow">→</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<?php get_footer(); ?>
|
||||||
+118
@@ -0,0 +1,118 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Portfolio Romain Dacet — functions.php
|
||||||
|
*/
|
||||||
|
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------
|
||||||
|
* Setup
|
||||||
|
* ------------------------------------------------------------ */
|
||||||
|
function prd_setup() {
|
||||||
|
add_theme_support( 'title-tag' );
|
||||||
|
add_theme_support( 'post-thumbnails' );
|
||||||
|
add_theme_support( 'html5', array( 'search-form', 'gallery', 'caption', 'style', 'script' ) );
|
||||||
|
|
||||||
|
register_nav_menus( array(
|
||||||
|
'primary' => __( 'Menu principal', 'portfolio-rd' ),
|
||||||
|
) );
|
||||||
|
}
|
||||||
|
add_action( 'after_setup_theme', 'prd_setup' );
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------
|
||||||
|
* Assets
|
||||||
|
* ------------------------------------------------------------ */
|
||||||
|
function prd_enqueue_assets() {
|
||||||
|
wp_enqueue_style(
|
||||||
|
'prd-fonts',
|
||||||
|
'https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap',
|
||||||
|
array(),
|
||||||
|
null
|
||||||
|
);
|
||||||
|
wp_enqueue_style( 'prd-main', get_stylesheet_uri(), array( 'prd-fonts' ), wp_get_theme()->get( 'Version' ) );
|
||||||
|
wp_enqueue_script( 'prd-main', get_template_directory_uri() . '/assets/js/main.js', array(), wp_get_theme()->get( 'Version' ), true );
|
||||||
|
}
|
||||||
|
add_action( 'wp_enqueue_scripts', 'prd_enqueue_assets' );
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------
|
||||||
|
* Helpers
|
||||||
|
* ------------------------------------------------------------ */
|
||||||
|
function prd_img( $name ) { return esc_url( get_template_directory_uri() . '/assets/img/' . $name ); }
|
||||||
|
function prd_pdf( $name ) { return esc_url( get_template_directory_uri() . '/assets/pdf/' . $name ); }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* URL d'une page à partir de son slug. Si la page n'existe pas encore dans
|
||||||
|
* l'admin WP, on retombe sur /?page_name=slug qui redirigera dès création.
|
||||||
|
*/
|
||||||
|
function prd_page_url( $slug ) {
|
||||||
|
$page = get_page_by_path( $slug );
|
||||||
|
if ( $page ) {
|
||||||
|
return get_permalink( $page );
|
||||||
|
}
|
||||||
|
return esc_url( home_url( '/?page_name=' . $slug ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------
|
||||||
|
* Menu fallback
|
||||||
|
* ------------------------------------------------------------ */
|
||||||
|
function prd_fallback_menu() {
|
||||||
|
echo '<ul>';
|
||||||
|
echo '<li><a href="' . esc_url( home_url( '/' ) ) . '">Accueil</a></li>';
|
||||||
|
echo '<li><a href="' . prd_page_url( 'cv' ) . '">CV</a></li>';
|
||||||
|
echo '<li><a href="' . prd_page_url( 'lettre-motivation' ). '">Lettre</a></li>';
|
||||||
|
echo '<li><a href="' . prd_page_url( 'projets' ) . '">Projets</a></li>';
|
||||||
|
echo '<li><a href="' . prd_page_url( 'veille' ) . '">Veille</a></li>';
|
||||||
|
echo '<li><a href="' . prd_page_url( 'contact' ) . '">Contact</a></li>';
|
||||||
|
echo '</ul>';
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------------------
|
||||||
|
* Données : compétences, formation, projets
|
||||||
|
* ------------------------------------------------------------ */
|
||||||
|
function prd_get_skills() {
|
||||||
|
return array(
|
||||||
|
array( 'name' => 'Linux', 'desc' => 'Administration système, gestion des utilisateurs et des services.' ),
|
||||||
|
array( 'name' => 'Serveurs Windows & Linux', 'desc' => 'Installation, configuration et maintenance de serveurs.' ),
|
||||||
|
array( 'name' => 'Configuration réseau', 'desc' => 'Routage, firewall, DNS, mise en place d\'infrastructures.' ),
|
||||||
|
array( 'name' => 'Scripts', 'desc' => 'Automatisation en Bash et PHP CLI.' ),
|
||||||
|
array( 'name' => 'MySQL', 'desc' => 'Conception, requêtes et gestion de bases de données.' ),
|
||||||
|
array( 'name' => 'HTML / CSS', 'desc' => 'Intégration web et mise en forme de sites statiques.' ),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function prd_get_formation() {
|
||||||
|
return array(
|
||||||
|
array( 'date' => '2025 – 2026', 'title' => 'BTS SIO — 1ʳᵉ année', 'desc' => 'Services Informatiques aux Organisations, Lycée Guy Mollet, Arras.' ),
|
||||||
|
array( 'date' => 'Juin 2025', 'title' => 'Permis de conduire', 'desc' => 'Obtention du permis B.' ),
|
||||||
|
array( 'date' => '2024 – 2025', 'title' => 'BTS CIEL — 1ʳᵉ année', 'desc' => 'Cybersécurité, Informatique, Électronique, Lycée Gustave Eiffel, Armentières.' ),
|
||||||
|
array( 'date' => '2024', 'title' => 'Baccalauréat Système Numérique — opt. B', 'desc' => 'Audiovisuel, réseau et équipements domestiques — mention AB. Lycée Savary-Ferry, Arras.' ),
|
||||||
|
array( 'date' => '2021 – 2022', 'title' => 'Seconde professionnelle', 'desc' => 'Transition numérique et énergétique, Lycée Savary-Ferry, Arras.' ),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function prd_get_experiences() {
|
||||||
|
return array(
|
||||||
|
array( 'date' => '26 mai – 4 juillet 2025', 'title' => 'Conseil départemental du Pas-de-Calais', 'tagline' => 'Appel de clients, installation de matériel (service informatique).' ),
|
||||||
|
array( 'date' => '29 janv. – 23 févr. 2024', 'title' => 'Préfecture d\'Arras', 'tagline' => 'Installation Windows, mise en place d\'un réseau pour une salle de conférence.' ),
|
||||||
|
array( 'date' => '25 sept. – 22 oct. 2023', 'title' => 'Pro&Cie', 'tagline' => 'Réparation et dépannage de machines électroménagères.' ),
|
||||||
|
array( 'date' => '8 mai – 2 juin 2023', 'title' => 'Axecibles', 'tagline' => 'Installation Windows / Linux et résolution de problèmes internes.' ),
|
||||||
|
array( 'date' => '21 nov. – 17 déc. 2022', 'title' => 'Itech Informatique et Technologies', 'tagline' => 'Configuration d\'un Qwartz avec l\'employeur.' ),
|
||||||
|
array( 'date' => '6 juin – 2 juillet 2022', 'title' => 'Amipro Boréal Parc', 'tagline' => 'Réparation de PC et installation Windows.' ),
|
||||||
|
array( 'date' => '6 – 17 décembre 2021', 'title' => 'Inov-Agency', 'tagline' => 'Première expérience — programmation HTML / CSS.' ),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function prd_get_projects() {
|
||||||
|
return array(
|
||||||
|
array(
|
||||||
|
'slug' => 'brasserie',
|
||||||
|
'title' => 'Brasserie Terroir & Savoirs',
|
||||||
|
'tagline' => 'Site vitrine WordPress sur mesure pour une brasserie artisanale.',
|
||||||
|
'year' => '2026',
|
||||||
|
'context' => 'BTS SIO — projet personnel',
|
||||||
|
'tags' => array( 'WordPress', 'PHP', 'HTML/CSS', 'JavaScript', 'InfinityFree' ),
|
||||||
|
'live_url' => 'https://rdacetbrasserie.free.nf',
|
||||||
|
'url' => 'projet-brasserie',
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
+41
@@ -0,0 +1,41 @@
|
|||||||
|
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } ?>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html <?php language_attributes(); ?>>
|
||||||
|
<head>
|
||||||
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="description" content="Portfolio de Romain Dacet — BTS SIO, technicien réseau. CV, lettre de motivation, projets et veille technologique.">
|
||||||
|
<?php wp_head(); ?>
|
||||||
|
</head>
|
||||||
|
<body <?php body_class(); ?>>
|
||||||
|
<?php wp_body_open(); ?>
|
||||||
|
|
||||||
|
<header class="site-header">
|
||||||
|
<div class="container">
|
||||||
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="site-logo">
|
||||||
|
<span class="site-title">
|
||||||
|
Romain Dacet
|
||||||
|
<small>Portfolio</small>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<button class="nav-toggle" aria-label="Ouvrir le menu" aria-expanded="false">☰</button>
|
||||||
|
|
||||||
|
<nav class="main-nav" aria-label="Navigation principale">
|
||||||
|
<?php
|
||||||
|
if ( has_nav_menu( 'primary' ) ) {
|
||||||
|
wp_nav_menu( array(
|
||||||
|
'theme_location' => 'primary',
|
||||||
|
'container' => false,
|
||||||
|
'menu_class' => '',
|
||||||
|
'depth' => 1,
|
||||||
|
) );
|
||||||
|
} else {
|
||||||
|
prd_fallback_menu();
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main id="site-main">
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Fallback — liste des articles (requis par WordPress).
|
||||||
|
*/
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
||||||
|
get_header(); ?>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<div class="container">
|
||||||
|
<?php if ( have_posts() ) : ?>
|
||||||
|
<div class="section-title">
|
||||||
|
<h2>Articles</h2>
|
||||||
|
</div>
|
||||||
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
<article style="margin-bottom:2.5rem;">
|
||||||
|
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
||||||
|
<div><?php the_excerpt(); ?></div>
|
||||||
|
</article>
|
||||||
|
<?php endwhile; ?>
|
||||||
|
<?php else : ?>
|
||||||
|
<p>Aucun contenu pour le moment.</p>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<?php get_footer(); ?>
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Template par défaut des pages statiques.
|
||||||
|
*/
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
||||||
|
get_header(); ?>
|
||||||
|
|
||||||
|
<section class="page-hero">
|
||||||
|
<div class="container">
|
||||||
|
<h1><?php the_title(); ?></h1>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<div class="container">
|
||||||
|
<div class="content-block">
|
||||||
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
<?php the_content(); ?>
|
||||||
|
<?php endwhile; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<?php get_footer(); ?>
|
||||||
@@ -0,0 +1,687 @@
|
|||||||
|
/*
|
||||||
|
Theme Name: Portfolio Romain Dacet
|
||||||
|
Theme URI: https://rdacett.free.nf
|
||||||
|
Author: Romain Dacet
|
||||||
|
Description: Portfolio multi-pages de Romain Dacet — BTS SIO. Thème éditorial HTML/CSS.
|
||||||
|
Version: 1.1.0
|
||||||
|
License: GPL v2 or later
|
||||||
|
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
Text Domain: portfolio-rd
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Reset + variables
|
||||||
|
============================================================ */
|
||||||
|
*, *::before, *::after { box-sizing: border-box; }
|
||||||
|
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
|
||||||
|
body { margin: 0; padding: 0; }
|
||||||
|
img { max-width: 100%; display: block; height: auto; }
|
||||||
|
a { color: inherit; text-decoration: none; }
|
||||||
|
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--bg: #fafaf7;
|
||||||
|
--bg-alt: #f1efe9;
|
||||||
|
--bg-card: #ffffff;
|
||||||
|
--bg-dark: #0a0a0a;
|
||||||
|
|
||||||
|
--ink: #0a0a0a;
|
||||||
|
--ink-soft: #3d3d3d;
|
||||||
|
--ink-muted: #8a8a85;
|
||||||
|
--line: #e7e4dc;
|
||||||
|
--line-dark: #1c1c1c;
|
||||||
|
|
||||||
|
--accent: #2f4a66; /* bleu ardoise sobre */
|
||||||
|
--accent-hi: #c8a96a; /* accent chaud éditorial */
|
||||||
|
|
||||||
|
--white: #ffffff;
|
||||||
|
|
||||||
|
--font-serif: "Fraunces", "Playfair Display", Georgia, serif;
|
||||||
|
--font-sans: "Inter", system-ui, -apple-system, sans-serif;
|
||||||
|
--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
||||||
|
|
||||||
|
--container: 1180px;
|
||||||
|
--container-sm: 820px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Base
|
||||||
|
============================================================ */
|
||||||
|
body {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
color: var(--ink);
|
||||||
|
background: var(--bg);
|
||||||
|
line-height: 1.6;
|
||||||
|
font-size: 17px;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4 {
|
||||||
|
font-family: var(--font-serif);
|
||||||
|
color: var(--ink);
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 1.05;
|
||||||
|
margin: 0 0 .5em;
|
||||||
|
letter-spacing: -0.02em;
|
||||||
|
}
|
||||||
|
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 500; }
|
||||||
|
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
|
||||||
|
h3 { font-size: 1.35rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }
|
||||||
|
|
||||||
|
p { margin: 0 0 1rem; color: var(--ink-soft); }
|
||||||
|
em { font-family: var(--font-serif); font-style: italic; }
|
||||||
|
|
||||||
|
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.75rem; }
|
||||||
|
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 1.75rem; }
|
||||||
|
|
||||||
|
/* Bouton principal */
|
||||||
|
.btn {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: .55rem;
|
||||||
|
padding: .95rem 1.6rem;
|
||||||
|
background: var(--ink);
|
||||||
|
color: var(--bg);
|
||||||
|
font-size: .92rem;
|
||||||
|
font-weight: 500;
|
||||||
|
letter-spacing: .01em;
|
||||||
|
border-radius: 99px;
|
||||||
|
transition: background .2s, transform .2s, color .2s;
|
||||||
|
}
|
||||||
|
.btn:hover { background: var(--accent); color: var(--white); transform: translateY(-1px); }
|
||||||
|
.btn--outline {
|
||||||
|
background: transparent;
|
||||||
|
color: var(--ink);
|
||||||
|
border: 1px solid var(--ink);
|
||||||
|
}
|
||||||
|
.btn--outline:hover { background: var(--ink); color: var(--bg); }
|
||||||
|
.btn .arrow-i { transition: transform .2s; }
|
||||||
|
.btn:hover .arrow-i { transform: translateX(3px); }
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Eyebrow / meta labels
|
||||||
|
============================================================ */
|
||||||
|
.eyebrow {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: .55rem;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: .72rem;
|
||||||
|
font-weight: 500;
|
||||||
|
letter-spacing: .18em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--ink-muted);
|
||||||
|
}
|
||||||
|
.eyebrow::before {
|
||||||
|
content: '';
|
||||||
|
width: 28px; height: 1px;
|
||||||
|
background: var(--ink-muted);
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Header
|
||||||
|
============================================================ */
|
||||||
|
.site-header {
|
||||||
|
background: rgba(250, 250, 247, .82);
|
||||||
|
backdrop-filter: saturate(180%) blur(14px);
|
||||||
|
-webkit-backdrop-filter: saturate(180%) blur(14px);
|
||||||
|
border-bottom: 1px solid var(--line);
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 100;
|
||||||
|
}
|
||||||
|
.site-header .container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 1.1rem 1.75rem;
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
.site-logo .site-title {
|
||||||
|
font-family: var(--font-serif);
|
||||||
|
font-size: 1.15rem;
|
||||||
|
color: var(--ink);
|
||||||
|
line-height: 1.1;
|
||||||
|
font-weight: 600;
|
||||||
|
letter-spacing: -0.01em;
|
||||||
|
}
|
||||||
|
.site-logo .site-title small {
|
||||||
|
display: block;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: .65rem;
|
||||||
|
color: var(--ink-muted);
|
||||||
|
letter-spacing: .2em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-top: .3rem;
|
||||||
|
}
|
||||||
|
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.25rem; }
|
||||||
|
.main-nav a {
|
||||||
|
color: var(--ink-soft);
|
||||||
|
font-size: .92rem;
|
||||||
|
font-weight: 500;
|
||||||
|
padding: .4rem 0;
|
||||||
|
position: relative;
|
||||||
|
transition: color .2s;
|
||||||
|
}
|
||||||
|
.main-nav a:hover,
|
||||||
|
.main-nav .current-menu-item > a { color: var(--ink); }
|
||||||
|
.main-nav a:hover::after,
|
||||||
|
.main-nav .current-menu-item > a::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0; right: 0; bottom: 0;
|
||||||
|
height: 1px; background: var(--ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-toggle { display: none; color: var(--ink); font-size: 1.5rem; line-height: 1; }
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Hero home (éditorial)
|
||||||
|
============================================================ */
|
||||||
|
.hero {
|
||||||
|
padding: 6rem 0 4rem;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.hero::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 5rem; right: -20%;
|
||||||
|
width: 560px; height: 560px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: radial-gradient(circle at 30% 30%, rgba(200, 169, 106, .18), transparent 70%);
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
.hero .container { position: relative; z-index: 1; }
|
||||||
|
|
||||||
|
.hero-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1.35fr 1fr;
|
||||||
|
gap: 4rem;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.hero-text h1 {
|
||||||
|
margin: 1.5rem 0 1.75rem;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.hero-text h1 .accent {
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
color: var(--accent);
|
||||||
|
}
|
||||||
|
.hero-text p.lead {
|
||||||
|
font-size: 1.15rem;
|
||||||
|
color: var(--ink-soft);
|
||||||
|
max-width: 540px;
|
||||||
|
margin-bottom: 2.25rem;
|
||||||
|
line-height: 1.55;
|
||||||
|
}
|
||||||
|
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
|
||||||
|
|
||||||
|
.hero-photo {
|
||||||
|
position: relative;
|
||||||
|
aspect-ratio: 4/5;
|
||||||
|
max-width: 380px;
|
||||||
|
margin-left: auto;
|
||||||
|
border-radius: 6px;
|
||||||
|
overflow: hidden;
|
||||||
|
background: var(--bg-alt);
|
||||||
|
}
|
||||||
|
.hero-photo::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
border-radius: 6px;
|
||||||
|
box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
|
||||||
|
.hero-photo-placeholder {
|
||||||
|
display: flex; align-items: center; justify-content: center;
|
||||||
|
height: 100%; color: var(--ink-muted);
|
||||||
|
font-size: .85rem; text-align: center; padding: 1rem;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Sections
|
||||||
|
============================================================ */
|
||||||
|
section { padding: 6rem 0; position: relative; }
|
||||||
|
section.alt { background: var(--bg-alt); }
|
||||||
|
|
||||||
|
.section-head {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 2rem;
|
||||||
|
margin-bottom: 3.5rem;
|
||||||
|
padding-bottom: 1.25rem;
|
||||||
|
border-bottom: 1px solid var(--line);
|
||||||
|
}
|
||||||
|
.section-head h2 { margin: 0; }
|
||||||
|
.section-head .eyebrow { margin-bottom: .5rem; }
|
||||||
|
.section-head-left { max-width: 620px; }
|
||||||
|
.section-head p { margin-top: .75rem; font-size: 1rem; color: var(--ink-soft); }
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Nav-list (home → sections)
|
||||||
|
Style éditorial : liste horizontale avec numéros
|
||||||
|
============================================================ */
|
||||||
|
.nav-list {
|
||||||
|
list-style: none; margin: 0; padding: 0;
|
||||||
|
border-top: 1px solid var(--line);
|
||||||
|
}
|
||||||
|
.nav-list li { border-bottom: 1px solid var(--line); }
|
||||||
|
.nav-list a {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 60px 1fr auto;
|
||||||
|
align-items: center;
|
||||||
|
gap: 1.5rem;
|
||||||
|
padding: 1.75rem 0;
|
||||||
|
transition: padding-left .25s, background .25s;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.nav-list a:hover {
|
||||||
|
padding-left: 1rem;
|
||||||
|
background: linear-gradient(to right, transparent, rgba(0,0,0,.015));
|
||||||
|
}
|
||||||
|
.nav-list a:hover .np-title { color: var(--accent); }
|
||||||
|
.nav-list a:hover .np-arrow { transform: translateX(6px); color: var(--accent); }
|
||||||
|
.np-num {
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: .78rem;
|
||||||
|
color: var(--ink-muted);
|
||||||
|
letter-spacing: .1em;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.np-main { display: flex; flex-direction: column; gap: .25rem; }
|
||||||
|
.np-title {
|
||||||
|
font-family: var(--font-serif);
|
||||||
|
font-size: clamp(1.6rem, 3vw, 2.2rem);
|
||||||
|
color: var(--ink);
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 1.1;
|
||||||
|
letter-spacing: -0.015em;
|
||||||
|
transition: color .2s;
|
||||||
|
}
|
||||||
|
.np-desc {
|
||||||
|
font-size: .95rem;
|
||||||
|
color: var(--ink-soft);
|
||||||
|
max-width: 520px;
|
||||||
|
}
|
||||||
|
.np-arrow {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
color: var(--ink-muted);
|
||||||
|
transition: transform .25s, color .25s;
|
||||||
|
padding-right: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Page-hero (pages internes)
|
||||||
|
============================================================ */
|
||||||
|
.page-hero {
|
||||||
|
padding: 5.5rem 0 3.5rem;
|
||||||
|
border-bottom: 1px solid var(--line);
|
||||||
|
}
|
||||||
|
.page-hero .breadcrumb {
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: .75rem;
|
||||||
|
color: var(--ink-muted);
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: .12em;
|
||||||
|
}
|
||||||
|
.page-hero .breadcrumb a { color: var(--ink-soft); transition: color .2s; }
|
||||||
|
.page-hero .breadcrumb a:hover { color: var(--ink); }
|
||||||
|
.page-hero .breadcrumb .sep { margin: 0 .65rem; color: var(--ink-muted); }
|
||||||
|
.page-hero .eyebrow { margin-bottom: 1rem; }
|
||||||
|
.page-hero h1 {
|
||||||
|
margin: .25rem 0 1rem;
|
||||||
|
font-size: clamp(2.5rem, 6vw, 4.5rem);
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.page-hero p.lead {
|
||||||
|
font-size: 1.1rem; color: var(--ink-soft);
|
||||||
|
max-width: 720px; line-height: 1.55;
|
||||||
|
}
|
||||||
|
.page-hero .actions-row {
|
||||||
|
display: flex; flex-wrap: wrap;
|
||||||
|
gap: .75rem;
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Content block (CV, lettre, projets)
|
||||||
|
============================================================ */
|
||||||
|
.content-block {
|
||||||
|
max-width: var(--container-sm);
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.content-block h2 {
|
||||||
|
margin-top: 3rem;
|
||||||
|
padding-top: 2rem;
|
||||||
|
border-top: 1px solid var(--line);
|
||||||
|
font-size: 1.6rem;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.content-block h2:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
.content-block h3 { margin-top: 2rem; color: var(--ink); font-size: 1.1rem; }
|
||||||
|
.content-block p { font-size: 1.02rem; color: var(--ink-soft); }
|
||||||
|
.content-block ul {
|
||||||
|
margin: 1rem 0 1.5rem;
|
||||||
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
.content-block ul li {
|
||||||
|
padding: .55rem 0 .55rem 1.5rem;
|
||||||
|
position: relative;
|
||||||
|
color: var(--ink-soft);
|
||||||
|
border-bottom: 1px dashed var(--line);
|
||||||
|
}
|
||||||
|
.content-block ul li:last-child { border-bottom: 0; }
|
||||||
|
.content-block ul li::before {
|
||||||
|
content: '→';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
color: var(--accent-hi);
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
.content-block strong { color: var(--ink); font-weight: 600; }
|
||||||
|
|
||||||
|
.actions-row {
|
||||||
|
display: flex; flex-wrap: wrap;
|
||||||
|
gap: .75rem;
|
||||||
|
margin: 2.5rem 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
PDF embed
|
||||||
|
============================================================ */
|
||||||
|
.pdf-frame {
|
||||||
|
width: 100%;
|
||||||
|
height: 80vh;
|
||||||
|
min-height: 600px;
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--bg-alt);
|
||||||
|
margin-top: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Projets listing
|
||||||
|
============================================================ */
|
||||||
|
.projects-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
||||||
|
gap: 2rem;
|
||||||
|
}
|
||||||
|
.project-item {
|
||||||
|
background: var(--bg-card);
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 2rem 1.75rem 1.75rem;
|
||||||
|
transition: transform .25s, border-color .25s, box-shadow .25s;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: .5rem;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.project-item::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0; left: 0;
|
||||||
|
width: 40px; height: 3px;
|
||||||
|
background: var(--accent-hi);
|
||||||
|
transition: width .3s;
|
||||||
|
}
|
||||||
|
.project-item:hover {
|
||||||
|
transform: translateY(-4px);
|
||||||
|
border-color: var(--ink);
|
||||||
|
box-shadow: 0 20px 40px -20px rgba(0,0,0,.15);
|
||||||
|
}
|
||||||
|
.project-item:hover::before { width: 100%; }
|
||||||
|
.project-item .pi-num {
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: .75rem;
|
||||||
|
color: var(--ink-muted);
|
||||||
|
letter-spacing: .12em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
.project-item h3 {
|
||||||
|
margin: .5rem 0 0;
|
||||||
|
font-family: var(--font-serif);
|
||||||
|
font-size: 1.6rem;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--ink);
|
||||||
|
}
|
||||||
|
.project-item p {
|
||||||
|
margin: 0;
|
||||||
|
color: var(--ink-soft);
|
||||||
|
font-size: .95rem;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
.project-item .pi-cta {
|
||||||
|
margin-top: 1rem;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: .78rem;
|
||||||
|
letter-spacing: .1em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: var(--ink);
|
||||||
|
font-weight: 500;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: .5rem;
|
||||||
|
transition: gap .25s;
|
||||||
|
}
|
||||||
|
.project-item:hover .pi-cta { gap: .9rem; color: var(--accent); }
|
||||||
|
.project-item--empty {
|
||||||
|
background: transparent;
|
||||||
|
border-style: dashed;
|
||||||
|
color: var(--ink-muted);
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.project-item--empty::before { display: none; }
|
||||||
|
.project-item--empty:hover {
|
||||||
|
transform: none; border-color: var(--line); box-shadow: none;
|
||||||
|
}
|
||||||
|
.project-item--empty h3 { color: var(--ink-muted); font-style: italic; }
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Projet détail (meta + tags)
|
||||||
|
============================================================ */
|
||||||
|
.project-meta {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
||||||
|
gap: 1.5rem 2rem;
|
||||||
|
padding: 1.75rem 0;
|
||||||
|
margin: 0 0 2rem;
|
||||||
|
border-top: 1px solid var(--line);
|
||||||
|
border-bottom: 1px solid var(--line);
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
.project-meta .meta-item { margin: 0; }
|
||||||
|
.project-meta .meta-item dt {
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: .7rem; text-transform: uppercase;
|
||||||
|
letter-spacing: .15em; color: var(--ink-muted);
|
||||||
|
font-weight: 500; margin-bottom: .4rem;
|
||||||
|
}
|
||||||
|
.project-meta .meta-item dd {
|
||||||
|
margin: 0; color: var(--ink);
|
||||||
|
font-weight: 500; font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
|
||||||
|
.tag {
|
||||||
|
display: inline-block;
|
||||||
|
padding: .35rem .85rem;
|
||||||
|
background: transparent;
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
color: var(--ink-soft);
|
||||||
|
border-radius: 99px;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: .72rem;
|
||||||
|
font-weight: 500;
|
||||||
|
letter-spacing: .03em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Contact
|
||||||
|
============================================================ */
|
||||||
|
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
|
||||||
|
.contact-info p { margin: 0 0 1.5rem; color: var(--ink-soft); }
|
||||||
|
.contact-info strong {
|
||||||
|
color: var(--ink-muted); display: block;
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: .72rem; text-transform: uppercase;
|
||||||
|
letter-spacing: .15em; margin-bottom: .3rem;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.contact-info a {
|
||||||
|
color: var(--ink);
|
||||||
|
border-bottom: 1px solid var(--ink-muted);
|
||||||
|
transition: color .2s, border-color .2s;
|
||||||
|
}
|
||||||
|
.contact-info a:hover { color: var(--accent); border-color: var(--accent); }
|
||||||
|
|
||||||
|
.contact form { display: grid; gap: 1rem; }
|
||||||
|
.contact input, .contact textarea {
|
||||||
|
font: inherit;
|
||||||
|
padding: 1rem 1.1rem;
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: 6px;
|
||||||
|
background: var(--bg-card);
|
||||||
|
color: var(--ink);
|
||||||
|
transition: border-color .2s, box-shadow .2s;
|
||||||
|
}
|
||||||
|
.contact input:focus, .contact textarea:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: var(--ink);
|
||||||
|
box-shadow: 0 0 0 3px rgba(10,10,10,.06);
|
||||||
|
}
|
||||||
|
.contact textarea { min-height: 170px; resize: vertical; }
|
||||||
|
|
||||||
|
/* WPForms override */
|
||||||
|
.contact-form .wpforms-container { margin: 0 !important; }
|
||||||
|
.contact-form .wpforms-field-label {
|
||||||
|
color: var(--ink) !important; font-weight: 500 !important;
|
||||||
|
font-size: .85rem !important;
|
||||||
|
}
|
||||||
|
.contact-form input[type="text"],
|
||||||
|
.contact-form input[type="email"],
|
||||||
|
.contact-form input[type="tel"],
|
||||||
|
.contact-form textarea {
|
||||||
|
font: inherit !important;
|
||||||
|
padding: 1rem 1.1rem !important;
|
||||||
|
border: 1px solid var(--line) !important;
|
||||||
|
border-radius: 6px !important;
|
||||||
|
background: var(--bg-card) !important;
|
||||||
|
color: var(--ink) !important;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
.contact-form input:focus, .contact-form textarea:focus {
|
||||||
|
outline: none !important;
|
||||||
|
border-color: var(--ink) !important;
|
||||||
|
box-shadow: 0 0 0 3px rgba(10,10,10,.06) !important;
|
||||||
|
}
|
||||||
|
.contact-form textarea { min-height: 170px !important; resize: vertical !important; }
|
||||||
|
.contact-form .wpforms-submit {
|
||||||
|
background: var(--ink) !important;
|
||||||
|
color: var(--bg) !important;
|
||||||
|
border: 0 !important;
|
||||||
|
padding: .95rem 1.6rem !important;
|
||||||
|
border-radius: 99px !important;
|
||||||
|
font-weight: 500 !important;
|
||||||
|
cursor: pointer !important;
|
||||||
|
transition: background .2s !important;
|
||||||
|
}
|
||||||
|
.contact-form .wpforms-submit:hover { background: var(--accent) !important; }
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Footer
|
||||||
|
============================================================ */
|
||||||
|
.site-footer {
|
||||||
|
background: var(--bg-dark);
|
||||||
|
color: #bdbdb8;
|
||||||
|
padding: 4rem 0 1.5rem;
|
||||||
|
}
|
||||||
|
.site-footer .container {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 2rem;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
.site-footer p { color: #bdbdb8; margin: 0 0 .4rem; font-size: .95rem; }
|
||||||
|
.site-footer a {
|
||||||
|
color: var(--white);
|
||||||
|
border-bottom: 1px solid rgba(255,255,255,.3);
|
||||||
|
transition: border-color .2s;
|
||||||
|
}
|
||||||
|
.site-footer a:hover { border-color: var(--white); }
|
||||||
|
.site-footer strong { color: var(--white); font-weight: 500; }
|
||||||
|
.site-footer .footer-brand {
|
||||||
|
font-family: var(--font-serif);
|
||||||
|
font-size: 1.5rem;
|
||||||
|
color: var(--white);
|
||||||
|
margin-bottom: .75rem;
|
||||||
|
display: block;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.site-footer .legal {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 2.5rem; padding-top: 1.5rem;
|
||||||
|
border-top: 1px solid rgba(255, 255, 255, .1);
|
||||||
|
font-family: var(--font-mono);
|
||||||
|
font-size: .75rem;
|
||||||
|
color: #7a7a76;
|
||||||
|
letter-spacing: .05em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Responsive
|
||||||
|
============================================================ */
|
||||||
|
@media (max-width: 900px) {
|
||||||
|
.hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
|
||||||
|
.hero-photo { margin: 0 auto; max-width: 280px; }
|
||||||
|
.hero { padding: 3.5rem 0 2rem; }
|
||||||
|
.hero::before { display: none; }
|
||||||
|
.contact-grid { grid-template-columns: 1fr; gap: 2rem; }
|
||||||
|
.section-head { flex-direction: column; align-items: flex-start; }
|
||||||
|
section { padding: 4rem 0; }
|
||||||
|
.nav-list a {
|
||||||
|
grid-template-columns: 40px 1fr auto;
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 1.25rem 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 720px) {
|
||||||
|
.nav-toggle { display: block; }
|
||||||
|
.main-nav {
|
||||||
|
position: absolute; top: 100%; left: 0; right: 0;
|
||||||
|
background: var(--bg);
|
||||||
|
border-bottom: 1px solid var(--line);
|
||||||
|
max-height: 0; overflow: hidden;
|
||||||
|
transition: max-height .3s;
|
||||||
|
}
|
||||||
|
.main-nav.is-open { max-height: 500px; }
|
||||||
|
.main-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.75rem 1rem; }
|
||||||
|
.main-nav li { border-bottom: 1px solid var(--line); }
|
||||||
|
.main-nav li:last-child { border-bottom: 0; }
|
||||||
|
.main-nav a { display: block; padding: .9rem 0; }
|
||||||
|
.main-nav a::after { display: none; }
|
||||||
|
.np-title { font-size: 1.4rem; }
|
||||||
|
.page-hero { padding: 3.5rem 0 2.5rem; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Template Name: Contact
|
||||||
|
*/
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
||||||
|
get_header();
|
||||||
|
?>
|
||||||
|
|
||||||
|
<section class="page-hero">
|
||||||
|
<div class="container">
|
||||||
|
<div class="breadcrumb">
|
||||||
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a>
|
||||||
|
<span class="sep">/</span>
|
||||||
|
<span>Contact</span>
|
||||||
|
</div>
|
||||||
|
<span class="eyebrow">Prenons contact</span>
|
||||||
|
<h1>Me contacter</h1>
|
||||||
|
<p class="lead">Pour toute proposition de stage, question ou échange professionnel.</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<div class="container">
|
||||||
|
<div class="contact-grid contact">
|
||||||
|
<div class="contact-info">
|
||||||
|
<p><strong>Téléphone</strong>
|
||||||
|
07 69 17 68 93</p>
|
||||||
|
|
||||||
|
<p><strong>Email</strong>
|
||||||
|
<a href="mailto:romaindacet11@gmail.com">romaindacet11@gmail.com</a></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="contact-form">
|
||||||
|
<?php
|
||||||
|
if ( shortcode_exists( 'wpforms' ) ) {
|
||||||
|
echo do_shortcode( '[wpforms id="22"]' );
|
||||||
|
} else {
|
||||||
|
?>
|
||||||
|
<form action="mailto:romaindacet11@gmail.com" method="post" enctype="text/plain">
|
||||||
|
<input type="text" name="name" placeholder="Votre nom" required>
|
||||||
|
<input type="email" name="email" placeholder="Votre email" required>
|
||||||
|
<textarea name="message" placeholder="Votre message" required></textarea>
|
||||||
|
<button type="submit" class="btn">Envoyer <span class="arrow-i">→</span></button>
|
||||||
|
</form>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<?php get_footer(); ?>
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Template Name: CV
|
||||||
|
*/
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
||||||
|
get_header();
|
||||||
|
$skills = prd_get_skills();
|
||||||
|
$formation = prd_get_formation();
|
||||||
|
$experiences = prd_get_experiences();
|
||||||
|
?>
|
||||||
|
|
||||||
|
<section class="page-hero">
|
||||||
|
<div class="container">
|
||||||
|
<div class="breadcrumb">
|
||||||
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a>
|
||||||
|
<span class="sep">/</span>
|
||||||
|
<span>CV</span>
|
||||||
|
</div>
|
||||||
|
<span class="eyebrow">Curriculum vitæ</span>
|
||||||
|
<h1>Romain Dacet — Technicien réseau</h1>
|
||||||
|
<p>Étudiant en première année de BTS SIO au lycée Guy Mollet à Arras.</p>
|
||||||
|
<div class="actions-row">
|
||||||
|
<a href="<?php echo prd_pdf( 'cv.pdf' ); ?>" class="btn" download>Télécharger le PDF</a>
|
||||||
|
<a href="<?php echo prd_pdf( 'cv.pdf' ); ?>" class="btn btn--outline" target="_blank" rel="noopener">Ouvrir dans un onglet</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<div class="container">
|
||||||
|
<div class="content-block">
|
||||||
|
|
||||||
|
<h2>Formation & diplômes</h2>
|
||||||
|
<ul>
|
||||||
|
<?php foreach ( $formation as $f ) : ?>
|
||||||
|
<li><strong><?php echo esc_html( $f['date'] ); ?> —</strong> <?php echo esc_html( $f['title'] ); ?>. <?php echo esc_html( $f['desc'] ); ?></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>Expérience professionnelle</h2>
|
||||||
|
<ul>
|
||||||
|
<?php foreach ( $experiences as $e ) : ?>
|
||||||
|
<li><strong><?php echo esc_html( $e['date'] ); ?> —</strong> <?php echo esc_html( $e['title'] ); ?>. <?php echo esc_html( $e['tagline'] ); ?></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>Compétences</h2>
|
||||||
|
<ul>
|
||||||
|
<?php foreach ( $skills as $s ) : ?>
|
||||||
|
<li><strong><?php echo esc_html( $s['name'] ); ?></strong> — <?php echo esc_html( $s['desc'] ); ?></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>Centres d'intérêt</h2>
|
||||||
|
<ul>
|
||||||
|
<li>Voyage</li>
|
||||||
|
<li>Cinéma</li>
|
||||||
|
<li>Taekwondo</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>Coordonnées</h2>
|
||||||
|
<ul>
|
||||||
|
<li><strong>Téléphone :</strong> 07 69 17 68 93</li>
|
||||||
|
<li><strong>Email :</strong> <a href="mailto:romaindacet11@gmail.com">romaindacet11@gmail.com</a></li>
|
||||||
|
<li><strong>Adresse :</strong> 11 Hameau des Grives, 62223 Saint-Nicolas</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>CV en PDF</h2>
|
||||||
|
<p>Version originale de mon CV, telle que déposée auprès des entreprises :</p>
|
||||||
|
<iframe class="pdf-frame" src="<?php echo prd_pdf( 'cv.pdf' ); ?>" title="CV de Romain Dacet"></iframe>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<?php get_footer(); ?>
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Template Name: Lettre de motivation
|
||||||
|
*/
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
||||||
|
get_header();
|
||||||
|
?>
|
||||||
|
|
||||||
|
<section class="page-hero">
|
||||||
|
<div class="container">
|
||||||
|
<div class="breadcrumb">
|
||||||
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a>
|
||||||
|
<span class="sep">/</span>
|
||||||
|
<span>Lettre de motivation</span>
|
||||||
|
</div>
|
||||||
|
<span class="eyebrow">Candidature stage BTS SIO</span>
|
||||||
|
<h1>Lettre de motivation</h1>
|
||||||
|
<p>Candidature pour un stage dans le domaine du réseau informatique, du 25 mai 2026 au 4 juillet 2026.</p>
|
||||||
|
<div class="actions-row">
|
||||||
|
<a href="<?php echo prd_pdf( 'lettre-de-motivation.pdf' ); ?>" class="btn" download>Télécharger le PDF</a>
|
||||||
|
<a href="<?php echo prd_pdf( 'lettre-de-motivation.pdf' ); ?>" class="btn btn--outline" target="_blank" rel="noopener">Ouvrir dans un onglet</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<div class="container">
|
||||||
|
<div class="content-block">
|
||||||
|
|
||||||
|
<p><strong>Romain Dacet</strong><br>
|
||||||
|
11 Hameau des Grives<br>
|
||||||
|
62223 Saint-Nicolas<br>
|
||||||
|
07 69 17 68 93 · <a href="mailto:romaindacet11@gmail.com">romaindacet11@gmail.com</a></p>
|
||||||
|
|
||||||
|
<p><em>Saint-Nicolas, le 2 décembre 2025</em></p>
|
||||||
|
|
||||||
|
<p><strong>À l'attention de M. / Mme.</strong></p>
|
||||||
|
|
||||||
|
<p>Madame, Monsieur,</p>
|
||||||
|
|
||||||
|
<p>Je suis actuellement en formation au sein du BTS SIO (Services Informatiques aux Organisations) au lycée Guy Mollet à Arras et je vous présente ma candidature pour un <strong>stage dans le domaine du réseau informatique</strong> qui se déroulera du <strong>25 mai 2026 au 4 juillet 2026</strong>. Fortement motivé par les enjeux techniques liés à l'infrastructure informatique, je suis convaincu que votre entreprise me permettra de développer mes compétences et de contribuer à vos projets.</p>
|
||||||
|
|
||||||
|
<p>Au cours de ma formation, j'ai acquis des connaissances solides dans les domaines suivants :</p>
|
||||||
|
<ul>
|
||||||
|
<li>Installation et configuration d'OS (Windows, Linux)</li>
|
||||||
|
<li>Mise en place et configuration de routeurs</li>
|
||||||
|
<li>Gestion d'infrastructure réseau</li>
|
||||||
|
<li>Notions de sécurité informatique et réseau</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>Ces compétences techniques, associées à ma <strong>capacité d'apprentissage rapide</strong> et à ma <strong>rigueur</strong>, me permettront de m'adapter rapidement à votre environnement professionnel et de contribuer efficacement aux missions qui me seront confiées.</p>
|
||||||
|
|
||||||
|
<p>Je suis particulièrement attiré par votre structure car elle me permettra de mettre en pratique les connaissances théoriques acquises lors de ma formation et de progresser dans un environnement professionnel structuré. L'expertise de votre équipe en matière d'infrastructure réseau est une opportunité exceptionnelle pour renforcer mes compétences techniques et développer une première expérience concrète du métier.</p>
|
||||||
|
|
||||||
|
<p>Dans l'attente de votre retour, je reste à votre disposition pour échanger davantage. Je vous prie d'agréer, Madame, Monsieur, l'expression de mes salutations distinguées.</p>
|
||||||
|
|
||||||
|
<p><strong>Romain Dacet</strong></p>
|
||||||
|
|
||||||
|
<h2>Lettre en PDF</h2>
|
||||||
|
<iframe class="pdf-frame" src="<?php echo prd_pdf( 'lettre-de-motivation.pdf' ); ?>" title="Lettre de motivation"></iframe>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<?php get_footer(); ?>
|
||||||
@@ -0,0 +1,122 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Template Name: Projet — Brasserie Terroir & Savoirs
|
||||||
|
*/
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
||||||
|
get_header();
|
||||||
|
|
||||||
|
$products = array(
|
||||||
|
array(
|
||||||
|
'img' => 'brasserie/produits-01.png',
|
||||||
|
'name' => 'Bière Blonde',
|
||||||
|
'desc' => 'Légère et rafraîchissante, équilibre parfait entre douceur et amertume. Malts sélectionnés et houblons aromatiques pour des notes subtiles de céréales et une touche florale.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'img' => 'brasserie/produits-02.png',
|
||||||
|
'name' => 'Bière Brune',
|
||||||
|
'desc' => 'Riche et intense, malts torréfiés révélant des arômes de chocolat noir, de caramel et une pointe de café. Texture ronde pour les amateurs de saveurs puissantes.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'img' => 'brasserie/produits-03.png',
|
||||||
|
'name' => 'Bière IPA',
|
||||||
|
'desc' => 'Audacieuse et aromatique, houblons expressifs et amertume affirmée. Arômes d\'agrumes, de fruits tropicaux et de résine de pin ; finale sèche.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'img' => 'brasserie/produits-04.png',
|
||||||
|
'name' => 'Whisky',
|
||||||
|
'desc' => 'Distillé avec soin et vieilli en fûts de chêne : notes de vanille, d\'épices douces, de fruits secs et une pointe de tourbe. Ronde et élégante.',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'img' => 'brasserie/produits-05.png',
|
||||||
|
'name' => 'Gin',
|
||||||
|
'desc' => 'Plantes aromatiques locales et épices sélectionnées : genièvre, zestes d\'agrumes et touches herbacées. Un spiritueux raffiné pour cocktails ou dégustation pure.',
|
||||||
|
),
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
|
||||||
|
<section class="page-hero">
|
||||||
|
<div class="container">
|
||||||
|
<div class="breadcrumb">
|
||||||
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a>
|
||||||
|
<span class="sep">/</span>
|
||||||
|
<a href="<?php echo prd_page_url( 'projets' ); ?>">Projets</a>
|
||||||
|
<span class="sep">/</span>
|
||||||
|
<span>Brasserie T&S</span>
|
||||||
|
</div>
|
||||||
|
<span class="eyebrow">Projet BTS SIO · 2026</span>
|
||||||
|
<h1>Brasserie <em>Terroir & Savoirs</em></h1>
|
||||||
|
<p class="lead">Site vitrine WordPress pour une brasserie artisanale des Hauts-de-France.</p>
|
||||||
|
<div class="actions-row">
|
||||||
|
<a href="https://rdacetbrasserie.free.nf" class="btn" target="_blank" rel="noopener">Voir le site en ligne <span class="arrow-i">→</span></a>
|
||||||
|
<a href="https://github.com/rdacet/brasserie-ts" class="btn btn--outline" target="_blank" rel="noopener">GitHub</a>
|
||||||
|
<a href="<?php echo prd_page_url( 'projets' ); ?>" class="btn btn--outline">Retour aux projets</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<div class="container-sm">
|
||||||
|
<div class="content-block">
|
||||||
|
|
||||||
|
<dl class="project-meta">
|
||||||
|
<div class="meta-item"><dt>Type</dt><dd>Site vitrine WordPress</dd></div>
|
||||||
|
<div class="meta-item"><dt>Année</dt><dd>2026 — 1ʳᵉ année BTS SIO</dd></div>
|
||||||
|
<div class="meta-item"><dt>Hébergement</dt><dd>InfinityFree</dd></div>
|
||||||
|
<div class="meta-item"><dt>Statut</dt><dd>En ligne</dd></div>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<h2>Contexte</h2>
|
||||||
|
<p>La <strong>Brasserie Terroir & Savoirs</strong>, artisan brasseur situé dans les Hauts-de-France, souhaitait moderniser son image et ses outils de communication grâce au numérique. Le projet consistait à concevoir un <strong>site vitrine WordPress</strong> présentant la brasserie, ses valeurs et sa gamme (bières artisanales et spiritueux).</p>
|
||||||
|
<p>Ce projet s'inscrit dans le cadre de ma première année de <strong>BTS SIO</strong> au lycée Guy Mollet à Arras.</p>
|
||||||
|
|
||||||
|
<h2>Cahier des charges</h2>
|
||||||
|
<ul>
|
||||||
|
<li>Faire apparaître le <strong>logo</strong> de la brasserie et des photos de la production</li>
|
||||||
|
<li>Respecter un <strong>code couleur cuivré</strong> (beige, ocre, marron, orange)</li>
|
||||||
|
<li>Intégrer une <strong>barre de menu</strong> en haut de page permettant d'accéder aux différentes rubriques</li>
|
||||||
|
<li>Présenter les <strong>produits</strong> (bières & spiritueux) avec la possibilité de consulter leurs informations</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>Aperçu des produits</h2>
|
||||||
|
<p>Les cinq références présentées sur le site : trois bières artisanales (Blonde, Brune, IPA) et deux spiritueux (Whisky, Gin).</p>
|
||||||
|
|
||||||
|
<div class="projects-grid" style="margin:2rem 0 1rem;">
|
||||||
|
<?php foreach ( $products as $p ) : ?>
|
||||||
|
<div class="project-item" style="cursor:default;">
|
||||||
|
<img src="<?php echo prd_img( $p['img'] ); ?>"
|
||||||
|
alt="<?php echo esc_attr( $p['name'] ); ?>"
|
||||||
|
style="max-height:180px;width:auto;margin:0 auto 1rem;object-fit:contain;">
|
||||||
|
<h3 style="text-align:center;"><?php echo esc_html( $p['name'] ); ?></h3>
|
||||||
|
<p style="text-align:center;"><?php echo esc_html( $p['desc'] ); ?></p>
|
||||||
|
</div>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h2>Déploiement & mise en ligne</h2>
|
||||||
|
<ul>
|
||||||
|
<li>Création d'un compte <strong>InfinityFree</strong> avec un sous-domaine gratuit (<code>rdacetbrasserie.free.nf</code>)</li>
|
||||||
|
<li>Installation de WordPress via <strong>Softaculous</strong></li>
|
||||||
|
<li>Paramétrage du thème, du menu et du formulaire de contact depuis l'admin WordPress</li>
|
||||||
|
<li>Mise en ligne des images via le <strong>File Manager cPanel</strong></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>Compétences BTS SIO mobilisées</h2>
|
||||||
|
<ul>
|
||||||
|
<li><strong>Bloc 1 — Support et mise à disposition de services informatiques :</strong> installation et configuration d'un CMS, déploiement sur hébergement mutualisé, gestion d'un espace d'hébergement distant</li>
|
||||||
|
<li><strong>Transverses :</strong> lecture et respect d'un cahier des charges client, prise en compte des contraintes légales (bandeau d'avertissement sur l'alcool)</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>Bilan</h2>
|
||||||
|
<p>Ce projet m'a permis de comprendre concrètement comment <strong>WordPress</strong> fonctionne côté administration et configuration. La mise en ligne sur InfinityFree a été l'occasion de pratiquer la gestion d'un hébergement mutualisé réel (FTP, cPanel, File Manager), ce qui rejoint directement les compétences visées par ma recherche de stage en réseau / infrastructure.</p>
|
||||||
|
|
||||||
|
<div class="actions-row">
|
||||||
|
<a href="https://rdacetbrasserie.free.nf" class="btn" target="_blank" rel="noopener">Voir le site en ligne <span class="arrow-i">→</span></a>
|
||||||
|
<a href="https://github.com/rdacet/brasserie-ts" class="btn btn--outline" target="_blank" rel="noopener">GitHub</a>
|
||||||
|
<a href="<?php echo prd_page_url( 'projets' ); ?>" class="btn btn--outline">Retour aux projets</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<?php get_footer(); ?>
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Template Name: Projets
|
||||||
|
*/
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
||||||
|
get_header();
|
||||||
|
$projects = prd_get_projects();
|
||||||
|
?>
|
||||||
|
|
||||||
|
<section class="page-hero">
|
||||||
|
<div class="container">
|
||||||
|
<div class="breadcrumb">
|
||||||
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a>
|
||||||
|
<span class="sep">/</span>
|
||||||
|
<span>Projets</span>
|
||||||
|
</div>
|
||||||
|
<span class="eyebrow">Portfolio</span>
|
||||||
|
<h1>Projets</h1>
|
||||||
|
<p class="lead">Projets réalisés dans le cadre de ma formation ou sur mon temps libre. Cliquez sur une carte pour ouvrir la fiche détaillée.</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<div class="container">
|
||||||
|
<div class="projects-grid">
|
||||||
|
<?php $i = 1; foreach ( $projects as $p ) : ?>
|
||||||
|
<a href="<?php echo prd_page_url( $p['url'] ); ?>" class="project-item">
|
||||||
|
<span class="pi-num"><?php echo str_pad( $i, 2, '0', STR_PAD_LEFT ); ?> · <?php echo esc_html( $p['year'] ); ?></span>
|
||||||
|
<h3><?php echo esc_html( $p['title'] ); ?></h3>
|
||||||
|
<p><?php echo esc_html( $p['tagline'] ); ?></p>
|
||||||
|
<span class="pi-cta">Voir le projet <span>→</span></span>
|
||||||
|
</a>
|
||||||
|
<?php $i++; endforeach; ?>
|
||||||
|
|
||||||
|
<div class="project-item project-item--empty">
|
||||||
|
<span class="pi-num">—</span>
|
||||||
|
<h3>Bientôt</h3>
|
||||||
|
<p>D'autres projets seront ajoutés au fil du BTS SIO.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<?php get_footer(); ?>
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Template Name: Veille technologique
|
||||||
|
*/
|
||||||
|
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
||||||
|
get_header();
|
||||||
|
?>
|
||||||
|
|
||||||
|
<section class="page-hero">
|
||||||
|
<div class="container">
|
||||||
|
<div class="breadcrumb">
|
||||||
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">Accueil</a>
|
||||||
|
<span class="sep">/</span>
|
||||||
|
<span>Veille technologique</span>
|
||||||
|
</div>
|
||||||
|
<span class="eyebrow">BTS SIO — Épreuve E5</span>
|
||||||
|
<h1>Veille technologique</h1>
|
||||||
|
<p>Suivi régulier d'un thème technologique lié à l'informatique : sources, synthèses et évolutions observées.</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<div class="container">
|
||||||
|
<div class="content-block">
|
||||||
|
|
||||||
|
<dl class="project-meta">
|
||||||
|
<div class="meta-item"><dt>Thème</dt><dd><em>À compléter</em></dd></div>
|
||||||
|
<div class="meta-item"><dt>Période</dt><dd>2025 – 2026</dd></div>
|
||||||
|
<div class="meta-item"><dt>Fréquence</dt><dd>Hebdomadaire</dd></div>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<h2>Sujet retenu</h2>
|
||||||
|
<p><em>Préciser ici le sujet de veille choisi (ex : sécurité des réseaux Wi-Fi, évolution de Linux, conteneurisation, IA générative, IPv6, etc.) et expliquer pourquoi il a été choisi.</em></p>
|
||||||
|
|
||||||
|
<h2>Pourquoi ce sujet ?</h2>
|
||||||
|
<p><em>Justifier en 3-4 lignes : pertinence pour le BTS SIO, centre d'intérêt personnel, enjeux professionnels anticipés.</em></p>
|
||||||
|
|
||||||
|
<h2>Sources suivies</h2>
|
||||||
|
<ul>
|
||||||
|
<li><em>Source 1 — nom + URL (ex : Le Monde Informatique)</em></li>
|
||||||
|
<li><em>Source 2 — nom + URL (ex : ZDNet, Next INpact, Clubic Pro…)</em></li>
|
||||||
|
<li><em>Flux RSS / newsletter / podcast</em></li>
|
||||||
|
<li><em>Comptes X / Mastodon / LinkedIn</em></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>Outils utilisés</h2>
|
||||||
|
<div class="tags">
|
||||||
|
<span class="tag">Feedly</span>
|
||||||
|
<span class="tag">Flux RSS</span>
|
||||||
|
<span class="tag">Newsletter</span>
|
||||||
|
<span class="tag">Bookmarks</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h2>Synthèses</h2>
|
||||||
|
|
||||||
|
<h3>Article 1 — <em>Titre</em> (date)</h3>
|
||||||
|
<p><em>Résumé en 4-5 lignes : ce que dit l'article, ce qu'on en retient, lien avec le BTS SIO.</em></p>
|
||||||
|
|
||||||
|
<h3>Article 2 — <em>Titre</em> (date)</h3>
|
||||||
|
<p><em>Résumé.</em></p>
|
||||||
|
|
||||||
|
<h3>Article 3 — <em>Titre</em> (date)</h3>
|
||||||
|
<p><em>Résumé.</em></p>
|
||||||
|
|
||||||
|
<h2>Bilan</h2>
|
||||||
|
<p><em>Ce que cette veille m'a appris, les évolutions notables observées, comment cela influence mes choix de stage / de parcours.</em></p>
|
||||||
|
|
||||||
|
<div class="actions-row">
|
||||||
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="btn btn--outline">Retour à l'accueil</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<?php get_footer(); ?>
|
||||||
Reference in new issue
Block a user