Skip to content

Commit aed22cd

Browse files
committed
Mention Phi author on the homepage
1 parent 4fce524 commit aed22cd

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

src/i18n/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"home.features.dualboot.name": "Dual boot",
3131
"home.features.dualboot.description": "Omega integrates a new Bootloader. It allows you to boot multiple OS from different slots.",
3232
"home.features.phi.name": "Compatible with Phi",
33-
"home.features.phi.description": "is a tool that unlocks your calculator after an Epsilon 16+ update.",
33+
"home.features.phi.description": "{phi} is a tool developed by {maxime} that unlocks your calculator after an Epsilon 16+ update.",
3434
"home.features.external-apps": "External apps",
3535
"home.features.external-apps-community": "Install community apps on the fly with External. Also includes KhiCAS and various emulators.",
3636
"home.features.rpn.description": "Omega supports using Reverse Polish Notation to do calculations.",

src/i18n/locales/fr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"home.features.dualboot.name": "Dual boot",
3131
"home.features.dualboot.description": "Omega introduit un nouveau Bootloader. Celui-ci vous permet de boot plusieurs OS depuis les différents slots de votre calculatrice.",
3232
"home.features.phi.name": "Compatible avec Phi",
33-
"home.features.phi.description": "est un outil qui débloque votre calculatrice après une mise à jour à Epsilon 16+.",
33+
"home.features.phi.description": "{phi} est un outil développé par {maxime} qui débloque votre calculatrice après une mise à jour à Epsilon 16+.",
3434
"home.features.external-apps": "Applications externes",
3535
"home.features.external-apps-community": "Installez des applications communautaires à la volée avec External. Inclus KhiCAS et divers émulateurs.",
3636
"home.features.rpn.description": "Omega supporte l'utilisation de la Notation Polonaise Inverse.",

src/pages/Home.tsx

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,20 @@ type HomeProps = {
3232

3333
function PhiURL() {
3434
return (
35-
<a className="phi-link" href="https://phi.getomega.dev">
35+
<a className="link" href="https://phi.getomega.dev">
3636
Phi
3737
</a>
3838
);
3939
}
4040

41+
function MaximeURL() {
42+
return (
43+
<a className="link" href="https://github.com/M4xi1m3">
44+
M4xi1m3
45+
</a>
46+
);
47+
}
48+
4149
export default class Home extends Component<HomeProps> {
4250
constructor(props: HomeProps) {
4351
super(props);
@@ -128,10 +136,13 @@ export default class Home extends Component<HomeProps> {
128136
/>
129137
</FeatureCardTitle>
130138
<FeatureCardDescription>
131-
<PhiURL />{" "}
132139
<FormattedMessage
133140
id="home.features.phi.description"
134-
defaultMessage="is a tool that unlocks your calculator after an Epsilon 16+ update."
141+
defaultMessage="{phi} is a tool developed by {maxime} that unlocks your calculator after an Epsilon 16+ update."
142+
values={{
143+
phi: <PhiURL />,
144+
maxime: <MaximeURL />,
145+
}}
135146
/>
136147
</FeatureCardDescription>
137148
<FeatureCardImage

src/pages/sass/home.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import './../../sass/variables.omega.library'
22

3-
.phi-link
3+
.link
44
color: inherit
55
text-decoration: none
66
border-bottom: 1px solid $color-secondary-text

0 commit comments

Comments
 (0)