Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {
X,
} from "lucide-react";
import { useEffect, useMemo, useState } from "react";
import { useTranslation } from "react-i18next";
import { Trans, useTranslation } from "react-i18next";

import resumePdf from "../assets/curriculum.pdf";
import profilePhoto from "../assets/images/me.png";
Expand Down Expand Up @@ -676,7 +676,21 @@ function App() {
<Box as="footer" borderTop="1px solid" borderColor={palette.border} py="6">
<Container maxW="1180px">
<Text color={palette.footerText} fontSize="sm">
{t("footer")}
<Trans
i18nKey="footer"
components={{
name: (
<a
href="https://github.com/DemetrPI/Portfolio"
target="_blank"
rel="noopener noreferrer"
style={{ color: "inherit", textDecoration: "underline" }}
>
{t("footerName")}
</a>
),
}}
/>
</Text>
</Container>
</Box>
Expand Down
9 changes: 6 additions & 3 deletions src/i18n/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,9 @@ export const resources = {
message: "Message",
send: "Send",
},
footerName: "Dmytro Pishchenkov",
footer:
Dmytro Pishchenkov 2026 | Built with React, deployed via CI/CD, and hosted on Microsoft Azure.",
<name /> 2026 | Built with React, deployed via CI/CD, and hosted on Microsoft Azure.",
languageLabel: "Select language",
},
},
Expand Down Expand Up @@ -318,8 +319,9 @@ export const resources = {
message: "Повідомлення",
send: "Надіслати",
},
footerName: "Дмитро Піщенков",
footer:
Дмитро Піщенков 2026 | Побудовано на React, розгорнуто через CI/CD та розміщено на Microsoft Azure.",
<name /> 2026 | Побудовано на React, розгорнуто через CI/CD та розміщено на Microsoft Azure.",
languageLabel: "Оберіть мову",
},
},
Expand Down Expand Up @@ -481,8 +483,9 @@ export const resources = {
message: "Wiadomość",
send: "Wyślij",
},
footerName: "Dmytro Pishchenkov",
footer:
Dmytro Pishchenkov 2026 | Zbudowane w React, wdrożone przez CI/CD i hostowane na Microsoft Azure.",
<name /> 2026 | Zbudowane w React, wdrożone przez CI/CD i hostowane na Microsoft Azure.",
languageLabel: "Wybierz język",
},
},
Expand Down
Loading