Skip to content

Commit 93f2ae5

Browse files
committed
more work
1 parent 9e123ed commit 93f2ae5

File tree

8 files changed

+56
-25
lines changed

8 files changed

+56
-25
lines changed

public/hobbies/gaming.jpg

614 KB
Loading

src/components/home/ProjectCard.tsx

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,23 @@ const ProjectCard: React.FC<ProjectCardProps> = ({ project, onViewMore }) => {
2222
: description;
2323

2424
return (
25-
<div className="break-inside-avoid mb-6 sm:mb-8 bg-white rounded-lg shadow-lg p-6 flex flex-col max-w-sm transform transition-transform hover:scale-105 hover:shadow-2xl">
26-
<Image
27-
src={image}
28-
alt={title}
29-
className="rounded-t-md w-full mb-4 object-cover h-40"
30-
/>
31-
<h3 className="text-2xl font-semibold text-gray-700">{title}</h3>
32-
{subtitle && <h4 className="text-sm text-gray-500 mb-2">{subtitle}</h4>}
33-
<p className="text-gray-600 text-sm mb-4">
25+
// TODO: fix color
26+
// TODO: fix strange behavior in desktop safari
27+
<div className="break-inside-avoid bg-background dark:bg-slate-900 text-foreground mb-6 sm:mb-8 rounded-lg shadow-lg p-6 flex flex-col max-w-sm transform transition-transform hover:scale-105 hover:shadow-2xl">
28+
{image && (
29+
<Image
30+
src={image}
31+
alt={title}
32+
className="rounded-t-md w-full mb-4 object-cover h-40"
33+
/>
34+
)}
35+
<h3 className="text-2xl font-semibold">{title}</h3>
36+
{subtitle && <h4 className="text-sm text-gray-400 mb-2">{subtitle}</h4>}
37+
<p className="text-sm mb-4">
3438
{truncatedDescription}
3539
{isLongDescription && (
3640
<>
37-
<span className="text-gray-500">...</span>{" "}
41+
<span className="text-gray-400">...</span>{" "}
3842
<button
3943
onClick={onViewMore}
4044
className="text-blue-500 hover:underline text-sm inline-flex items-center"
@@ -65,7 +69,7 @@ const ProjectCard: React.FC<ProjectCardProps> = ({ project, onViewMore }) => {
6569
{tags.map((tag, i) => (
6670
<span
6771
key={i}
68-
className="bg-blue-100 text-blue-700 text-xs font-medium px-2 py-1 rounded-full"
72+
className="bg-slate-800 border-slate-700 dark:bg-slate-900 dark:border-slate-800 border text-blue-700 text-xs font-medium px-2 py-1 rounded-full"
6973
>
7074
{tag}
7175
</span>

src/components/home/sections/HobbiesAndInterests.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import HobbyGrid from "@/components/home/HobbyGrid";
55

66
const HobbiesAndInterests: React.FC = () => {
77
return (
8-
<Section id="hobbies">
8+
<Section className="bg-gray-200 dark:bg-slate-900" id="hobbies">
99
<h2 className="text-4xl font-bold text-center mb-12">
1010
Hobbies &amp; Interests
1111
</h2>

src/components/home/sections/Projects.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const Projects: React.FC = () => {
1313
return (
1414
<Section
1515
id="projects"
16-
className="flex flex-col items-center justify-center"
16+
className="flex flex-col items-center justify-center bg-gradient-to-b from-gray-100 to-gray-200 dark:from-slate-800 dark:to-slate-900"
1717
>
1818
<ScrollToBottom scrollToBottomText="Skip Projects">
1919
<h2 className="text-4xl font-bold text-center mb-12">Projects</h2>

src/components/shared/Section.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ interface SectionProps {
88
}
99

1010
const Section: React.FC<SectionProps> = ({ id, ref, className, children }) => {
11-
const baseClassNames =
12-
"bg-gradient-to-b from-gray-100 to-gray-200 dark:from-slate-800 dark:to-slate-900 py-16 px-4 sm:px-8 lg:px-16";
11+
const baseClassNames = "py-16 px-4 sm:px-8 lg:px-16";
1312

1413
return (
1514
<section

src/data/hobbiesAndInterests.tsx

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,75 @@
11
import { StaticImageData } from "next/image";
22
import images from "@/images";
33

4-
interface HobbyAndInterest {
4+
export interface HobbyAndInterest {
55
title: string;
66
image: StaticImageData;
7+
description: string;
78
}
89

910
const hobbiesAndInterests: HobbyAndInterest[] = [
1011
{
12+
// Complete
1113
title: "3D Printing",
1214
image: images.hobby3DPrinting,
15+
description:
16+
"Using Autodesk Fusion 360, I design functional 3D models for printing with my Bambu Lab P1S 3D Printer. Recently, a modular keystone jack desk grommet.",
1317
},
1418
{
19+
// Complete
1520
title: "Photography",
1621
image: images.hobbyPhotography,
22+
description:
23+
"Over the last year I've been learning photography with my Sony Alpha A6600. I've been enjoying capturing night cityscapes and urban nature photography.",
1724
},
1825
{
26+
// Complete
1927
title: "Music",
2028
image: images.hobbyMusic,
29+
description:
30+
"I enjoy a wide range of music—from classical to rock and EDM. I love traveling to music festivals, creating in Ableton Live, curating playlists, and mixing tracks.",
2131
},
2232
{
33+
// Complete
2334
title: "Video Games",
2435
image: images.hobbyVideoGames,
36+
description:
37+
"I'm a big fan of PC and console games. Typically you'll find me playing JRPGs, strategy, and sandbox games. I have a personal affinity for Nintendo games.",
2538
},
2639
{
40+
// Complete
2741
title: "Traveling",
28-
image: images.hobbyTraveling,
42+
image: images.hobbyTraveling2,
43+
description:
44+
"I call Minnesota home, but I love to travel. I frequent Las Vegas, San Francisco, and Denver often. I also love to travel internationally.",
2945
},
3046
{
47+
// Complete
3148
title: "Cooking",
3249
image: images.hobbyCooking,
50+
description:
51+
"It's a lot of fun to cook and expirament with new recipes. I enjoy cooking Italian and Asian cuisine, and have fun coming up with my own recipes.",
3352
},
3453
{
54+
// Complete
3555
title: "Homelabbing",
3656
image: images.hobbyHomelabbing,
57+
description:
58+
"At home I maintain a rack of servers and networking equipment. I have 3 rack servers, several switches, and a firewall, along with 144TB of storage. This is all networked together with 10Gbps fiber.",
3759
},
3860
{
61+
// Complete
3962
title: "Coffee",
4063
image: images.hobbyCoffee,
64+
description:
65+
"I enjoy brewing coffee with a french press and espresso machine, though some days I just use a Nespresso machine.",
4166
},
4267
{
68+
// Complete
4369
title: "Hockey",
4470
image: images.hobbyHockey,
71+
description:
72+
"An avid hockey fan, I follow the Minnesota Wild and local minor league hockey teams. I try to go to a few games a year.",
4573
},
4674
];
4775

src/data/navbarItems.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ const homeNavItems: NavItem[] = [
2525
{ id: "projects", label: "Projects", href: "#projects" },
2626
// { id: "certifications", label: "Certifications", href: "#certifications" },
2727
{ id: "hobbies", label: "Hobbies & Interests", href: "#hobbies" },
28-
{
29-
id: "photoGallery",
30-
label: "Photo Gallery",
31-
href: "https://gallery.maxwlang.com",
32-
newTab: true,
33-
},
28+
// {
29+
// id: "photoGallery",
30+
// label: "Photo Gallery",
31+
// href: "https://gallery.maxwlang.com",
32+
// newTab: true,
33+
// },
3434
];
3535

3636
const navPages: NavPage[] = [

src/images.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import cardOpenSWC from "../public/projects/card-openswc-fusion.png";
1919
import hobby3DPrinting from "../public/hobbies/3d-printing.png";
2020
import hobbyPhotography from "../public/hobbies/photography.jpg";
2121
import hobbyMusic from "../public/hobbies/music.png";
22-
// import hobbyVideoGames from "../public/hobbies/video-games.png";
22+
import hobbyVideoGames from "../public/hobbies/gaming.jpg";
2323
import hobbyTraveling from "../public/hobbies/traveling.png";
2424
import hobbyTraveling2 from "../public/hobbies/traveling2.png";
2525
import hobbyCooking from '../public/hobbies/cooking.jpg';
@@ -62,7 +62,7 @@ const images = {
6262
hobby3DPrinting,
6363
hobbyPhotography,
6464
hobbyMusic,
65-
hobbyVideoGames: photoCrab,
65+
hobbyVideoGames,
6666
hobbyTraveling,
6767
hobbyTraveling2,
6868
hobbyCooking,

0 commit comments

Comments
 (0)