Skip to content

Commit e1f0226

Browse files
Project URL added, Bug fixes
1 parent 976b210 commit e1f0226

3 files changed

Lines changed: 33 additions & 13 deletions

File tree

‎client/src/components/ProjectCard/ProjectCard.tsx‎

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,36 @@ export default function ProjectCard({ title, description, tech, status, links, d
4747
</div>
4848

4949
<div className={styles.links}>
50-
<ScrambleText as="span" text="GitHub ↗" className={styles.link} delay={s3.delay} duration={s3.duration} />
50+
<a
51+
href={links.github}
52+
target="_blank"
53+
rel="noopener noreferrer"
54+
className={styles.link}
55+
>
56+
<ScrambleText
57+
as="span"
58+
text="GitHub ↗"
59+
delay={s3.delay}
60+
duration={s3.duration}
61+
/>
62+
</a>
5163
{status === "Live" && links.live !== "#" && (
52-
<ScrambleText as="span" text="Live Demo ↗" className={styles.link} delay={s3.delay} duration={s3.duration} />
64+
<a
65+
href={links.live}
66+
target="_blank"
67+
rel="noopener noreferrer"
68+
className={styles.link}
69+
>
70+
<ScrambleText
71+
as="span"
72+
text="Live Demo ↗"
73+
delay={s3.delay}
74+
duration={s3.duration}
75+
/>
76+
</a>
5377
)}
5478
</div>
79+
5580
</ScrambleCard>
5681
);
5782
}

‎client/src/components/ProjectsMe/ProjectsMe.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ const projects = [
2020
},
2121
{
2222
title: "SquadHost",
23-
description: "Minecraft server hosting platform on AWS. Users select server specs via a web interface and launch servers on demand. Auto-shutdown after 8 min of no players; master server terminates itself after 10 min of no active servers to achieve scale-to-zero billing.",
23+
description: "Self‑hosted Minecraft server platform on AWS with scale‑to‑zero billing. Auto‑hibernates idle servers and restores worlds from S3. Full documentation at squadhost.seturaman.me.",
2424
tech: ["Next.js", "Python/Django", "PostgreSQL", "Docker", "AWS (EC2, S3, Lambda, RDS)", "Terraform", "Ansible"],
2525
status: "Live" as const,
26-
links: { github: "https://github.com/SeturamanKumar/SquadHost", live: "#" },
26+
links: { github: "https://github.com/SeturamanKumar/SquadHost", live: "https://squadhost.seturaman.me" },
2727
},
2828
];
2929

‎client/src/components/Sidebar/Sidebar.tsx‎

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,9 @@ interface NavLinkProps {
2323
}
2424

2525
function NavLink({ name, path, isActive, initialDelay }: NavLinkProps) {
26-
const display = useScramble(name, isActive ? 0 : initialDelay);
27-
26+
const display = useScramble(name, initialDelay);
2827
return (
29-
<Link
30-
href={path}
31-
className={`${styles.link} ${isActive ? styles.active : ""}`}
32-
>
28+
<Link href={path} className={`${styles.link} ${isActive ? styles.active : ""}`}>
3329
<span className={styles.linkText}>{display}</span>
3430
</Link>
3531
);
@@ -42,11 +38,10 @@ export default function Sidebar() {
4238
<aside className={styles.sidebar}>
4339
<nav className={styles.nav}>
4440
{navItems.map((item, index) => {
45-
const isActive =
46-
item.path === "/" ? pathname === "/" : pathname.startsWith(item.path);
41+
const isActive = item.path === "/" ? pathname === "/" : pathname.startsWith(item.path);
4742
return (
4843
<NavLink
49-
key={isActive ? `${item.path}-active`: item.path}
44+
key={item.path}
5045
name={item.name}
5146
path={item.path}
5247
isActive={isActive}

0 commit comments

Comments
 (0)