Skip to content

Latest commit

Β 

History

History
100 lines (70 loc) Β· 2.24 KB

File metadata and controls

100 lines (70 loc) Β· 2.24 KB

Christophe Trefois - Professional Website

Modern professional website built with Astro, showcasing research, publications, and professional activities.

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

The site will be available at http://localhost:4321

πŸ—οΈ Project Structure

/
β”œβ”€β”€ public/              # Static assets
β”‚   └── favicon.svg
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ layouts/
β”‚   β”‚   └── Layout.astro    # Main layout component
β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”œβ”€β”€ index.astro     # Home page
β”‚   β”‚   β”œβ”€β”€ about.astro     # About page
β”‚   β”‚   β”œβ”€β”€ publications.astro
β”‚   β”‚   β”œβ”€β”€ projects.astro
β”‚   β”‚   └── contact.astro
β”‚   └── styles/
β”‚       └── global.css      # Global styles
β”œβ”€β”€ astro.config.mjs
β”œβ”€β”€ package.json
└── tsconfig.json

πŸ“ Content Updates

Adding/Updating Publications

Edit src/pages/publications.astro and add to the appropriate section in the publications object.

Updating Current Role

Edit the placeholder text in src/pages/index.astro in the "Current Role" section.

Adding Projects

Edit src/pages/projects.astro and add new project cards to the grid.

🎨 Features

  • βœ… Modern, responsive design
  • βœ… Dark/light mode toggle
  • βœ… SEO optimized
  • βœ… Fast performance (Astro SSG)
  • βœ… Accessible
  • βœ… Mobile-friendly

🌐 Deployment

This site is configured for GitHub Pages deployment:

npm run build

The built site will be in the dist/ directory.

GitHub Pages Setup

  1. Push to your repository
  2. Go to Settings > Pages
  3. Set source to GitHub Actions or the dist/ folder
  4. The site will be available at https://trefex.github.io

πŸ“„ License

Β© 2025 Christophe Trefois. All rights reserved.

πŸ”— Links