Skip to content

fix: apply owl background image to all pages, fix duplicate image on …#185

Merged
DavidKRK merged 3 commits into
gh-pagesfrom
copilot/add-project-description
Apr 17, 2026
Merged

fix: apply owl background image to all pages, fix duplicate image on …#185
DavidKRK merged 3 commits into
gh-pagesfrom
copilot/add-project-description

Conversation

@DavidKRK

Copy link
Copy Markdown
Owner

…index.html

Agent-Logs-Url: https://github.com/DavidKRK/DavidKRK.github.io/sessions/28085f91-8e33-4a62-8391-35151e5a9bf3


name: Pull Request
about: Proposer un changement au projet
title: ''
labels: ''
assignees: ''


1. Quels sont les changements ?

Résumé des changements :

(Décrivez brièvement les modifications apportées.)

Tickets / Issues liés :

  • Closes #
  • Ref #

2. Pourquoi ces changements ?

Contexte métier :

(Expliquez la raison fonctionnelle ou business de ces changements.)

Justification technique :

(Expliquez les choix d'architecture ou d'implémentation retenus.)


3. Tests

Tests unitaires :

  • Nouveaux tests ajoutés
  • Tests existants mis à jour
  • Tous les tests passent (npm test / bundle exec rspec / …)

Tests manuels :

  • Testé en local
  • Testé sur un environnement de staging / preview

Performances & Sécurité :

  • Impact sur les performances évalué
  • Aucune vulnérabilité introduite (dépendances, injection, XSS, …)

4. Changements majeurs (Breaking Changes)

Cette PR introduit-elle des ruptures d'API ou de comportement ?

  • Non
  • Oui — détails ci-dessous :

(Décrivez les ruptures et les impacts pour les consommateurs de l'API / les autres équipes.)

Instructions de migration :

(Si applicable, décrivez les étapes nécessaires pour migrer.)


5. Exigences de déploiement

  • Migrations de base de données à exécuter
  • Nouvelles variables d'environnement à configurer (listez-les ci-dessous)
  • Feature flags à activer / désactiver
  • Services tiers à configurer ou notifier
  • Documentation mise à jour

Variables d'environnement :

Variable Description Valeur par défaut
NOM_VAR Description valeur

Notes de déploiement supplémentaires :

(Toute information utile pour l'équipe de déploiement.)

Copilot AI review requested due to automatic review settings April 17, 2026 04:16
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the global styling by applying the background image to the body element instead of just the home page and removes a redundant image container from the HTML. A review comment suggests adding a fallback background color to the body to maintain text readability in case the background image fails to load.

Comment thread assets/css/style.css
Comment on lines +244 to 248
/* ---------- BACKGROUND ---------- */
body {
background-image: url("../images/david_krk_owl.jpg");
background-size: cover;
background-position: left center;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

When using a background image, it is a best practice to provide a fallback background-color. This ensures that the content remains readable (especially since the global text color is white) if the image fails to load or while it is being downloaded. You can reuse the color #416e73 that was previously assigned to non-home pages.

/* ---------- BACKGROUND ---------- */
body {
  background-image: url("../images/david_krk_owl.jpg");
  background-size: cover;
  background-position: left center;
  background-color: #416e73;

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates site styling so the owl image is used as the page background everywhere (instead of only on the home page), and removes the extra inline owl image on the home page to avoid duplication.

Changes:

  • Remove the standalone <img> owl block from index.html to prevent showing the owl twice.
  • Change background CSS from body.home-page to global body so all pages use the owl background image.
  • Remove the special-case non-home-page body:not(.home-page) styling in favor of a single global body background rule.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
index.html Removes the duplicated inline owl image element from the home page.
assets/css/style.css Applies the owl background styling to all pages by moving from .home-page to global body.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread assets/css/style.css
@DavidKRK

Copy link
Copy Markdown
Owner Author

@copilot apply changes based on the comments in this thread

@DavidKRK

Copy link
Copy Markdown
Owner Author

@copilot resolve the merge conflicts in this pull request

Co-authored-by: DavidKRK <136035295+DavidKRK@users.noreply.github.com>

Copilot AI commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Merge conflict resolved in commit 43e6a1f. The conflict was in assets/css/style.cssgh-pages had merged the owl background changes without the background-color fallback, so I kept the fallback (#416e73) from our branch when resolving.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread assets/css/style.css
Comment on lines 245 to 247
body {
background-color: #416e73;
background-image: url("../images/david_krk_owl.jpg");

Copilot AI Apr 17, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR title/description mention applying the owl background to all pages and fixing a duplicate image on index.html, but the diff shown here only adds a background-color fallback to the existing body background. If additional changes are intended, they appear to be missing from this PR; otherwise, please update the PR title/description to match the actual change set.

Copilot uses AI. Check for mistakes.
@DavidKRK DavidKRK merged commit 8eb1613 into gh-pages Apr 17, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants