Skip to content

Add partner logos to ODP website#61

Open
dhillonk wants to merge 2 commits intoOpenDevicePartnership:mainfrom
dhillonk:main
Open

Add partner logos to ODP website#61
dhillonk wants to merge 2 commits intoOpenDevicePartnership:mainfrom
dhillonk:main

Conversation

@dhillonk
Copy link
Copy Markdown
Collaborator

@dhillonk dhillonk commented Apr 3, 2026

This pull request introduces a new "Our Partners" section to the homepage, displaying partner logos in a responsive grid. The main changes include adding a new PartnersGrid component, registering it in the module system, and integrating it into the homepage layout.

New Partners Section:

  • Added a new PartnersGrid component that displays a grid of partner logos with names, using a responsive layout for different screen sizes. (src/components/partners_grid.rs)
  • Registered the new partners_grid module in the components module system. (src/components/mod.rs)

Homepage Integration:

  • Imported the PartnersGrid component into the homepage file. (src/pages/home.rs)
  • Inserted the PartnersGrid component into the homepage layout, placing it between the main content and the documentation/training section. (src/pages/home.rs)

@jerrysxie jerrysxie requested a review from Copilot April 3, 2026 19:14
@jerrysxie jerrysxie added the enhancement New feature or request label Apr 3, 2026
Copy link
Copy Markdown

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

Adds a new “Our Partners” section to the ODP website homepage to display partner logos.

Changes:

  • Introduces a new PartnersGrid Leptos component with a static list of partner names/logos.
  • Renders PartnersGrid on the home page between the main hero section and documentation/training.
  • Adds partner logo SVG assets under public/images/partners/.

Reviewed changes

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

Show a summary per file
File Description
src/pages/home.rs Imports and renders the new partners grid on the homepage layout.
src/components/partners_grid.rs New component defining partner data and rendering a responsive logo grid.
src/components/mod.rs Exposes the new partners_grid module.
public/images/partners/microsoft_surface.svg Adds Microsoft Surface partner logo asset.
public/images/partners/nxp.svg Adds NXP partner logo asset.
public/images/partners/tweede_golf.svg Adds Tweede Golf partner logo asset.
public/images/partners/cix.svg Adds CIX partner logo asset.

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

Comment on lines +23 to +24
logo: "/images/partners/cix.svg"
}
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

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

PARTNERS array has invalid Rust syntax: the last Partner entry is missing trailing commas (after the logo field and after the struct literal). As written this won't compile; add the missing commas (and let rustfmt format the array).

Suggested change
logo: "/images/partners/cix.svg"
}
logo: "/images/partners/cix.svg",
},

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants