Skip to content

Commit

Permalink
Turn off translation for title (#177)
Browse files Browse the repository at this point in the history
* Turn off translation for title

* lint fix
  • Loading branch information
mike-puzon-tri authored Mar 20, 2024
1 parent 35b0d21 commit d52d8dc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion web/frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function Header() {
<a href="/">
<img src={logo} alt="Logo" width={'150px'} />
</a>{' '}
<h3>Piro Synthesis Analyzer</h3>
<h3 translate="no">Piro Synthesis Analyzer</h3>
<a href="/about" className={styles.Aboutlink}>
About
</a>
Expand Down
22 changes: 15 additions & 7 deletions web/frontend/src/features/cognito/Prelogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ export default function PreLogin() {
</button>
</header>
<div className={LoginCSS.firstblock}>
<div className={LoginCSS.piroheader}>Piro Synthesis Analyzer</div>
<div className={LoginCSS.piroheader} translate="no">
Piro Synthesis Analyzer
</div>
<div className={LoginCSS.firstblockbody}>
The Piro Synthesis Analyzer is an application that assists with rational planning of solid-state synthesis
routes for inorganics. It is a recommendation system for navigation and planning of synthesis of inorganic
materials based on classical nucleation theory and semi-empirical, data-driven approximations to its parts.
Currently, the app works with Materials Project data via its Rester API. Sign in to learn more and use the
tool.
The <span translate="no">Piro Synthesis Analyzer</span> is an application that assists with rational planning
of solid-state synthesis routes for inorganics. It is a recommendation system for navigation and planning of
synthesis of inorganic materials based on classical nucleation theory and semi-empirical, data-driven
approximations to its parts. Currently, the app works with Materials Project data via its Rester API. Sign in
to learn more and use the tool.
</div>
<button className={LoginCSS.signinbutton}>
<div className={LoginCSS.signincontent} onClick={() => Auth.federatedSignIn()}>
Expand Down Expand Up @@ -60,7 +62,13 @@ export default function PreLogin() {
<br></br>
<p className={LoginCSS.thirdblockcontent}>
To request access or if you have questions about logging in, reach out to us at{' '}
<a href="mailto:[email protected]" target="_blank" rel="noreferrer" className={LoginCSS.mailstyle}>
<a
href="mailto:[email protected]"
target="_blank"
rel="noreferrer"
className={LoginCSS.mailstyle}
translate="no"
>
[email protected]
</a>
.
Expand Down
2 changes: 1 addition & 1 deletion web/frontend/src/pages/About/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const About: React.FC<highlightProps> = ({ highlightedParagraph, highlight }) =>
</p>
<p className={styles.Content}>
If you have any questions or feedback, please reach out to us at{' '}
<a href="mailto:[email protected]" className={styles.mailstyle}>
<a href="mailto:[email protected]" className={styles.mailstyle} translate="no">
[email protected]
</a>
.
Expand Down

0 comments on commit d52d8dc

Please sign in to comment.