Skip to content

Conversation

pamelafox
Copy link
Collaborator

@pamelafox pamelafox commented Jan 23, 2025

Purpose

I often get asked how to replace the logo, and I realized it's not straightforward, due to our current use of a "Sparkle" react component instead of an actual img tag.
This PR replaces the Sparkle with an image tag, so developers can replace the src.
The placeholder logo is the sparkle, however, so it will work the same as always.

Screenshot 2025-01-23 at 1 52 49 PM

Does this introduce a breaking change?

When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
If you're not sure, try it out on an old environment.

[ ] Yes
[X] No

Does this require changes to learn.microsoft.com docs?

This repository is referenced by this tutorial
which includes deployment, settings and usage instructions. If text or screenshot need to change in the tutorial,
check the box below and notify the tutorial author. A Microsoft employee can do this for you if you're an external contributor.

[ ] Yes
[X] No

Type of change

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[X] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Code quality checklist

See CONTRIBUTING.md for more details.

  • The current tests all pass (python -m pytest).
  • I added tests that prove my fix is effective or that my feature works
  • I ran python -m pytest --cov to verify 100% coverage of added lines
  • I ran python -m mypy to check for type errors
  • I either used the pre-commit hooks or ran ruff and black manually on my code.

display: none;
}

.microsoftLogo,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I removed the files and CSS rules because they're no longer used, these were removed in @zedhaque's PR a while ago that improved responsive design.

@pamelafox pamelafox merged commit 4b7be9a into Azure-Samples:main Jan 29, 2025
12 checks passed
@pamelafox pamelafox deleted the applogo branch January 29, 2025 00:54
dfl-aeb pushed a commit to dfl-aeb/azure-search-openai-demo that referenced this pull request Feb 19, 2025
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