Skip to content

Commit

Permalink
Fix issue where company logos become tiny on mobile device (foxglove#…
Browse files Browse the repository at this point in the history
…1023)

### Public-Facing Changes

- Fix issue where company logos become tiny on mobile device
- Add Dexterity logo
  • Loading branch information
esthersweon authored and pezy committed Jan 11, 2024
1 parent 4cbbafb commit b5f7ce3
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 2 deletions.
47 changes: 47 additions & 0 deletions website/src/icons/companies/dexterity-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions website/src/icons/companies/dexterity-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions website/src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import ApexLight from "./companies/apex-color.svg";
import ApexDark from "./companies/apex-white.svg";
import CocoLight from "./companies/coco-color.svg";
import CocoDark from "./companies/coco-white.svg";
import DexterityLight from "./companies/dexterity-color.svg";
import DexterityDark from "./companies/dexterity-white.svg";
import NorLabLight from "./companies/norlab-color.svg";
import NorlabDark from "./companies/norlab-white.svg";
import ROSLight from "./companies/ros-color.svg";
Expand Down Expand Up @@ -38,6 +40,11 @@ const Logos = [
LightModeLogo: CocoLight,
DarkModeLogo: CocoDark,
},
{
href: "https://www.dexterity.ai/",
LightModeLogo: DexterityLight,
DarkModeLogo: DexterityDark,
},
{
href: "https://norlab.ulaval.ca/",
LightModeLogo: NorLabLight,
Expand Down
11 changes: 9 additions & 2 deletions website/src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,20 @@
}

.logoLink {
width: 33%;
min-width: 200px;
max-width: 50%;
}

.logoIcon {
width: 100%;
max-height: 50px;
margin: 2rem;
margin: 2rem 1rem;
}

@media (max-width: 640px) {
.logoIcon {
margin: 1rem;
}
}

[data-theme="light"] .darkMode {
Expand Down

0 comments on commit b5f7ce3

Please sign in to comment.