Skip to content

Conversation

@anyulled
Copy link
Member

No description provided.

anyulled and others added 24 commits December 20, 2025 19:12
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…for year data and path isolation, and component verification.
…ng a pseudo-element and adjust content z-index.
…icit types in tests, components, and web vitals reporting.
The import/order rule was too strict and tedious to maintain.
Disabling it globally to improve developer experience.
Use @views alias instead of relative path to fix unresolved import error.
This achieves zero ESLint errors in the codebase.
…data` component, replacing `useDocumentTitleUpdater` in home wrappers and adding related documentation.
…on to optimize resource loading in `App.tsx`.
…lude them, and remove the SonarCloud CI workflow.
@netlify
Copy link

netlify bot commented Dec 20, 2025

Deploy Preview for dev-bcn ready!

Name Link
🔨 Latest commit f983178
🔍 Latest deploy log https://app.netlify.com/projects/dev-bcn/deploys/694703d82c40410008e9ca98
😎 Deploy Preview https://deploy-preview-834--dev-bcn.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 40
Accessibility: 95
Best Practices: 92
SEO: 100
PWA: 100
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @anyulled, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a comprehensive image optimization effort, migrating various image assets to the .webp format to enhance website performance and loading times. Beyond image conversions, it includes structural adjustments to HTML, significant styling improvements for key UI elements, and general code cleanup through import refactoring. These changes collectively contribute to a more efficient and visually refined user experience.

Highlights

  • Image Format Migration: Converted numerous image assets from older formats like .png, .jpg, and .jpeg to the more modern and efficient .webp format across various files, including README.md, HTML files, Python configuration, and React components.
  • HTML Structure and Preloading Updates: Modified index.html and public/index.html to reflect the new .webp image paths for preloading and Open Graph metadata, and also adjusted some HTML indentation.
  • Styling Enhancements for Home Page: Introduced significant styling changes to the HomeWTC component, including a static dark vignette overlay, and enhanced text styling for titles and subtitles with improved font weights, sizes, letter spacing, and text shadows for better visual appeal and readability.
  • Import Statement Refactoring: Reordered and consolidated import statements in several React components (src/2023/Home/components/Faqs/components/FaqsCard.tsx, src/2023/Home/components/Home/Home.tsx, src/2024/Home/Home.tsx, src/2025/Home/components/Faqs/components/FaqsCard.tsx, src/2025/Home/components/Home/Home.tsx, src/components/Navigation/Navigation.tsx, src/components/common/ResourcePreloader.test.tsx, src/views/Home/components/ActionButtons/ActionButtons.tsx, src/views/Home/components/HomeWTC/HomeWTC.tsx, src/views/Talks/LiveView.test.tsx, src/views/Talks/LiveView.tsx) for consistency and maintainability.
  • Wordlist Expansion: Updated wordlist.txt by adding several new technical terms and acronyms relevant to web development and image optimization, such as camelCase, DevTools, DNS, metatags, OG, Preload, SEO, sessionize, and SSR.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

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

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 focuses on optimizing images by converting them from formats like PNG and JPEG to the more efficient WebP format. The changes are applied across various files, including HTML, TypeScript components, and configuration files, which is a great step towards improving website performance.

However, I've noticed a few areas for improvement:

  • Several components now use relative paths for images (e.g., images/logo.webp) instead of absolute paths (/images/logo.webp). This can lead to broken images on nested routes. I've left specific suggestions to fix these.
  • Some meta tags for social sharing (og:image, twitter:image) in index.html and public/index.html still reference .png files. While I couldn't comment directly on those lines as they were not part of the diff, it would be good to update them for consistency.
  • The scope of this PR seems to extend beyond image optimization, with significant refactoring and content changes in the HomeWTC component. It would be beneficial to have a more descriptive PR title and description to reflect all the changes.

Overall, good work on the optimizations. Addressing the pathing issues will ensure the site remains robust.

<SectionWrapper color="transparent">
<StyleHomeContainer>
<StyledLogo src="/images/logo.png" alt="DevBcn logo" />
<StyledLogo src="images/logo.webp" alt="DevBcn logo" />
Copy link
Contributor

Choose a reason for hiding this comment

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

high

The image path was changed from an absolute path (/images/logo.png) to a relative one (images/logo.webp). This might cause issues with resolving the image, as it will be relative to the current page URL. It's generally safer to use an absolute path from the root, like /images/logo.webp, to ensure it's always found correctly.

Suggested change
<StyledLogo src="images/logo.webp" alt="DevBcn logo" />
<StyledLogo src="/images/logo.webp" alt="DevBcn logo" />

<StyleHomeContainer>
<StyledLogoDiv>
<StyledDevBcnLogo src="images/logo.png" alt="DevBcn logo" />
<StyledDevBcnLogo src="images/logo.webp" alt="DevBcn logo" />
Copy link
Contributor

Choose a reason for hiding this comment

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

high

The image path seems to have been changed to a relative path. This could lead to broken images depending on the URL. Using an absolute path from the root, like /images/logo.webp, is recommended for consistency and to avoid resolution issues.

Suggested change
<StyledDevBcnLogo src="images/logo.webp" alt="DevBcn logo" />
<StyledDevBcnLogo src="/images/logo.webp" alt="DevBcn logo" />

<StyledPlusSign>+</StyledPlusSign>
<StyledKcdLogo
src="images/KCD-logo-white.png"
src="images/KCD-logo-white.webp"
Copy link
Contributor

Choose a reason for hiding this comment

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

high

Similar to the other logo, this image path is now relative. It should probably be an absolute path from the root, like /images/KCD-logo-white.webp, to ensure it loads correctly on all pages.

Suggested change
src="images/KCD-logo-white.webp"
src="/images/KCD-logo-white.webp"

transition={{ duration: 0.8 }}
>
<StyledDevBcnLogo src="images/logo.png" alt="DevBcn logo" />
<StyledDevBcnLogo src="images/logo.webp" alt="DevBcn logo" />
Copy link
Contributor

Choose a reason for hiding this comment

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

high

The path for this logo image has been changed to be relative. To ensure it loads correctly from any page, it's better to use an absolute path from the root, like /images/logo.webp.

Suggested change
<StyledDevBcnLogo src="images/logo.webp" alt="DevBcn logo" />
<StyledDevBcnLogo src="/images/logo.webp" alt="DevBcn logo" />

>
<StyledDevBcnLogo src="images/logo.png" alt="DevBcn logo" />
<StyledDevBcnLogo src="images/logo.webp" alt="DevBcn logo" />
</StyledLogoDiv>
Copy link
Contributor

Choose a reason for hiding this comment

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

high

The image path for the logo has been changed to a relative path. For consistency and to prevent potential loading issues, it would be better to use an absolute path from the root, like /images/logo.webp.

Suggested change
</StyledLogoDiv>
<StyledDevBcnLogo src="/images/logo.webp" alt="DevBcn logo" />

@anyulled anyulled merged commit 23d1bdd into main Dec 20, 2025
10 of 11 checks passed
@anyulled anyulled deleted the feat/image-optimization branch December 20, 2025 20:21
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