-
Notifications
You must be signed in to change notification settings - Fork 0
Migration site #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This CSS file contains variables and styles for light and dark modes, global adaptive styles, responsive design, and accessibility features.
Added a translation system for English and French, including navigation, hero section, services, tech stack, contact, footer, and cookie banner.
This CSS file styles a chatbot interface, including the chatbot bubble, window, messages, and input elements. It also includes animations and responsive design for mobile devices.
This CSS file contains styles for five different templates: Moderne, Professionnel, Fluide, Épuré, and Glass. Each template has specific styles for elements like headers, service cards, buttons, and layout adjustments.
This file contains various managers for theme, navigation, cookies, and error handling, along with initialization logic for the application.
This HTML file serves as an interactive README for The Phoenix Agency, detailing its multilingual capabilities, features, and project structure.
Added styles for template buttons and selector on mobile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request represents a major migration of The Phoenix Agency website, transitioning from a basic static site to a feature-rich, interactive web application with multiple enhancements.
Purpose: Complete redesign and expansion of the website with new interactive features, internationalization, theme support, and improved user experience.
Key changes:
- Added internationalization system (FR/EN) with automatic IP-based language detection
- Implemented dark/light theme system with WCAG AA compliance
- Added 4 visual template options (Modern, Professional, Fluid, Minimalist)
- Created interactive PhoenixOS demo with 4 games (Snake, Tic-Tac-Toe, Memory, Pong)
- Added GDPR-compliant cookie consent management
- Built visitor statistics tracking system
- Included AI chatbot interface
- Enhanced SEO with comprehensive meta tags, sitemap, and robots.txt
- Simplified and modernized CSS architecture
Reviewed changes
Copilot reviewed 16 out of 19 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| theme.js | Core functionality for theme management, navigation, cookie consent, visit tracking, templates, tab menu, and error handling |
| locales.js | Internationalization system with FR/EN translations and IP-based language detection |
| chatbot.js | Interactive chatbot widget with quick replies and typing indicators |
| templates.css | 4 visual template styles (moderne, professionnel, fluide, épuré) plus tab menu and template selector UI |
| styles.css | Completely rewritten with simplified, modern CSS using CSS variables for theming |
| index.html | Redesigned main page with cleaner structure, embedded styles, internationalization support |
| readme.html | Interactive bilingual documentation page |
| phoenix-os.html | Fully functional OS simulation with file system, terminal, calculator, paint, and games |
| statistiques.html | Visitor statistics dashboard with charts and analytics |
| sitemap.xml | SEO sitemap for search engine indexing |
| robots.txt | Enhanced bot control with AI bot blocking and crawl management |
| old_* files | Preserved previous versions of replaced files |
| @@ -0,0 +1,496 @@ | |||
| rajoute LM Studio encompétences // =================================== | |||
Copilot
AI
Dec 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is corrupted text at the beginning of this file: "rajoute LM Studio encompétences". This appears to be a copy-paste error or incomplete edit. The file should start directly with the comment "// ===================================".
| rajoute LM Studio encompétences // =================================== | |
| // =================================== |
| window.open('https://calendly.com/your-link', '_blank'); | ||
| }, 1500); | ||
| break; | ||
| window.open('https://calendly.com/ethanbernier/', '_blank'); case 'question': |
Copilot
AI
Dec 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code structure is malformed. Line 212 contains the closing statement for the 'booking' case, but line 213 (which appears to be an insertion error) contains "window.open('https://calendly.com/ethanbernier/', '_blank');" followed by the start of the 'question' case on the same line. This will cause a syntax error as the 'question' case label is unreachable after a statement. The calendly link on line 213 appears to be a duplicate of the intended functionality on line 210.
| window.open('https://calendly.com/ethanbernier/', '_blank'); case 'question': | |
| case 'question': |
| Allow: / | ||
|
|
||
| # Sitemap (si vous en créez un) | ||
| Sitemap: https://ethanthePhoenix38.github.io/phoenixproject-website/sitemap.xml |
Copilot
AI
Dec 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sitemap URL points to "https://ethanthePhoenix38.github.io/phoenixproject-website/sitemap.xml" which doesn't match the canonical URL pattern used elsewhere in the codebase ("https://thephoenixagency.github.io/"). This inconsistency will prevent search engines from finding the sitemap at the correct location.
| Sitemap: https://ethanthePhoenix38.github.io/phoenixproject-website/sitemap.xml | |
| Sitemap: https://thephoenixagency.github.io/sitemap.xml |
| timestamp: new Date().toISOString() | ||
| }); | ||
| } catch (error) { | ||
| console.log('Visit tracking unavailable'); |
Copilot
AI
Dec 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error message 'Visit tracking unavailable' is logged silently to the console without providing any context about why tracking failed. Consider making this error message more descriptive (e.g., "Unable to detect visitor location: network error" or "IP geolocation service unavailable") to help with debugging.
| console.log('Visit tracking unavailable'); | |
| console.error('Visit tracking unavailable: failed to fetch IP geolocation data.', error); |
| updatePaddle(e.touches[0].clientY); | ||
| }, {passive: false}); | ||
|
|
||
| const gameLoop = setInterval(() => { |
Copilot
AI
Dec 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused variable gameLoop.
| const gameLoop = setInterval(() => { | |
| setInterval(() => { |
No description provided.