Skip to content

Commit 72a2791

Browse files
committed
UI Update
1 parent 9b23654 commit 72a2791

2 files changed

Lines changed: 12 additions & 27 deletions

File tree

src/components/About/Techstack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Col, Row } from "react-bootstrap";
44
const techStackIcons = [
55
// Languages & Backend
66
{ icon: <img src="https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/cplusplus/cplusplus-original.svg" alt="C++" style={{ width: "1em", height: "1em" }} />, name: "C++", link: "https://isocpp.org/" },
7-
{ icon: <img src="https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/java/java-original.svg" alt="Java" style={{ width: "1em", height: "1em", filter: "brightness(2.5) contrast(1.1)" }} />, name: "Java", link: "https://www.java.com/" },
7+
{ icon: <img src="https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/java/java-original.svg" alt="Java" className="tech-icon-java" style={{ width: "1em", height: "1em" }} />, name: "Java", link: "https://www.java.com/" },
88
{ icon: <img src="https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/spring/spring-original.svg" alt="Spring Boot" style={{ width: "1em", height: "1em" }} />, name: "Spring Boot", link: "https://spring.io/projects/spring-boot" },
99
{ icon: <img src="https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/go/go-original.svg" alt="Go" style={{ width: "1em", height: "1em" }} />, name: "Go", link: "https://go.dev/" },
1010
{ icon: <img src="https://raw.githubusercontent.com/gin-gonic/logo/master/color.png" alt="Gin" style={{ width: "1em", height: "1em", objectFit: "contain" }} />, name: "Gin", link: "https://gin-gonic.com/" },

src/css/style.css

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,6 @@ body {
248248
--project-date-bg-grid: var(--surface-overlay-dark-strong);
249249
--project-overlay-bg: var(--surface-overlay-dark);
250250
--project-image-container-bg: rgba(0, 0, 0, 0.15);
251-
--title-underline: linear-gradient(to right, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
252-
--divider-line: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
253251
--button-pill-bg: rgba(16, 76, 115, 0.85);
254252
--button-pill-text: #ffffff;
255253
--github-btn-bg: rgba(255, 255, 255, 0.9);
@@ -405,8 +403,6 @@ body {
405403
--project-date-bg-grid: rgba(255, 255, 255, 0.9);
406404
--project-overlay-bg: rgba(255, 255, 255, 0.8);
407405
--project-image-container-bg: rgba(255, 255, 255, 0.4);
408-
--title-underline: linear-gradient(to right, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
409-
--divider-line: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
410406
--button-pill-bg: rgba(0, 0, 0, 0.8);
411407
--button-pill-text: #fff;
412408
--github-btn-bg: rgba(0, 0, 0, 0.8);
@@ -1288,7 +1284,7 @@ a.floating-nav-contact-item:hover {
12881284
.floating-nav-divider {
12891285
height: 1px;
12901286
width: 100%;
1291-
background: var(--divider-line);
1287+
background: var(--border-medium);
12921288
margin: 6px 10px 4px 0;
12931289
box-sizing: border-box;
12941290
flex-shrink: 0;
@@ -2462,14 +2458,15 @@ body.homepage .home-about-section {
24622458
width: 100%;
24632459
}
24642460

2461+
/* Match track timeline cards: .experience-description border-top */
24652462
.project-card__title::after {
24662463
content: "";
24672464
position: absolute;
24682465
bottom: 0;
24692466
left: 0;
24702467
width: 100%;
2471-
height: 1px;
2472-
background: var(--title-underline);
2468+
height: 0;
2469+
border-bottom: 1px solid var(--border-strong);
24732470
}
24742471

24752472
.project-card__tags {
@@ -2617,8 +2614,8 @@ body.homepage .home-about-section {
26172614
bottom: 0;
26182615
left: 0;
26192616
width: 100%;
2620-
height: 1px;
2621-
background: var(--title-underline);
2617+
height: 0;
2618+
border-bottom: 1px solid var(--border-strong);
26222619
}
26232620

26242621
.project-card-list-view__tags {
@@ -2858,6 +2855,11 @@ body.homepage .home-about-section {
28582855
color: var(--color-text);
28592856
}
28602857

2858+
/* java-original is very dark; lighten only in dark theme (light mode: unfiltered asset) */
2859+
[data-theme="dark"] .tech-icons__icon img.tech-icon-java {
2860+
filter: brightness(2.5) contrast(1.1);
2861+
}
2862+
28612863
.tech-icons__name {
28622864
font-size: 1.05rem;
28632865
font-weight: 600;
@@ -3820,23 +3822,6 @@ body.homepage .home-about-section {
38203822
width: 100%;
38213823
}
38223824

3823-
.project-card-list-view__title::after,
3824-
.project-card__title::after {
3825-
width: 100%;
3826-
left: 0;
3827-
transform: none;
3828-
height: 2px;
3829-
background: linear-gradient(
3830-
90deg,
3831-
transparent 0%,
3832-
rgba(255, 255, 255, 0.12) 20%,
3833-
rgba(255, 255, 255, 0.22) 50%,
3834-
rgba(255, 255, 255, 0.12) 80%,
3835-
transparent 100%
3836-
);
3837-
border-radius: 1px;
3838-
}
3839-
38403825
.project-card-list-view__tags {
38413826
justify-content: center;
38423827
}

0 commit comments

Comments
 (0)