Skip to content

Commit

Permalink
fix(flags): fix flags on windows (#1776)
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 authored Jan 29, 2024
1 parent 3e9fb9b commit 8272b7e
Show file tree
Hide file tree
Showing 14 changed files with 51 additions and 2 deletions.
Binary file added img/AU-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BL-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BR-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/DE-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/IN-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/IT-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/JP-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/MX-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/PT-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/UK-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/UR-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/USA-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion ui/src/components/settings/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -263,4 +263,10 @@
right: 0;
border-radius: 0;
background: rgba(0, 0, 0, 0.5);
}
}

.flags img {
width: 30px;
height: 25px;
margin-right: 5px;
}
45 changes: 44 additions & 1 deletion ui/src/components/settings/sub_pages/about.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,50 @@ pub fn AboutPage(cx: Scope) -> Element {
section_description: get_local_text("settings-about.team"),
div {
class: "flags",
"🇺🇸🇲🇽🇩🇪🇵🇹🇧🇷🇮🇹🇺🇦🇧🇾🇯🇵🇦🇺🇮🇩"
img {
src: "./img/USA-Flag.png",
alt: "USA Flag",
},
img {
src: "./img/MX-Flag.png",
alt: "Mexico Flag",
}
img {
src: "./img/DE-Flag.png",
alt: "Germany Flag",
}
img {
src: "./img/PT-Flag.png",
alt: "Portugal Flag",
}
img {
src: "./img/BR-Flag.png",
alt: "Brazil Flag",
}
img {
src: "./img/IT-Flag.png",
alt: "Italy Flag",
}
img {
src: "./img/UR-Flag.png",
alt: "Ukraine Flag",
}
img {
src: "./img/BL-Flag.png",
alt: "Belarus Flag",
}
img {
src: "./img/JP-Flag.png",
alt: "Japan Flag",
}
img {
src: "./img/AU-Flag.png",
alt: "Australia Flag",
}
img {
src: "./img/IN-Flag.png",
alt: "Indonesia Flag",
}
}
}
}
Expand Down

0 comments on commit 8272b7e

Please sign in to comment.