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
90 changes: 49 additions & 41 deletions src/components/projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,38 +106,42 @@ export function Projects() {
{t("liveDemo")} ↗
</a>
)}
<a
href={featured.gh}
target="_blank"
rel="noopener noreferrer"
className="border px-[22px] py-2.5 font-dm-mono text-[9px] tracking-[.18em] transition-all duration-300"
style={{
borderColor: `${featured.color}50`,
background:
featured.demo === "#"
? featured.color
: "transparent",
color:
featured.demo === "#" ? "#06080D" : featured.color,
}}
onMouseEnter={(e) => {
if (featured.demo !== "#") {
e.currentTarget.style.background = `${featured.color}12`;
} else {
e.currentTarget.style.opacity = "0.85";
}
}}
onMouseLeave={(e) => {
if (featured.demo !== "#") {
e.currentTarget.style.background = "transparent";
} else {
e.currentTarget.style.opacity = "1";
}
}}
>
{featured.demo === "#" ? t("viewCode") : t("github")}{" "}
&#8599;
</a>
{featured.gh !== "#" && (
<a
href={featured.gh}
target="_blank"
rel="noopener noreferrer"
className="border px-[22px] py-2.5 font-dm-mono text-[9px] tracking-[.18em] transition-all duration-300"
style={{
borderColor: `${featured.color}50`,
background:
featured.demo === "#"
? featured.color
: "transparent",
color:
featured.demo === "#"
? "#06080D"
: featured.color,
}}
onMouseEnter={(e) => {
if (featured.demo !== "#") {
e.currentTarget.style.background = `${featured.color}12`;
} else {
e.currentTarget.style.opacity = "0.85";
}
}}
onMouseLeave={(e) => {
if (featured.demo !== "#") {
e.currentTarget.style.background = "transparent";
} else {
e.currentTarget.style.opacity = "1";
}
}}
>
{featured.demo === "#" ? t("viewCode") : t("github")}{" "}
&#8599;
</a>
)}
</div>
</div>
<div
Expand All @@ -160,7 +164,9 @@ export function Projects() {
>
{featured.demo === "#"
? t("openSourceOnGithub")
: t("liveAtVercel")}{" "}
: featured.demo.includes("t.me")
? t("liveAtTelegram")
: t("liveAtVercel")}{" "}
&#8599;
</div>
</div>
Expand Down Expand Up @@ -204,14 +210,16 @@ export function Projects() {
{t("demo")} &#8599;
</a>
)}
<a
href={p.gh}
target="_blank"
rel="noopener noreferrer"
className="font-dm-mono text-[9px] tracking-[.1em] text-muted transition-colors duration-300 hover:text-accent"
>
{t("gh")} &#8599;
</a>
{p.gh !== "#" && (
<a
href={p.gh}
target="_blank"
rel="noopener noreferrer"
className="font-dm-mono text-[9px] tracking-[.1em] text-muted transition-colors duration-300 hover:text-accent"
>
{t("gh")} &#8599;
</a>
)}
</div>
</div>
<h3 className="mb-2 font-playfair text-[19px] font-bold text-text">
Expand Down
18 changes: 17 additions & 1 deletion src/lib/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ export const GREETINGS: string[] = [

/** Experience metadata (non-translatable fields only) */
export const EXP_META = [
{
company: "Ekkhara",
url: "https://ekkhara.com",
color: "#CC7B7B",
ptCount: 3,
},
{
company: "Siloett.AI",
url: "https://siloett.ai/lander",
Expand Down Expand Up @@ -54,6 +60,16 @@ export const EXP_META = [

/** Project metadata (non-translatable fields only) */
export const PROJECTS_META = [
{
id: 13,
featured: true,
emoji: "\uD83D\uDDE3\uFE0F",
title: "SpeakProof",
tags: ["Python", "Telegram Bot", "FastAPI", "LLM", "TOEFL"],
color: "#CC7B7B",
demo: "https://t.me/SpeakProofTOEFLBot",
gh: "#",
},
{
id: 1,
featured: true,
Expand Down Expand Up @@ -437,7 +453,7 @@ export const SOCIAL_LINKS: [string, string][] = [
["LINKEDIN", "https://www.linkedin.com/in/pyae-sone-kyaw-80386721b/"],
];

export const STATS_NUMS = ["5+", "11+", "2", "3"];
export const STATS_NUMS = ["5+", "12+", "2", "3"];

export const EDUCATION_META = [
{
Expand Down
Loading
Loading