Skip to content

Commit f7cacaa

Browse files
committed
Fixed color themes + Updated landing text
1 parent 425ea0f commit f7cacaa

File tree

2 files changed

+19
-21
lines changed

2 files changed

+19
-21
lines changed

next-js-app/src/app/home/page.tsx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ function ExperienceCard({ experience }: { experience: Experience }) {
116116

117117
return (
118118
<div
119-
className="border border-gray-700 rounded-lg p-6 transition-all duration-300 hover:border-gray-500 cursor-pointer"
119+
className="border border-gray-200 dark:border-gray-700 rounded-lg p-6 transition-all duration-300 hover:border-gray-400 dark:hover:border-gray-500 cursor-pointer"
120120
onClick={() => setIsExpanded(!isExpanded)}
121121
>
122122
<div className="flex justify-between items-start">
123123
<div>
124124
<h3 className="text-xl font-bold">{experience.company}</h3>
125-
<p className="text-md text-gray-400">{experience.role}</p>
125+
<p className="text-md text-gray-600 dark:text-gray-400">{experience.role}</p>
126126
<p className="text-sm text-gray-500">{experience.period}</p>
127127
</div>
128128
<div className="w-16 h-16 bg-white rounded-lg flex items-center justify-center">
@@ -133,16 +133,16 @@ function ExperienceCard({ experience }: { experience: Experience }) {
133133
className="rounded-lg object-contain"
134134
/>
135135
) : (
136-
<span className="text-xs text-gray-400">Logo</span>
136+
<span className="text-xs text-gray-600 dark:text-gray-400">Logo</span>
137137
)}
138138
</div>
139139
</div>
140-
<p className="mt-4 text-gray-300">{experience.description}</p>
140+
<p className="mt-4 text-gray-700 dark:text-gray-300">{experience.description}</p>
141141
{isExpanded && (
142-
<div className="mt-4 pt-4 border-t border-gray-800">
143-
<p className="text-gray-400">{experience.longDescription}</p>
142+
<div className="mt-4 pt-4 border-t border-gray-200 dark:border-gray-800">
143+
<p className="text-gray-600 dark:text-gray-400">{experience.longDescription}</p>
144144
<div className="flex gap-4 mt-4">
145-
<div className="w-full h-48 bg-gray-800 rounded-lg flex items-center justify-center">
145+
<div className="w-full h-48 bg-gray-100 dark:bg-gray-800 rounded-lg flex items-center justify-center">
146146
<span className="text-sm text-gray-500">More Pictures Here</span>
147147
</div>
148148
</div>
@@ -154,10 +154,10 @@ function ExperienceCard({ experience }: { experience: Experience }) {
154154

155155
export default function HomePage() {
156156
return (
157-
<div className="bg-black text-white min-h-screen font-sans">
157+
<div className="min-h-screen font-sans">
158158
<div className="container mx-auto p-8 sm:p-12 md:p-16 lg:p-24">
159159
<header className="text-center mb-16">
160-
<div className="w-32 h-32 rounded-full mx-auto mb-4 relative overflow-hidden border-2 border-gray-700">
160+
<div className="w-32 h-32 rounded-full mx-auto mb-4 relative overflow-hidden border-2 border-gray-200 dark:border-gray-700">
161161
<Image
162162
src={headshot}
163163
alt="James M. Smith Headshot"
@@ -168,31 +168,31 @@ export default function HomePage() {
168168
<h1 className="text-5xl font-extrabold tracking-tight">
169169
James M. Smith
170170
</h1>
171-
<p className="text-xl text-gray-400 mt-2">
171+
<p className="text-xl text-gray-600 dark:text-gray-400 mt-2">
172172
Machine Learning Engineer & Software Developer
173173
</p>
174174
<div className="mt-4 flex justify-center gap-4">
175175
<a
176176
href="https://www.linkedin.com/in/james-m-smith1/"
177177
target="_blank"
178178
rel="noopener noreferrer"
179-
className="text-gray-400 hover:text-white transition-colors"
179+
className="text-gray-600 dark:text-gray-400 hover:text-black dark:hover:text-white transition-colors"
180180
>
181181
LinkedIn
182182
</a>
183183
<a
184184
href="https://github.com/gitJamoo"
185185
target="_blank"
186186
rel="noopener noreferrer"
187-
className="text-gray-400 hover:text-white transition-colors"
187+
className="text-gray-600 dark:text-gray-400 hover:text-black dark:hover:text-white transition-colors"
188188
>
189189
GitHub
190190
</a>
191191
</div>
192192
</header>
193193

194194
<section className="mb-16">
195-
<p className="text-lg text-center max-w-3xl mx-auto text-gray-300">
195+
<p className="text-lg text-center max-w-3xl mx-auto text-gray-700 dark:text-gray-300">
196196
A passionate and driven computer science student with a focus on
197197
machine learning and artificial intelligence. I thrive on building
198198
innovative solutions and have a proven track record of delivering
@@ -212,11 +212,11 @@ export default function HomePage() {
212212

213213
<section id="education" className="mb-16">
214214
<h2 className="text-4xl font-bold mb-8 text-center">Education</h2>
215-
<div className="bg-gray-900 border border-gray-800 rounded-lg p-8">
215+
<div className="bg-gray-50 dark:bg-gray-900 border border-gray-200 dark:border-gray-800 rounded-lg p-8">
216216
<h3 className="text-2xl font-bold">{education.institution}</h3>
217-
<p className="text-lg text-gray-400">{education.degree}</p>
217+
<p className="text-lg text-gray-600 dark:text-gray-400">{education.degree}</p>
218218
<p className="text-md text-gray-500 mb-4">{education.period}</p>
219-
<p className="text-gray-300">{education.details}</p>
219+
<p className="text-gray-700 dark:text-gray-300">{education.details}</p>
220220
</div>
221221
</section>
222222

@@ -237,11 +237,11 @@ export default function HomePage() {
237237
{projects.map((proj, index) => (
238238
<div
239239
key={index}
240-
className="bg-gray-900 border border-gray-800 rounded-lg p-6 hover:border-gray-700 transition-all duration-300"
240+
className="bg-gray-50 dark:bg-gray-900 border border-gray-200 dark:border-gray-800 rounded-lg p-6 hover:border-gray-300 dark:hover:border-gray-700 transition-all duration-300"
241241
>
242242
<h3 className="text-xl font-bold">{proj.name}</h3>
243243
<p className="text-sm text-gray-500 mb-2">{proj.period}</p>
244-
<p className="text-gray-400 mb-4">{proj.description}</p>
244+
<p className="text-gray-600 dark:text-gray-400 mb-4">{proj.description}</p>
245245
<p className="text-sm text-gray-500 font-mono">
246246
{proj.technologies}
247247
</p>

next-js-app/src/app/page.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ export default function Home() {
3030
The Wormhole is a unique browsing experience, where AI generates
3131
each page being viewed. It has been fed information about me, and
3232
makes each vist a one of a kind portfolio viewing experience. Take
33-
everything with a grain of salt since it is AI generated. I
34-
encourage you to play around wiht it, as this is an experiment.
35-
Enjoy, James.
33+
everything with a grain of salt since it is AI generated.
3634
</p>
3735
</div>
3836
<div className="flex flex-col gap-y-4 items-center sm:items-start">

0 commit comments

Comments
 (0)