Skip to content

Commit 6c4abd0

Browse files
committed
feat: Add "Dev Wrapped" year-in-review page to showcase user listening data
- Introduced a new `/wrapped` page that summarizes users' podcast listening behavior using data from localStorage. - Designed sections including top stats, favorite episodes, fun facts, and next year goals, all styled to align with Devtherapy's branding. - Implemented a user-friendly interface that enhances engagement and celebrates user achievements.
1 parent cb65079 commit 6c4abd0

2 files changed

Lines changed: 161 additions & 0 deletions

File tree

prompts/7. wrapped-prompt.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
Build a “Dev Wrapped” Year-in-Review Page Using Local Listening Data (No Backend)
2+
3+
> You are adding a personalized, data-driven experience to the Devtherapy website.
4+
> Build a **“Dev Wrapped” year-in-review page** that summarizes a user's podcast listening behavior, based entirely on data stored in their browser (`localStorage`).
5+
6+
---
7+
8+
### 🎯 Goal
9+
10+
Create a visually engaging, developer-themed page that reflects the user's year with Devtherapy — highlighting their listening habits, favorite topics, and fun personalized stats.
11+
12+
---
13+
14+
### 🧠 UX & Brand Guidelines
15+
16+
- Theme: **Dark mode**, mint green highlights, developer-console-inspired layout
17+
- Tone: Friendly, data-driven, a little playful
18+
- Use Devtherapy font, spacing, animations — make it feel like a reward screen in VS Code
19+
20+
---
21+
22+
### 🧩 Feature Sections on `/wrapped`
23+
24+
#### 1. **Hero Title**
25+
26+
> “Here’s what your year looked like in Devtherapy.”
27+
28+
- Mint green animated title
29+
- Subheadline: “You debugged. You listened. You thrived.”
30+
31+
---
32+
33+
#### 2. **Top Stats (from localStorage)**
34+
35+
Pull from locally stored listening data:
36+
37+
- Episodes completed: `X`
38+
- Total time listened (estimate): `Y hours`
39+
- Most-listened guest: `Z`
40+
- Most-used tag/topic (if available)
41+
42+
---
43+
44+
#### 3. **Favorite Episode**
45+
46+
- Based on time spent or user marking as favorite
47+
- Show title, thumbnail, CTA to replay it
48+
49+
---
50+
51+
#### 4. **Fun Facts**
52+
53+
Generate dynamic “achievements” like:
54+
55+
- 🧠 “You listened to 3 hours in a single night. Respect.”
56+
- 🎧 “You completed 5 episodes about GPU programming.”
57+
58+
---
59+
60+
#### 5. **"Next Year Goals"**
61+
62+
- CTA to add episodes to their Listen Later queue
63+
- Example:
64+
65+
> “Start your 2025 with Episode #9 — Devs, Burnout, and Balance.”
66+
67+
---
68+
69+
#### 6. **Share Button (Optional)**
70+
71+
- “Share your Dev Wrapped”
72+
- Copy summary stats to clipboard
73+
- Optional: generate image/card for social (future phase)
74+
75+
---
76+
77+
### 🔧 Technical Notes
78+
79+
- No backend or API
80+
- All user data pulled from `localStorage` used by the Listening Tracker feature
81+
- Use fallback messages if user has no data (e.g., “Start your Devtherapy journey now.”)
82+
83+
---
84+
85+
### 📦 Deliverables
86+
87+
- Create a `/wrapped` route
88+
- Visually styled summary page with sections outlined above
89+
- Pull data from `localStorage` used by the Listen Later and Listening Tracker system
90+
- Use animations and styling to make it feel like a celebration

prompts/8. events-prompt.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
Add a New “Events” Page to the Devtherapy Website
2+
3+
> You are adding a new page to the Devtherapy website to showcase **community events, guest sessions, livestreams, and developer meetups**.
4+
> This page will list each event with a photo, description, optional links, and light metadata (date, type, location).
5+
6+
---
7+
8+
### 🧠 Brand & UX Requirements
9+
10+
- Keep consistent with Devtherapy’s visual identity:
11+
12+
- Dark theme with mint green highlights (#3CE6B0)
13+
- Minimalist, developer-first aesthetic
14+
- Responsive layout for mobile/desktop
15+
16+
- Use cards, modals, or expandable blocks to keep it clean and digestible
17+
- Prioritize readability and visual clarity of photos and links
18+
19+
---
20+
21+
### 🧩 Page Structure: `/events`
22+
23+
#### 1. **Header Section**
24+
25+
- Title: “Devtherapy Events”
26+
- Subtitle: “Live sessions, dev meetups, guest collabs, and community moments.”
27+
28+
#### 2. **Event Cards Grid/List**
29+
30+
Each event includes:
31+
32+
- 📸 **Image or banner** (1:1 or 16:9 ratio)
33+
- 📝 **Title**
34+
- 🗓️ **Date** (with optional “Upcoming” or “Past” tag)
35+
- 🧭 **Location** (or “Online” tag if virtual)
36+
- 🧾 **Short description** (1–2 sentences)
37+
- 🔗 **Optional links** (e.g. RSVP, YouTube, Notion, Zoom, blog, external registration)
38+
39+
#### 3. **Detail View **
40+
41+
- Click event to open full view with:
42+
43+
- Full description
44+
- Additional links
45+
- Embedded media (if available, e.g. YouTube recap)
46+
- Downloadable PDF (e.g. speaker slides or agenda)
47+
48+
#### 4. **Filter or Toggle Option**
49+
50+
- Allow user to toggle between:
51+
52+
- “Upcoming Events”
53+
- “Past Events”
54+
55+
---
56+
57+
### ✨ Enhancements
58+
59+
- Add countdown timer for upcoming events
60+
- Highlight “Featured” event at top
61+
62+
---
63+
64+
### 📦 Deliverables
65+
66+
- New `/events` page route
67+
- New `/events/:eventId` page route
68+
- Responsive card layout for event entries
69+
- Optional modal or detail view per event
70+
- Use placeholders for images, links, and data — structure-focused
71+
- Fully consistent with Devtherapy visual identity and code-first tone

0 commit comments

Comments
 (0)