TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/paaatrrrick/personalwebsite/llms.txt
Use this file to discover all available pages before exploring further.
Work component renders a single work experience entry on the portfolio. It displays a company logo, a role title, an optional description of responsibilities, and a date range with location.
Props
| Prop | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Job title or role name, displayed in bold. |
text | string | No | Short description of responsibilities at the role. Some entries omit this field. |
image | string | No | URL of the company logo, typically hosted on Cloudinary. Some entries omit this field. |
timeLine | string | Yes | Date range and location string, e.g. "May - August 2023. Seattle, WA". |
Usage
The following example renders a GoDaddy internship entry:Entries without image or text
Newer entries — such as a stealth startup founder role — may omit bothtext and image. The component renders gracefully without them:
When
image is omitted, no img element is rendered. When text is omitted, the description paragraph is empty but the layout is otherwise unchanged.How Work is rendered in Home.js
Home.js maintains a currentWorkExperience state variable. It starts as the first 2 entries of the full array and maps over all items in the state to render one Work per entry:
CSS classes
The component uses the following CSS class names:| Class | Element | Purpose |
|---|---|---|
internshipCard | Outer wrapper div | Card layout, border, and spacing. |
bold2 | p wrapping title and text | Sets font size for the content block. |
bold | span wrapping title | Makes the role name bold. |
internshipDate | p wrapping timeLine | Right-aligns or styles the date string. |