mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-04-29 18:26:52 +02:00
Rework translations
This commit is contained in:
parent
e4ed73c809
commit
de5056c440
15 changed files with 171 additions and 148 deletions
|
@ -1 +0,0 @@
|
||||||
[{"/workspaces/KevinK.dev.js/gatsby-config.js":"1","/workspaces/KevinK.dev.js/gatsby-node.js":"2","/workspaces/KevinK.dev.js/src/components/navigation.js":"3","/workspaces/KevinK.dev.js/src/components/offscreenNav.js":"4","/workspaces/KevinK.dev.js/src/templates/blogListing.js":"5","/workspaces/KevinK.dev.js/src/templates/blogPost.js":"6"},{"size":4779,"mtime":1636241579421,"results":"7","hashOfConfig":"8"},{"size":10589,"mtime":1636241579573,"results":"9","hashOfConfig":"8"},{"size":4215,"mtime":1636240147782,"results":"10","hashOfConfig":"8"},{"size":2072,"mtime":1636240157250,"results":"11","hashOfConfig":"8"},{"size":5807,"mtime":1636241180559,"results":"12","hashOfConfig":"8"},{"size":4539,"mtime":1636240809658,"results":"13","hashOfConfig":"8"},{"filePath":"14","messages":"15","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1eb7dm3",{"filePath":"16","messages":"17","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"18","messages":"19","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"20","messages":"21","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"22","messages":"23","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"24","messages":"25","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/workspaces/KevinK.dev.js/gatsby-config.js",[],"/workspaces/KevinK.dev.js/gatsby-node.js",[],"/workspaces/KevinK.dev.js/src/components/navigation.js",[],"/workspaces/KevinK.dev.js/src/components/offscreenNav.js",[],"/workspaces/KevinK.dev.js/src/templates/blogListing.js",[],"/workspaces/KevinK.dev.js/src/templates/blogPost.js",[]]
|
|
|
@ -1,54 +1,62 @@
|
||||||
{
|
{
|
||||||
"siteDescription": "Hallo, ich bin Kevin Kandlbinder, ein Entwickler und Hobby-Fotograf aus Norddeutschland.",
|
"site": {
|
||||||
"imprint": "Impressum",
|
"description": "Hallo, ich bin Kevin Kandlbinder, ein Entwickler und Hobby-Fotograf aus Norddeutschland."
|
||||||
"datasec": "Datenschutz",
|
},
|
||||||
"disclaimer": "Disclaimer",
|
"layout": {
|
||||||
"projects": "Projekte",
|
"imprint": "Impressum",
|
||||||
"project": "Projekt",
|
"datasec": "Datenschutz",
|
||||||
"social": "Soziales",
|
"disclaimer": "Disclaimer"
|
||||||
"homeHello": "Hallo, ich bin",
|
},
|
||||||
"homeMe": "Ich bin",
|
"project": {
|
||||||
"homeWebDeveloper": "Web Developer",
|
"title": "Projekt",
|
||||||
"homeMyLocation": "Quickborn, Schleswig-Holstein, Deutschland",
|
"plural": "Projekte",
|
||||||
"donationCatchphrase": "Gefällt dir was du siehst? Spende doch etwas.",
|
"aboutHeader": "Über {{projectName}}",
|
||||||
"homeImageCredit": "Portrait aufgenommen von Jannik Kiel",
|
"viewGitHub": "Auf GitHub anschauen",
|
||||||
"de": "Deutsch",
|
"viewWebsite": "Projekt-Website anschauen",
|
||||||
"en": "Englisch",
|
"description": "Das ist woran ich grade arbeite oder woran ich gearbeitet habe.",
|
||||||
"projectAboutHeader": "Über {{projectName}}",
|
"view": "Anschauen"
|
||||||
"projectViewGitHub": "Auf GitHub anschauen",
|
},
|
||||||
"projectViewWebsite": "Projekt-Website anschauen",
|
"home": {
|
||||||
"projectsDescription": "Das ist woran ich grade arbeite oder woran ich gearbeitet habe.",
|
"title": "Home",
|
||||||
"projectView": "Anschauen",
|
"hello": "Hallo, ich bin",
|
||||||
"socialDescriptionWithLink": "Finde mich auf anderen Plattformen oder <1>besuche meine Freunde</1>!",
|
"me": "Ich bin",
|
||||||
"socialDescription": "Finde mich auf anderen Plattformen!",
|
"webDeveloper": "Web Developer",
|
||||||
"friends": "Freunde",
|
"imageCredit": "Portrait aufgenommen von Jannik Kiel",
|
||||||
"friendsDescription": "In dieser Liste stehen Freunde von mir und meiner Seite. Schau doch bei ihnen mal rein, wenn du mehr interessante Projekte sehen willst.",
|
"myLocation": "Quickborn, Schleswig-Holstein, Deutschland",
|
||||||
"donateThanksText": "Ich finde es schön, dass du meine Arbeit schön findest und das zeigst! Sende mir gerne eine E-Mail an <1>{{contactEmail}}</1> wenn du mit mir über irgendwas reden möchtest!",
|
"explore": "Erkunde",
|
||||||
"donateThanks": "Danke für die Spende!",
|
"myProjects": "meine Projekte",
|
||||||
"donateDescription": "Hey! Es sieht so aus als würdest du über eine Spende nachdenken. Das ist nett! Wenn du ein bestimmtes Projekt unterstützen willst, schreibe deine Wünsche gerne in den Spendenkommentar.",
|
"discover": "Entdecke",
|
||||||
"donate": "Spenden",
|
"mySocials": "meine Accounts",
|
||||||
"featuredProjects": "Vorgestellte Projekte",
|
"learn": "Erfahre",
|
||||||
"seeMore": "Mehr Projekte erkunden",
|
"moreAboutMe": "mehr über mich"
|
||||||
"donateGitHub": "Du kannst mich mit dem folgenden Button ganz einfach über GitHub Sponsors unterstützen!",
|
},
|
||||||
"donatePayPal": "Wenn du mich lieber über PayPal unterstützen willst ist hier der Button für dich:",
|
"about": {
|
||||||
"sponsorGitHub": "Über GitHub unterstützen",
|
"title": "Über",
|
||||||
"mySkills": "Meine Fähigkeiten",
|
"donationCatchphrase": "Gefällt dir was du siehst? Spende doch etwas.",
|
||||||
"about": "Über",
|
"moreProjects": "Mehr Projekte erkunden",
|
||||||
"explore": "Erkunde",
|
"featuredProjects": "Vorgestellte Projekte",
|
||||||
"myProjects": "meine Projekte",
|
"mySkills": "Meine Fähigkeiten"
|
||||||
"discover": "Entdecke",
|
},
|
||||||
"mySocials": "meine Accounts",
|
"social": {
|
||||||
"learn": "Erfahre",
|
"title": "Soziales",
|
||||||
"moreAboutMe": "mehr über mich",
|
"descriptionWithLink": "Finde mich auf anderen Plattformen oder <1>besuche meine Freunde</1>!",
|
||||||
"home": "Home",
|
"description": "Finde mich auf anderen Plattformen!"
|
||||||
|
},
|
||||||
|
"friends": {
|
||||||
|
"title": "Freunde",
|
||||||
|
"description": "In dieser Liste stehen Freunde von mir und meiner Seite. Schau doch bei ihnen mal rein, wenn du mehr interessante Projekte sehen willst."
|
||||||
|
},
|
||||||
|
"donate": {
|
||||||
|
"title": "Spenden",
|
||||||
|
"description": "Hey! Es sieht so aus als würdest du über eine Spende nachdenken. Das ist nett! Wenn du ein bestimmtes Projekt unterstützen willst, schreibe deine Wünsche gerne in den Spendenkommentar.",
|
||||||
|
"thanks": "Danke für die Spende!",
|
||||||
|
"thanksText": "Ich finde es schön, dass du meine Arbeit schön findest und das zeigst! Sende mir gerne eine E-Mail an <1>{{contactEmail}}</1> wenn du mit mir über irgendwas reden möchtest!",
|
||||||
|
"gitHub": "Du kannst mich mit dem folgenden Button ganz einfach über GitHub Sponsors unterstützen!",
|
||||||
|
"payPal": "Wenn du mich lieber über PayPal unterstützen willst ist hier der Button für dich:",
|
||||||
|
"sponsorGitHub": "Über GitHub unterstützen",
|
||||||
|
"donatePayPal": "Über PayPal spenden"
|
||||||
|
},
|
||||||
"menu": "Menü",
|
"menu": "Menü",
|
||||||
"scambox": "Scambox",
|
|
||||||
"scamboxNotice": "Hinweis",
|
|
||||||
"scamboxLanguage": "Scambox ist nicht auf Deutsch verfügbar und wird auf Englisch angezeigt.",
|
|
||||||
"scamboxDescription": "Tauche mit mir ein in die Welt der Scams, die ich tagtäglich so bekomme, und lach ein bisschen mit mir!",
|
|
||||||
"scamboxReadFull": "Ganzen Post lesen »",
|
|
||||||
"scamboxPosted": "Gepostet am {{date}}",
|
|
||||||
"moreSoon": "Bald an dieser Stelle mehr",
|
|
||||||
"language": {
|
"language": {
|
||||||
"en": {
|
"en": {
|
||||||
"name": "Englisch"
|
"name": "Englisch"
|
||||||
|
|
|
@ -1,54 +1,62 @@
|
||||||
{
|
{
|
||||||
"siteDescription": "Hello, I am Kevin Kandlbinder, a developer and hobby photographer from northern Germany.",
|
"site": {
|
||||||
"imprint": "Imprint",
|
"description": "Hello, I am Kevin Kandlbinder, a developer and hobby photographer from northern Germany."
|
||||||
"datasec": "Data Protection",
|
},
|
||||||
"disclaimer": "Disclaimer",
|
"layout": {
|
||||||
"projects": "Projects",
|
"imprint": "Imprint",
|
||||||
"project": "Project",
|
"datasec": "Data Protection",
|
||||||
"social": "Social",
|
"disclaimer": "Disclaimer"
|
||||||
"homeHello": "Hello, I am",
|
},
|
||||||
"homeMe": "I am",
|
"project": {
|
||||||
"homeWebDeveloper": "a web developer",
|
"title": "Project",
|
||||||
"homeMyLocation": "Quickborn, Schleswig-Holstein, Germany",
|
"plural": "Projects",
|
||||||
"donationCatchphrase": "Like what you're seeing? Consider donating.",
|
"aboutHeader": "About {{projectName}}",
|
||||||
"homeImageCredit": "Portrait taken by Jannik Kiel",
|
"viewGitHub": "View on GitHub",
|
||||||
"de": "German",
|
"viewWebsite": "View Project-Website",
|
||||||
"en": "English",
|
"description": "This is what I am working on or have worked on.",
|
||||||
"projectAboutHeader": "About {{projectName}}",
|
"view": "View"
|
||||||
"projectViewGitHub": "View on GitHub",
|
},
|
||||||
"projectViewWebsite": "View Project-Website",
|
"home": {
|
||||||
"projectsDescription": "This is what I am working on or have worked on.",
|
"title": "Home",
|
||||||
"projectView": "View",
|
"hello": "Hello, I am",
|
||||||
"socialDescriptionWithLink": "Find me on other platforms or <1>visit my friends</1>!",
|
"me": "I am",
|
||||||
"socialDescription": "Find me on other platforms!",
|
"webDeveloper": "a web developer",
|
||||||
"friends": "Friends",
|
"imageCredit": "Portrait taken by Jannik Kiel",
|
||||||
"friendsDescription": "In this list you can find friends of mine and this site. Feel free to check them out for more interesting projects.",
|
"myLocation": "Quickborn, Schleswig-Holstein, Germany",
|
||||||
"donate": "Donate",
|
"explore": "Explore",
|
||||||
"donateDescription": "Hey! It looks like you're thinking about donating to me. That's nice of you! If you want your donation to go towards a specific project, feel free to write your wishes into the donation comment.",
|
"myProjects": "my projects",
|
||||||
"donateThanks": "Thanks for donating!",
|
"discover": "Discover",
|
||||||
"donateThanksText": "I really appreciate you appreciating my work and showing it! Feel free to mail me at <1>{{contactEmail}}</1> if you have anything you want to talk about!",
|
"mySocials": "my socials",
|
||||||
"featuredProjects": "Featured Projects",
|
"learn": "Learn",
|
||||||
"seeMore": "Explore more Projects",
|
"moreAboutMe": "more about me"
|
||||||
"donateGitHub": "You can very easily support me via GitHub Sponsors using the following button!",
|
},
|
||||||
"donatePayPal": "If you'd rather support me via PayPal the following button is for you:",
|
"about": {
|
||||||
"sponsorGitHub": "Sponsor using GitHub",
|
"title": "About",
|
||||||
"mySkills": "My Skills",
|
"donationCatchphrase": "Like what you're seeing? Consider donating.",
|
||||||
"about": "About",
|
"moreProjects": "Explore more Projects",
|
||||||
"explore": "Explore",
|
"featuredProjects": "Featured Projects",
|
||||||
"myProjects": "my projects",
|
"mySkills": "My Skills"
|
||||||
"discover": "Discover",
|
},
|
||||||
"mySocials": "my socials",
|
"social": {
|
||||||
"learn": "Learn",
|
"title": "Social",
|
||||||
"moreAboutMe": "more about me",
|
"descriptionWithLink": "Find me on other platforms or <1>visit my friends</1>!",
|
||||||
"home": "Home",
|
"description": "Find me on other platforms!"
|
||||||
|
},
|
||||||
|
"friends": {
|
||||||
|
"title": "Friends",
|
||||||
|
"description": "In this list you can find friends of mine and this site. Feel free to check them out for more interesting projects."
|
||||||
|
},
|
||||||
|
"donate": {
|
||||||
|
"title": "Donate",
|
||||||
|
"description": "Hey! It looks like you're thinking about donating to me. That's nice of you! If you want your donation to go towards a specific project, feel free to write your wishes into the donation comment.",
|
||||||
|
"thanks": "Thanks for donating!",
|
||||||
|
"thanksText": "I really appreciate you appreciating my work and showing it! Feel free to mail me at <1>{{contactEmail}}</1> if you have anything you want to talk about!",
|
||||||
|
"gitHub": "You can very easily support me via GitHub Sponsors using the following button!",
|
||||||
|
"payPal": "If you'd rather support me via PayPal the following button is for you:",
|
||||||
|
"sponsorGitHub": "Sponsor using GitHub",
|
||||||
|
"donatePayPal": "Donate using PayPal"
|
||||||
|
},
|
||||||
"menu": "Menu",
|
"menu": "Menu",
|
||||||
"scambox": "Scambox",
|
|
||||||
"scamboxNotice": "Notice",
|
|
||||||
"scamboxLanguage": "Scambox is only available in English.",
|
|
||||||
"scamboxDescription": "Take a dive with me into all of the scams I get on the daily, and maybe laugh at them a little!",
|
|
||||||
"scamboxReadFull": "Read full post »",
|
|
||||||
"scamboxPosted": "Posted on {{date}}",
|
|
||||||
"moreSoon": "More to come",
|
|
||||||
"language": {
|
"language": {
|
||||||
"en": {
|
"en": {
|
||||||
"name": "English"
|
"name": "English"
|
||||||
|
|
|
@ -24,7 +24,7 @@ export default function LanguageSwitcher() {
|
||||||
{languages.map((lng) => (
|
{languages.map((lng) => (
|
||||||
<li key={lng}>
|
<li key={lng}>
|
||||||
<Link to={originalPath} language={lng}>
|
<Link to={originalPath} language={lng}>
|
||||||
<Trans>{lng}</Trans>
|
<Trans>language.{lng}.name</Trans>
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
|
|
|
@ -88,21 +88,21 @@ const Navigation = ({ isHome }) => {
|
||||||
to="/about"
|
to="/about"
|
||||||
activeClassName={styles.active}
|
activeClassName={styles.active}
|
||||||
>
|
>
|
||||||
<Trans>about</Trans>
|
<Trans>about.title</Trans>
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
id="navBtnProjects"
|
id="navBtnProjects"
|
||||||
to="/projects"
|
to="/projects"
|
||||||
activeClassName={styles.active}
|
activeClassName={styles.active}
|
||||||
>
|
>
|
||||||
<Trans>projects</Trans>
|
<Trans>project.plural</Trans>
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
id="navBtnSocial"
|
id="navBtnSocial"
|
||||||
to="/social"
|
to="/social"
|
||||||
activeClassName={styles.active}
|
activeClassName={styles.active}
|
||||||
>
|
>
|
||||||
<Trans>social</Trans>
|
<Trans>social.title</Trans>
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
id="navBtnBlog"
|
id="navBtnBlog"
|
||||||
|
|
|
@ -24,14 +24,14 @@ const OffScreenNav = ({ active, close }) => {
|
||||||
<Trans>menu</Trans>
|
<Trans>menu</Trans>
|
||||||
</span>
|
</span>
|
||||||
<Link to="/" activeClassName={styles.active}>
|
<Link to="/" activeClassName={styles.active}>
|
||||||
<Trans>home</Trans>
|
<Trans>home.title</Trans>
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
id="osnavBtnProjects"
|
id="osnavBtnProjects"
|
||||||
to="/about"
|
to="/about"
|
||||||
activeClassName={styles.active}
|
activeClassName={styles.active}
|
||||||
>
|
>
|
||||||
<Trans>about</Trans>
|
<Trans>about.title</Trans>
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
id="osnavBtnProjects"
|
id="osnavBtnProjects"
|
||||||
|
|
|
@ -22,7 +22,7 @@ function SEO({ description, meta, title, speakable, image, children }) {
|
||||||
`
|
`
|
||||||
);
|
);
|
||||||
|
|
||||||
const metaDescription = description || t("siteDescription");
|
const metaDescription = description || t("site.description");
|
||||||
|
|
||||||
const siteMeta = useSiteMetadata();
|
const siteMeta = useSiteMetadata();
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
|
|
|
@ -28,15 +28,15 @@ class Layout extends React.Component {
|
||||||
<footer role="contentinfo">
|
<footer role="contentinfo">
|
||||||
CC-BY 4.0 Kevin Kandlbinder,{" "}
|
CC-BY 4.0 Kevin Kandlbinder,{" "}
|
||||||
<Link to="/legal/about" className="spf-link">
|
<Link to="/legal/about" className="spf-link">
|
||||||
<Trans i18nKey="imprint">Imprint</Trans>
|
<Trans i18nKey="layout.imprint">Imprint</Trans>
|
||||||
</Link>{" "}
|
</Link>{" "}
|
||||||
|{" "}
|
|{" "}
|
||||||
<Link to="/legal/datasec" className="spf-link">
|
<Link to="/legal/datasec" className="spf-link">
|
||||||
<Trans i18nKey="datasec">Data Protection</Trans>
|
<Trans i18nKey="layout.datasec">Data Protection</Trans>
|
||||||
</Link>{" "}
|
</Link>{" "}
|
||||||
|{" "}
|
|{" "}
|
||||||
<Link to="/legal/disclaimer" className="spf-link">
|
<Link to="/legal/disclaimer" className="spf-link">
|
||||||
<Trans i18nKey="disclaimer">Disclaimer</Trans>
|
<Trans i18nKey="layout.disclaimer">Disclaimer</Trans>
|
||||||
</Link>{" "}
|
</Link>{" "}
|
||||||
| <a href="#languageChooser">Language</a>
|
| <a href="#languageChooser">Language</a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -103,8 +103,8 @@ const AboutPage = (props) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout
|
<Layout
|
||||||
title={t("about")}
|
title={t("about.title")}
|
||||||
description={t("siteDescription")}
|
description={t("site.description")}
|
||||||
image={"/owner.jpg"}
|
image={"/owner.jpg"}
|
||||||
speakable={{
|
speakable={{
|
||||||
"@type": "SpeakableSpecification",
|
"@type": "SpeakableSpecification",
|
||||||
|
@ -118,7 +118,7 @@ const AboutPage = (props) => {
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.skills}>
|
<div className={styles.skills}>
|
||||||
<h2>
|
<h2>
|
||||||
<Trans>mySkills</Trans>
|
<Trans>about.mySkills</Trans>
|
||||||
</h2>
|
</h2>
|
||||||
<div className={styles.skillList}>
|
<div className={styles.skillList}>
|
||||||
{props.data.allSkillsJson.nodes.map((skill) => {
|
{props.data.allSkillsJson.nodes.map((skill) => {
|
||||||
|
@ -154,7 +154,7 @@ const AboutPage = (props) => {
|
||||||
<section>
|
<section>
|
||||||
<article>
|
<article>
|
||||||
<h1>
|
<h1>
|
||||||
<Trans>featuredProjects</Trans>
|
<Trans>about.featuredProjects</Trans>
|
||||||
</h1>
|
</h1>
|
||||||
<div className={projectStyles.projectList}>
|
<div className={projectStyles.projectList}>
|
||||||
{props.data.allProjectsJson.nodes.map((project) => {
|
{props.data.allProjectsJson.nodes.map((project) => {
|
||||||
|
@ -206,14 +206,14 @@ const AboutPage = (props) => {
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
<Link to="/projects" className={styles.seeMoreButton}>
|
<Link to="/projects" className={styles.seeMoreButton}>
|
||||||
<Trans>seeMore</Trans> <ArrowRight />
|
<Trans>about.moreProjects</Trans> <ArrowRight />
|
||||||
</Link>
|
</Link>
|
||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
<Link className={styles.donationSection} to="/donate">
|
<Link className={styles.donationSection} to="/donate">
|
||||||
<div>
|
<div>
|
||||||
<span>
|
<span>
|
||||||
<Trans>donationCatchphrase</Trans>
|
<Trans>about.donationCatchphrase</Trans>
|
||||||
</span>
|
</span>
|
||||||
<ArrowRight />
|
<ArrowRight />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -45,19 +45,22 @@ const DonatePage = (props) => {
|
||||||
const { site, file } = props.data;
|
const { site, file } = props.data;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout title={t("donate")} description={t("donationCatchphrase")}>
|
<Layout
|
||||||
|
title={t("donate.title")}
|
||||||
|
description={t("about.donationCatchphrase")}
|
||||||
|
>
|
||||||
<section>
|
<section>
|
||||||
<article>
|
<article>
|
||||||
<h1>
|
<h1>
|
||||||
<Trans>donate</Trans>
|
<Trans>donate.title</Trans>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<Trans>donateDescription</Trans>
|
<Trans>donate.description</Trans>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<Trans>donateGitHub</Trans>
|
<Trans>donate.gitHub</Trans>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p style={{ display: "block", textAlign: "center" }}>
|
<p style={{ display: "block", textAlign: "center" }}>
|
||||||
|
@ -71,12 +74,12 @@ const DonatePage = (props) => {
|
||||||
data-size="large"
|
data-size="large"
|
||||||
aria-label="Sponsor @Unkn0wnCat on GitHub"
|
aria-label="Sponsor @Unkn0wnCat on GitHub"
|
||||||
>
|
>
|
||||||
<Trans>sponsorGitHub</Trans>
|
<Trans>donate.sponsorGitHub</Trans>
|
||||||
</GitHubButton>
|
</GitHubButton>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<Trans>donatePayPal</Trans>
|
<Trans>donate.payPal</Trans>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div className={styles.priceAmount}>
|
<div className={styles.priceAmount}>
|
||||||
|
@ -127,7 +130,9 @@ const DonatePage = (props) => {
|
||||||
amount
|
amount
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<span>Donate using PayPal</span>
|
<span>
|
||||||
|
<Trans>donate.donatePayPal</Trans>
|
||||||
|
</span>
|
||||||
<ArrowRight />
|
<ArrowRight />
|
||||||
</a>
|
</a>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -50,15 +50,18 @@ const FriendsPage = ({ data }) => {
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout title={t("friends")} description={t("friendsDescription")}>
|
<Layout
|
||||||
|
title={t("friends.title")}
|
||||||
|
description={t("friends.description")}
|
||||||
|
>
|
||||||
<section>
|
<section>
|
||||||
<article>
|
<article>
|
||||||
<h1>
|
<h1>
|
||||||
<Trans>social</Trans>
|
<Trans>friends.title</Trans>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<Trans>friendsDescription</Trans>
|
<Trans>friends.description</Trans>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div className={styles.friendsList}>
|
<div className={styles.friendsList}>
|
||||||
|
|
|
@ -85,7 +85,7 @@ const IndexPage = (props) => {
|
||||||
<Layout
|
<Layout
|
||||||
title="Kevin Kandlbinder"
|
title="Kevin Kandlbinder"
|
||||||
transparentTopbar={true}
|
transparentTopbar={true}
|
||||||
description={t("siteDescription")}
|
description={t("site.description")}
|
||||||
image={"/owner.jpg"}
|
image={"/owner.jpg"}
|
||||||
speakable={{
|
speakable={{
|
||||||
"@type": "SpeakableSpecification",
|
"@type": "SpeakableSpecification",
|
||||||
|
@ -112,13 +112,13 @@ const IndexPage = (props) => {
|
||||||
<div className={styles.profileImageDummy}></div>
|
<div className={styles.profileImageDummy}></div>
|
||||||
<div className={styles.profileCard}>
|
<div className={styles.profileCard}>
|
||||||
<span className={styles.hello}>
|
<span className={styles.hello}>
|
||||||
<Trans>homeHello</Trans>
|
<Trans>home.hello</Trans>
|
||||||
</span>
|
</span>
|
||||||
<span className={styles.name}>Kevin Kandlbinder</span>
|
<span className={styles.name}>Kevin Kandlbinder</span>
|
||||||
<span className={styles.description}>
|
<span className={styles.description}>
|
||||||
<Trans>homeMe</Trans>{" "}
|
<Trans>home.me</Trans>{" "}
|
||||||
<span id="descriptionType">
|
<span id="descriptionType">
|
||||||
<Trans>homeWebDeveloper</Trans>
|
<Trans>home.webDeveloper</Trans>
|
||||||
</span>
|
</span>
|
||||||
.
|
.
|
||||||
</span>
|
</span>
|
||||||
|
@ -147,7 +147,7 @@ const IndexPage = (props) => {
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<MapPin width={20} />
|
<MapPin width={20} />
|
||||||
<Trans>homeMyLocation</Trans>
|
<Trans>home.myLocation</Trans>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
className={styles.contactLink}
|
className={styles.contactLink}
|
||||||
|
@ -177,27 +177,27 @@ const IndexPage = (props) => {
|
||||||
<Link to={"/projects"}>
|
<Link to={"/projects"}>
|
||||||
<div>
|
<div>
|
||||||
<span className={styles.ctaAccent}>
|
<span className={styles.ctaAccent}>
|
||||||
{t("explore")}
|
{t("home.explore")}
|
||||||
</span>{" "}
|
</span>{" "}
|
||||||
<span>{t("myProjects")}</span>
|
<span>{t("home.myProjects")}</span>
|
||||||
</div>
|
</div>
|
||||||
<ArrowRight />
|
<ArrowRight />
|
||||||
</Link>
|
</Link>
|
||||||
<Link to={"/social"}>
|
<Link to={"/social"}>
|
||||||
<div>
|
<div>
|
||||||
<span className={styles.ctaAccent}>
|
<span className={styles.ctaAccent}>
|
||||||
{t("discover")}
|
{t("home.discover")}
|
||||||
</span>{" "}
|
</span>{" "}
|
||||||
<span>{t("mySocials")}</span>
|
<span>{t("home.mySocials")}</span>
|
||||||
</div>
|
</div>
|
||||||
<ArrowRight />
|
<ArrowRight />
|
||||||
</Link>
|
</Link>
|
||||||
<Link to={"/about"}>
|
<Link to={"/about"}>
|
||||||
<div>
|
<div>
|
||||||
<span className={styles.ctaAccent}>
|
<span className={styles.ctaAccent}>
|
||||||
{t("learn")}
|
{t("home.learn")}
|
||||||
</span>{" "}
|
</span>{" "}
|
||||||
<span>{t("moreAboutMe")}</span>
|
<span>{t("home.moreAboutMe")}</span>
|
||||||
</div>
|
</div>
|
||||||
<ArrowRight />
|
<ArrowRight />
|
||||||
</Link>
|
</Link>
|
||||||
|
@ -211,7 +211,7 @@ const IndexPage = (props) => {
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<span>
|
<span>
|
||||||
<Camera /> <Trans>homeImageCredit</Trans>
|
<Camera /> <Trans>home.imageCredit</Trans>
|
||||||
</span>
|
</span>
|
||||||
<ArrowRight />
|
<ArrowRight />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -47,8 +47,8 @@ const ProjectsPage = ({ data }) => {
|
||||||
const meta = useSiteMetadata();
|
const meta = useSiteMetadata();
|
||||||
return (
|
return (
|
||||||
<Layout
|
<Layout
|
||||||
title={t("projects")}
|
title={t("project.plural")}
|
||||||
description={t("projectsDescription")}
|
description={t("project.description")}
|
||||||
seoAdditional={
|
seoAdditional={
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{JSON.stringify({
|
{JSON.stringify({
|
||||||
|
@ -76,11 +76,11 @@ const ProjectsPage = ({ data }) => {
|
||||||
<section>
|
<section>
|
||||||
<article>
|
<article>
|
||||||
<h1>
|
<h1>
|
||||||
<Trans>projects</Trans>
|
<Trans>project.plural</Trans>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<Trans>projectsDescription</Trans>
|
<Trans>project.description</Trans>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div className={styles.projectList}>
|
<div className={styles.projectList}>
|
||||||
|
|
|
@ -36,15 +36,15 @@ export const query = graphql`
|
||||||
const SocialPage = ({ data }) => {
|
const SocialPage = ({ data }) => {
|
||||||
const { t } = useI18next();
|
const { t } = useI18next();
|
||||||
return (
|
return (
|
||||||
<Layout title={t("social")} description={t("socialDescription")}>
|
<Layout title={t("social.title")} description={t("social.description")}>
|
||||||
<section>
|
<section>
|
||||||
<article>
|
<article>
|
||||||
<h1>
|
<h1>
|
||||||
<Trans>social</Trans>
|
<Trans>social.title</Trans>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<Trans i18nKey="socialDescriptionWithLink">
|
<Trans i18nKey="social.descriptionWithLink">
|
||||||
socialDescriptionWith<Link to="/friends">Link</Link>
|
socialDescriptionWith<Link to="/friends">Link</Link>
|
||||||
</Trans>
|
</Trans>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -66,7 +66,7 @@ const ProjectTemplate = ({ data }) => {
|
||||||
return (
|
return (
|
||||||
<Layout
|
<Layout
|
||||||
description={project.shortDescription}
|
description={project.shortDescription}
|
||||||
title={t("project") + ": " + projectName}
|
title={t("project.title") + ": " + projectName}
|
||||||
transparentTopbar={true}
|
transparentTopbar={true}
|
||||||
image={project.image.publicURL}
|
image={project.image.publicURL}
|
||||||
>
|
>
|
||||||
|
@ -84,7 +84,7 @@ const ProjectTemplate = ({ data }) => {
|
||||||
<header>
|
<header>
|
||||||
<div className={styles.headerInner}>
|
<div className={styles.headerInner}>
|
||||||
<h1>
|
<h1>
|
||||||
<Trans>project</Trans>: {projectName}
|
<Trans>project.title</Trans>: {projectName}
|
||||||
</h1>
|
</h1>
|
||||||
<span>{project.shortDescription}</span>
|
<span>{project.shortDescription}</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -111,7 +111,7 @@ const ProjectTemplate = ({ data }) => {
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
<Github height={15} />{" "}
|
<Github height={15} />{" "}
|
||||||
<Trans>projectViewGitHub</Trans>
|
<Trans>project.viewGitHub</Trans>
|
||||||
</a>
|
</a>
|
||||||
) : null}
|
) : null}
|
||||||
{project.links.website !== null ? (
|
{project.links.website !== null ? (
|
||||||
|
@ -121,7 +121,7 @@ const ProjectTemplate = ({ data }) => {
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
<ExternalLink height={15} />{" "}
|
<ExternalLink height={15} />{" "}
|
||||||
<Trans>projectViewWebsite</Trans>
|
<Trans>project.viewWebsite</Trans>
|
||||||
</a>
|
</a>
|
||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue