content: Dubai is only where the photo was taken
1 file changed, +11 -3
+11-3src/data/profile.ts
| @@ -12,14 +12,15 @@ export const intro = [ | ||
| 12 | 12 | ]; |
| 13 | 13 | |
| 14 | 14 | // Places on the locations globe. `short` labels the pin; `name` is used by the console. |
| 15 | -// Records below reference these ids in `places`. | |
| 15 | +// Records below reference these ids in `places`. `photoOnly` marks a pin that is | |
| 16 | +// only there because the portfolio photo was taken there, not a place Lane lived or worked. | |
| 16 | 17 | export const places = [ |
| 17 | 18 | { id: 'knoxville', name: 'Knoxville, TN', short: 'Knoxville', lat: 35.9606, lon: -83.9207 }, |
| 18 | 19 | { id: 'austin', name: 'Austin, TX', short: 'Austin', lat: 30.2672, lon: -97.7431 }, |
| 19 | 20 | { id: 'reno', name: 'Reno, NV', short: 'Reno', lat: 39.5296, lon: -119.8138 }, |
| 20 | 21 | { id: 'grassvalley', name: 'Grass Valley, CA', short: 'Grass Valley', lat: 39.2191, lon: -121.0611 }, |
| 21 | 22 | { id: 'petaluma', name: 'Petaluma, CA', short: 'Petaluma', lat: 38.2324, lon: -122.6367 }, |
| 22 | - { id: 'dubai', name: 'Dubai, UAE', short: 'Dubai', lat: 25.1972, lon: 55.2744 }, | |
| 23 | + { id: 'dubai', name: 'Dubai, UAE', short: 'Dubai', lat: 25.1972, lon: 55.2744, photoOnly: true }, | |
| 23 | 24 | ] as const; |
| 24 | 25 | export type PlaceId = (typeof places)[number]['id']; |
| 25 | 26 | |
| @@ -441,6 +442,13 @@ export function profileText(): string { | ||
| 441 | 442 | lines.push('## Education'); |
| 442 | 443 | lines.push(`- ${orgs.utk.title}, ${orgs.utk.org}, graduated ${orgs.utk.end ? orgs.utk.end[0] : orgs.utk.dates}.`); |
| 443 | 444 | lines.push(''); |
| 444 | - lines.push(`## Places\n${places.map((p) => p.name).join('; ')}`); | |
| 445 | + const lived = places.filter((p) => !('photoOnly' in p)); | |
| 446 | + const photo = places.filter((p) => 'photoOnly' in p); | |
| 447 | + lines.push(`## Places\nLived and worked: ${lived.map((p) => p.name).join('; ')}`); | |
| 448 | + for (const p of photo) { | |
| 449 | + lines.push( | |
| 450 | + `${p.name} is on the globe only because the portfolio photo (downtown Dubai) was taken there. Lane has never lived or worked in ${p.short}, and no work was done from there.`, | |
| 451 | + ); | |
| 452 | + } | |
| 445 | 453 | return lines.join('\n') + '\n'; |
| 446 | 454 | } |