Skip to content

Commit 7a08f04

Browse files
committed
Update timeline styling
1 parent 914e59f commit 7a08f04

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

src/index.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,10 @@ h3 {
591591

592592
.timeline_date_right {
593593
text-align: right;
594-
font-size: 18px;
594+
font-size: 16px;
595+
color: var(--gray_color);
596+
font-style: italic;
597+
padding-top: 4px;
595598
}
596599

597600
.timeline_title {

src/pages/About.jsx

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ import useSmoothScroll from '../hooks/useSmoothScroll';
55
const TimelineEntry = ({ date, imagePath, imageUrl, imageAlt, title, subheader, subtitle, bullets, positions }) => (
66
<div className="timeline_entry item_container">
77
<div className="timeline_left">
8+
<div className="timeline_image">
9+
<a href={imageUrl} target="_blank" rel="noopener noreferrer">
10+
<img className="image_thumbnail" src={imagePath} alt={imageAlt} loading="lazy" />
11+
</a>
12+
</div>
813
<div className="timeline_date timeline_date_right">
914
{date.split('<br>').map((part, index) => (
1015
<React.Fragment key={index}>
@@ -13,12 +18,6 @@ const TimelineEntry = ({ date, imagePath, imageUrl, imageAlt, title, subheader,
1318
</React.Fragment>
1419
))}
1520
</div>
16-
<br />
17-
<div className="timeline_image">
18-
<a href={imageUrl} target="_blank" rel="noopener noreferrer">
19-
<img className="image_thumbnail" src={imagePath} alt={imageAlt} loading="lazy" />
20-
</a>
21-
</div>
2221
</div>
2322
<div className="timeline_middle"></div>
2423
<div className="timeline_right">
@@ -62,7 +61,7 @@ function About() {
6261

6362
const timelineEntries = [
6463
{
65-
date: "Sept 2025-<br>Present",
64+
date: "Sept 2025<br>Present",
6665
imagePath: "/about/pennhealthtech_thumbnail.webp",
6766
imageUrl: "https://healthtech.upenn.edu/",
6867
imageAlt: "Penn Health-Tech thumbnail",
@@ -71,7 +70,7 @@ function About() {
7170
bullets: ["Penn Health-Tech is a university-wide effort to advance Penn's world-class breakthroughs into devices and health technologies."]
7271
},
7372
{
74-
date: "Aug 2024-<br>Present",
73+
date: "Aug 2024<br>Present",
7574
imagePath: "/about/penn_thumbnail.webp",
7675
imageUrl: "https://be.seas.upenn.edu/",
7776
imageAlt: "Penn thumbnail",
@@ -81,7 +80,7 @@ function About() {
8180
bullets: ["Litt Lab under Brian Litt, MD.", "Ashton Fellow."]
8281
},
8382
{
84-
date: "June 2023-<br>Present",
83+
date: "June 2023<br>Present",
8584
imagePath: "/about/sociail_thumbnail.webp",
8685
imageUrl: "https://www.sociail.com/",
8786
imageAlt: "Sociail thumbnail",
@@ -102,7 +101,7 @@ function About() {
102101
]
103102
},
104103
{
105-
date: "Sept 2024-<br>Sept 2025",
104+
date: "Sept 2024<br>Sept 2025",
106105
imagePath: "/about/nucleate_thumbnail.webp",
107106
imageUrl: "https://www.nucleate.xyz/",
108107
imageAlt: "Nucleate thumbnail",
@@ -111,7 +110,7 @@ function About() {
111110
bullets: ["Nucleate is a student-led, non-profit organization that empowers the next generation of biotech leaders by educating today's academic trainees."]
112111
},
113112
{
114-
date: "Sept 2023-<br>Aug 2024",
113+
date: "Sept 2023<br>Aug 2024",
115114
imagePath: "/about/litt_lab_thumbnail.webp",
116115
imageUrl: "https://littlab.seas.upenn.edu/",
117116
imageAlt: "Litt Lab thumbnail",
@@ -121,7 +120,7 @@ function About() {
121120
bullets: ["Translational neuroengineering research for epilepsy patient care.<br><br>"]
122121
},
123122
{
124-
date: "Dec 2021-<br>Sept 2023",
123+
date: "Dec 2021<br>Sept 2023",
125124
imagePath: "/about/ayaz_lab_thumbnail.webp",
126125
imageUrl: "https://ayazlab.com/",
127126
imageAlt: "Ayaz Lab thumbnail",
@@ -137,7 +136,7 @@ function About() {
137136
]
138137
},
139138
{
140-
date: "June 2020-<br>June 2023",
139+
date: "June 2020<br>June 2023",
141140
imagePath: "/about/moberg_analytics_thumbnail.webp",
142141
imageUrl: "https://moberganalytics.com/",
143142
imageAlt: "Moberg Analytics thumbnail",
@@ -163,7 +162,7 @@ function About() {
163162
]
164163
},
165164
{
166-
date: "Sept 2019-<br>March 2020",
165+
date: "Sept 2019<br>March 2020",
167166
imagePath: "/about/intact_vascular_thumbnail.webp",
168167
imageUrl: "https://www.linkedin.com/company/intactvascular/",
169168
imageAlt: "Intact Vascular thumbnail",
@@ -176,7 +175,7 @@ function About() {
176175
]
177176
},
178177
{
179-
date: "Sept 2018-<br>June 2023",
178+
date: "Sept 2018<br>June 2023",
180179
imagePath: "/about/drexel_thumbnail.webp",
181180
imageUrl: "https://drexel.edu/biomed/",
182181
imageAlt: "Drexel University thumbnail",

0 commit comments

Comments
 (0)