Commit f76e4dd
authored
added google icon (#2912)
### Fixes #
<!-- Mention the issues this PR addresses -->
### Checks
- [ ] Ran `yarn test-build`
- [ ] Updated relevant documentations
- [ ] Updated matching config options in altair-static
### Changes proposed in this pull request:
<!-- Describe the changes being introduced in this PR -->
## Summary by Sourcery
Provide a proper Google logo in the account login dialog by injecting
and sanitizing inline SVG and binding it to the app-icon component
Enhancements:
- Add a googleIcon SafeHtml property in AccountDialogComponent with a
sanitized inline Google SVG
- Update account-dialog template to use the new googleIcon via the
app-icon component for the Google sign-in button
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Style**
* The login dialog now shows the official Google "Sign in" icon on the
Google button instead of a placeholder. This improves visual clarity,
brand recognition, and consistency across the app. The icon is embedded
and safely rendered; sign-in behavior remains unchanged.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 61c815e commit f76e4dd
File tree
3 files changed
+40
-2
lines changed- packages/altair-app/src/app/modules/altair/components/account-dialog
- __snapshots__
3 files changed
+40
-2
lines changedLines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
83 | 108 | | |
84 | 109 | | |
85 | 110 | | |
| |||
packages/altair-app/src/app/modules/altair/components/account-dialog/account-dialog.component.html
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
26 | 39 | | |
27 | 40 | | |
28 | 41 | | |
| |||
0 commit comments