#!/bin/bash # Script pour créer la page Next.js /team et modifier Navigation # Ne pas utiliser set -e car on veut gérer les erreurs manuellement TECHRADAR_DIR=".techradar" TEAM_PAGE="$TECHRADAR_DIR/src/pages/team.tsx" NAV_FILE="$TECHRADAR_DIR/src/components/Navigation/Navigation.tsx" echo "📁 TECHRADAR_DIR: $TECHRADAR_DIR" echo "📄 TEAM_PAGE: $TEAM_PAGE" echo "📄 NAV_FILE: $NAV_FILE" # Créer la page team.tsx qui charge team.html via iframe (plus simple et fiable) if [ ! -f "$TEAM_PAGE" ]; then mkdir -p "$(dirname "$TEAM_PAGE")" cat > "$TEAM_PAGE" << 'EOF' import Head from "next/head"; import { CustomPage } from "@/pages/_app"; const TeamPage: CustomPage = () => { return ( <> Équipe & Technologies - Laplank