Skip to content

Commit a31d446

Browse files
committed
Add Epsilon 16 installer message
1 parent c432e52 commit a31d446

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

src/pages/Install.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,15 @@ export default class Install extends Component<InstallProps, InstallState> {
340340
<FormattedMessage id="installer.incompatible" defaultMessage="Our installer is not compatible with your browser. Please use a browser like Chromium/Google Chrome or Edge." />
341341
</div>
342342

343+
<div className={"installer-e16 " + (this.state.model === "N????" ? "installer-e16-active" : "")}>
344+
<div className="installer-e16__title">Important</div>
345+
It seems that this calculator has once been updated on Epsilon 16.
346+
<ul>
347+
<li>If you have the n0100 model (see the back of the calculator), you can continue and install Omega.</li>
348+
<li>However, if you have the n0110 model : in this new version, Numworks installs a kernel that cannot be removed, and which prevents any third-party installation such as Omega. You can therefore no longer install Omega on this calculator.</li>
349+
</ul>
350+
</div>
351+
343352
<div className={"installer-external " + ((this.state.installerNotCompatibleWithThisBrowser || this.state.model !== 'N0110' || this.state.install === true) ? "" : "installer-external-active")}>
344353
<img className="installer-external__icon" src={ImgExternal} alt="External" />
345354
<div className="installer-external__title">

src/pages/sass/installer.sass

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,35 @@
3333
display: block
3434
margin-bottom: 16px
3535

36+
&-e16
37+
display: none
38+
background-color: $color-red
39+
border-radius: 16px
40+
overflow: hidden
41+
font-weight: 400
42+
padding: 18px 24px
43+
line-height: 1.5
44+
text-align: left
45+
color: #fff
46+
47+
&-active
48+
display: block
49+
50+
&__title
51+
font-size: 20px
52+
margin-bottom: 8px
53+
font-weight: 500
54+
55+
&__emoji
56+
font-size: 48px
57+
display: block
58+
margin-bottom: 16px
59+
60+
& ul
61+
padding-left: 1em
62+
list-style-type: disc
63+
64+
3665
&__calculator
3766
margin-top: 12px
3867
margin-left: 18px

0 commit comments

Comments
 (0)