Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 22, 2025

This PR transforms the McPherson Group homepage from text-heavy content to a visually appealing welcome banner, addressing the request to have a large placeholder welcoming image instead of words.

Changes Made

Visual Transformation

  • Removed all text content from the homepage including research focus sections, news updates, and contact information
  • Created a custom welcome banner (welcome-banner.png) featuring:
    • Professional 1200x400px dimensions optimized for web display
    • Gradient background matching the site's existing color palette (#f5f6fa to #e3f2fd)
    • Clear typography with "Welcome to the McPherson Group" headline
    • Descriptive subtitle: "Advancing knowledge through innovative research"
    • Navy blue text (#003366) consistent with site branding

Technical Implementation

  • Updated index.qmd: Simplified from 24 lines of content to a single image reference
  • Enhanced styles.css: Added responsive styling for the welcome banner including:
    • Full-width display with proper aspect ratio
    • Rounded corners and subtle box shadow for visual appeal
    • Responsive behavior across different screen sizes

Result

The homepage now provides an immediate visual impact with a clean, professional appearance that effectively communicates the group's identity and mission. The banner serves as an engaging entry point while maintaining the site's existing design language.

Homepage with Welcome Banner

The new design creates a strong first impression for visitors while keeping the implementation lightweight (22KB image) for fast loading times.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@Copilot Copilot AI changed the title [WIP] update the home page to have a large (placeholder) welcoming image instead of words Replace homepage text content with large welcome banner image Sep 22, 2025
@Copilot Copilot AI requested a review from JacobKMcPherson September 22, 2025 15:48
Copilot finished work on behalf of JacobKMcPherson September 22, 2025 15:48
@JacobKMcPherson JacobKMcPherson marked this pull request as ready for review September 22, 2025 18:06
@Copilot Copilot AI review requested due to automatic review settings September 22, 2025 18:06
Copy link

@Copilot Copilot AI left a 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 PR replaces the text-heavy McPherson Group homepage with a large welcome banner image, transforming it from detailed content sections to a single visual element that welcomes visitors.

  • Removed all existing text content including research focus, news updates, and contact information
  • Added a custom welcome banner image with responsive CSS styling
  • Simplified the homepage to focus on visual impact rather than informational content

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
index.qmd Replaced 20+ lines of text content with a single welcome banner image reference
styles.css Added responsive styling for the welcome banner with rounded corners and shadow effects

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

}

/* Welcome banner styling for homepage */
.quarto-title + p img {
Copy link
Preview

Copilot AI Sep 22, 2025

Choose a reason for hiding this comment

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

The CSS selector .quarto-title + p img is fragile and relies on specific HTML structure generated by Quarto. Consider using a more semantic class-based selector like .welcome-banner on the image element to make the styling more maintainable and less dependent on the generated DOM structure.

Suggested change
.quarto-title + p img {
.welcome-banner {

Copilot uses AI. Check for mistakes.

## Contact

For inquiries about our research or potential collaborations, please visit our [About](about.qmd) page for contact information.
![Welcome to the McPherson Group](welcome-banner.png)
Copy link
Preview

Copilot AI Sep 22, 2025

Choose a reason for hiding this comment

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

The alt text 'Welcome to the McPherson Group' is too generic for a welcome banner image. Consider more descriptive alt text that conveys the image content and context, such as 'McPherson Group welcome banner with gradient background and research mission statement'.

Suggested change
![Welcome to the McPherson Group](welcome-banner.png)
![McPherson Group welcome banner with gradient background and research mission statement](welcome-banner.png)

Copilot uses AI. Check for mistakes.

@JacobKMcPherson JacobKMcPherson merged commit dde8bab into main Sep 22, 2025
5 checks passed
@JacobKMcPherson JacobKMcPherson deleted the copilot/fix-34e67816-6dc2-4efe-8a5e-ddc663bc3905 branch September 22, 2025 18:08
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.

2 participants