Resolve "Créer page de contact"
Closes #60 (closed)
Summary by CodeRabbit
-
Nouvelles Fonctionnalités
- Ajout d’une page de contact complète, avec un message localisé en français invitant aux échanges sur des projets créatifs.
- Mise en place d’une nouvelle route dédiée pour accéder à la page de contact.
- Actualisation des liens dans la barre de navigation, le pied-de-page et les sections principales pour rediriger correctement vers la page de contact.
Merge request reports
Activity
assigned to @SofianeLasri
Walkthrough
Ce changement introduit une nouvelle page de contact dans l’application. Un fichier PHP de langue française a été ajouté pour fournir une description localisée. Par ailleurs, plusieurs liens dans les fichiers Blade (navbar, footer, index, prestation, prestations) ont été mis à jour pour rediriger les utilisateurs vers la page de contact via une route dynamique. Enfin, une nouvelle route a été définie dans le fichier de configuration des routes afin de rendre la page accessible via l’URL "/contact".
Changes
Fichiers Résumé des modifications lang/fr/contact.php Ajout d’un nouveau fichier qui retourne un tableau associatif avec la clé 'desc'
et une description en français pour la prise de contact.resources/views/components/public/{footer,navbar}.blade.php Mise à jour des attributs href
pour utiliser{{ route('contact') }}
au lieu de"#"
, redirigeant ainsi vers la page de contact dans la navigation.resources/views/public/{index,prestation,prestations}.blade.php Modification des boutons dans la section Hero et d’autres parties pour remplacer les liens statiques par {{ route('contact') }}
afin d’accéder à la page contact.resources/views/public/contact.blade.php Création d’un template Blade pour la page de contact, incluant la navigation, l’en-tête, le pied de page et la génération dynamique de boutons pour les liens sociaux. routes/web.php Ajout d’une nouvelle route : Route::view('/contact', 'public.contact')->name('contact');
permettant d’afficher la page de contact via l’URL "/contact".Sequence Diagram(s)
sequenceDiagram participant U as Utilisateur participant B as Navigateur participant R as Route Laravel participant V as Vue Blade U->>B: Cliquer sur le bouton "Contact" B->>R: Envoi d'une requête GET sur "/contact" R->>V: Récupérer et retourner la vue "public.contact" V-->>B: Affichage de la page de contact
Poem
Dans le jardin du code, je bondis en gaieté,
Les routes se tracent, claires et bien dessinées.
Les liens s’enchantent de leur nouveau chemin,
La page contact s’ouvre sans détour, tout serein.
Moi, petit lapin codeur, je célèbre ce destin,
Hop, hop, vers l’avenir, en toute légèreté !
Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Free
Files selected for processing (8)-
lang/fr/contact.php
(1 hunks) -
resources/views/components/public/footer.blade.php
(1 hunks) -
resources/views/components/public/navbar.blade.php
(2 hunks) -
resources/views/public/contact.blade.php
(1 hunks) -
resources/views/public/index.blade.php
(1 hunks) -
resources/views/public/prestation.blade.php
(1 hunks) -
resources/views/public/prestations.blade.php
(1 hunks) -
routes/web.php
(1 hunks)
Files skipped from review due to trivial changes (1)- lang/fr/contact.php
NOTE Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.
TipsChat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>, please review it.
Generate unit testing code for this file.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitai
in a new review comment at the desired location with your query. Examples:@coderabbitai generate unit testing code for this file.
@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitai
in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
@coderabbitai read src/utils.ts and generate unit testing code.
@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
@coderabbitai help me debug CodeRabbit configuration file.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (Invoked using PR comments)
-
@coderabbitai pause
to pause the reviews on a PR. -
@coderabbitai resume
to resume the paused reviews. -
@coderabbitai review
to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. -
@coderabbitai full review
to do a full review from scratch and review all the files again. -
@coderabbitai summary
to regenerate the summary of the PR. -
@coderabbitai generate docstrings
to generate docstrings for this PR. (Beta) -
@coderabbitai resolve
resolve all the CodeRabbit review comments. -
@coderabbitai configuration
to show the current CodeRabbit configuration for the repository. -
@coderabbitai help
to get help.
Other keywords and placeholders
- Add
@coderabbitai ignore
anywhere in the PR description to prevent this PR from being reviewed. - Add
@coderabbitai summary
to generate the high-level summary at a specific location in the PR description. - Add
@coderabbitai
anywhere in the PR title to generate the title automatically.
CodeRabbit Configuration File (
.coderabbit.yaml
)- You can programmatically configure CodeRabbit by adding a
.coderabbit.yaml
file to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.
Edited by CodeRabbit-
added 1 commit
- 735eb140 - feat: add contact page and update references
mentioned in commit 0d045a4a