Skip to content

Commit a96ffb5

Browse files
committed
Second fix background. And mailto add
1 parent c50e4dd commit a96ffb5

6 files changed

Lines changed: 21 additions & 8 deletions

File tree

public/assets/autumn-tree.png

519 Bytes
Loading

public/assets/autumn-tree.svg

Lines changed: 4 additions & 4 deletions
Loading

src/assets/translations/en.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,7 @@
3636
"projects.pb.tooltip": "A project that brings players together for the sake of creativity. Using zustand, preact, and pixi.js technologies.",
3737
"projects.mae.about": "Addon for Mystical Agriculture, adds new crop types and other ideas...",
3838
"projects.mae.button": "Curseforge",
39-
"projects.mae.tooltip": "Experience working with other people's code and integration."
39+
"projects.mae.tooltip": "Experience working with other people's code and integration.",
40+
41+
"footer.copied": "Copied to clipboard!"
4042
}

src/assets/translations/ru.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,7 @@
3636
"projects.pb.tooltip": "Проект, объединяющий игроков ради творчества. Использует технологии zustand, preact и pixi.js.",
3737
"projects.mae.about": "Аддон на Mystical Agriculture, добавляет новые растения и другое...",
3838
"projects.mae.button": "Curseforge",
39-
"projects.mae.tooltip": "Опыт работы с чужим кодом и интеграцией."
39+
"projects.mae.tooltip": "Опыт работы с чужим кодом и интеграцией.",
40+
41+
"footer.copied": "Скопировано в буфер обмена!"
4042
}

src/components/Footer/index.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { useState } from "preact/hooks";
22
import styles from "./index.module.css";
3+
import { Translation } from "i18nano";
34

45
const email = "ethercd@proton.me";
56

@@ -35,7 +36,15 @@ export const Footer = () => {
3536
</a>
3637
<div class={styles["email-icon"] + " " + (show ? styles["show"] : "")} onClick={copyToClipboard}>
3738
<img src="/icons/email.svg" alt="email" />
38-
<div class={`${styles.msg} ${styles["msg-up"]}`}>{!success ? email : "Copied to clipboard!"}</div>
39+
<div class={`${styles.msg} ${styles["msg-up"]}`}>
40+
{!success ? (
41+
<a href="mailto:ethercd@proton.me" target="_blank">
42+
ethercd@proton.me
43+
</a>
44+
) : (
45+
<Translation path={"footer.copied"} />
46+
)}
47+
</div>
3948
</div>
4049
</div>
4150
</footer>

src/styles/app.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ body.snow::before {
3636

3737
body.rain::before {
3838
background-image: url(/assets/background-r.svg);
39-
opacity: 0.8; /*sssы*/
39+
opacity: 0.8; /*sssss*/
4040
}
4141

4242
body.autumn::before {

0 commit comments

Comments
 (0)