Skip to content

Commit

Permalink
Add brother in about section
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-schindler committed May 20, 2024
1 parent c14d4fb commit 7d91d99
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
8 changes: 7 additions & 1 deletion components/home/About.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ButtonLink, Title } from "@/components/mod.tsx";
import { ButtonLink, Link, Title } from "@/components/mod.tsx";

import translations from "@/core/i18n/home/about.json" with { type: "json" };
import type { AllowedLanguage } from "@/core/types.ts";
Expand All @@ -15,6 +15,12 @@ export default function About({ lang }: { lang: AllowedLanguage }) {
href="/projects"
/>
</p>
<p>
<Link
name={`→ ${translations[lang].txt.brother}`}
href="https://www.schindlerflorian.de"
/>
</p>
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion components/mod.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function Link(
target={target ? target : ""}
class={`underline ${
!secondary &&
"text-blue-500 hover:text-indigo-500 active:text-violet-500 visited:text-purple-500"
"text-blue-500 hover:text-indigo-500 active:text-violet-500 visited:text-sky-500"
}`}
>
{name}
Expand Down
9 changes: 6 additions & 3 deletions core/i18n/home/about.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,26 @@
"txt": {
"_1": "I'm {:age} years old and interested in Programming, mainly Fullstack Web Development.",
"_2": "If you're just interested in my past projects, you can take a look at my",
"project_list": "Projects List"
"project_list": "Projects List",
"brother": "Please also consider to pay a visit to my brother's website"
}
},
"de": {
"heading": "Über mich",
"txt": {
"_1": "Ich bin {:age} Jahre alt und interessiere mich für's Programmieren, hauptsächlich Fullstack Web Entwicklung.",
"_2": "Wenn du dich für meine vergangenen Projekte interessierst, kann du einen Blick auf meine Projektliste werfen.",
"project_list": "Projekt Liste"
"project_list": "Projekt Liste",
"brother": "Du kannst auch die Website meines Bruders besuchen"
}
},
"zh": {
"heading": "关于我",
"txt": {
"_1": "我今年 {:age} 岁,对编程感兴趣,主要是全栈web开发。",
"_2": "如果你只是对我过去的项目感兴趣,你可以看看我的",
"project_list": "项目列表"
"project_list": "项目列表",
"brother": "请也考虑访问一下我哥哥的网站"
}
}
}

0 comments on commit 7d91d99

Please sign in to comment.