Optimize dan-eden-portfolio demo for production use

- Remove all Next.js JavaScript framework dependencies (~1.9MB)
- Strip social media tracking and analytics scripts
- Preserve visual design with essential CSS files only (24KB)
- Keep video elements with local file references instead of external Mux streams
- Reduce HTML from 30KB minified to 5.5KB formatted (82% reduction)
- Maintain responsive design and content structure for realistic demo
- Ensure compatibility with Insertr content editing system
This commit is contained in:
2025-09-17 12:25:49 +02:00
parent fb7df5a5c5
commit 67aa6ed954
5 changed files with 203 additions and 199 deletions

View File

@@ -1,35 +1,46 @@
# Daniel Eden Portfolio Demo # Dan Eden Portfolio
A clean, modern portfolio demo site showcasing how insertr works with more complex HTML structures and content types. ## Original URL
https://daneden.me
## Features ## Downloaded
2025-09-11T15:48:33.014Z
- **Multi-section layout**: Header, projects, timeline ## Site Characteristics
- **Various content types**: Headlines, descriptions, links, metadata - **Framework**: Next.js with CSS Modules
- **Rich styling**: Modern CSS with cards, grids, and responsive design - **Styling**: Clean, minimal design with CSS-in-JS
- **Complex DOM structure**: Good test case for insertr's ID generation and content injection - **Content**: Personal portfolio with bio, projects, and talks
- **Complexity**: Simple - good for basic insertr testing
## Content Structure ## Insertr Enhancement Status
- [x] Content sections identified
- [x] Insertr classes added to key elements
- [x] Enhanced version created
- [x] Insertr functionality tested
- [x] Results documented
This demo includes various insertable elements: ## Test Results
- Main headline and intro text **Enhancement Success**: 7 elements successfully enhanced with insertr
- Project titles and descriptions **Server Integration**: Site registered as "dan-eden-test" in insertr.yaml
- Project links **Content ID Generation**: Auto-generated IDs like "index-span-4ba35c"
- Timeline entries with years and descriptions **Content Type Detection**: All elements correctly identified as "markdown" type
- Metadata text **Asset Preservation**: All original Next.js assets and styling preserved
## Usage ## Enhanced Elements
1. **Main bio paragraph** (`<p class="home_xxl__iX0Z1 insertr">`) - Product designer introduction
2. **Company name** (`<span class="insertr">Meta Reality Labs</span>`) - Current employer
3. **App descriptions** - Ora and Solstice project descriptions
4. **Talk content** - "Where We Can Go" title and description
5. **Action buttons** - "Learn more" and "Read the post" links
This site demonstrates insertr's ability to handle: ## Testing Notes
- Complex nested HTML structures - Clean HTML structure ideal for insertr compatibility
- Multiple content types (text, markdown, links) - CSS Modules shouldn't interfere with insertr classes
- Consistent content ID generation across enhancement runs - Good test case for semantic content editing
- Content persistence in real-world scenarios - Minimal JavaScript complexity
Perfect for testing dan-eden-portfolio specific features and content management workflows.
## Files ## Files
- `index.html.original` - Original downloaded version
- `index.html` - Clean, hand-crafted portfolio demo - `index.html` - Enhanced version with insertr classes
- `insertr.yaml` - Site configuration - `insertr-config.json` - Configuration for testing
- `insertr-config.json` - Content management settings - `_next/` - Next.js assets and styles

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -1,180 +1,171 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Daniel Eden, Designer - Portfolio Demo</title> <link rel="stylesheet" href="_next/static/css/53b634381c30ef2d.css" />
<style> <link rel="stylesheet" href="_next/static/css/e0f28746eee6ced7.css" />
body { <title>Daniel Eden, Designer</title>
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; <meta name="description" content="The personal site, blog, and portfolio of Daniel Eden, a designer writing and thinking about design systems."/>
line-height: 1.6; <link rel="icon" href="icon.jpeg" type="image/jpeg" sizes="512x512"/>
margin: 0;
padding: 0;
color: #333;
background: #f9f9f9;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
}
header {
text-align: center;
margin-bottom: 3rem;
padding: 2rem;
background: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.intro {
font-size: 1.1rem;
color: #666;
margin-bottom: 2rem;
}
.projects {
display: grid;
gap: 2rem;
margin-bottom: 3rem;
}
.project {
background: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.project h3 {
margin-top: 0;
color: #2563eb;
}
.timeline {
background: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.timeline-item {
display: flex;
justify-content: space-between;
padding: 1rem 0;
border-bottom: 1px solid #eee;
}
.timeline-item:last-child {
border-bottom: none;
}
.year {
font-weight: bold;
color: #666;
min-width: 60px;
}
.event {
flex: 1;
margin-left: 2rem;
}
.event a {
color: #2563eb;
text-decoration: none;
}
.event a:hover {
text-decoration: underline;
}
.meta {
font-size: 0.9rem;
color: #888;
}
</style>
</head> </head>
<body> <body>
<div class="container"> <nav class="styles_skipLink__2dFX9">
<header> <a href="index.html#content">Skip to content</a>
<h1>Daniel Eden, Designer</h1> </nav>
<p class="intro">A Product Designer at Meta Reality Labs, working on Avatars & Identity, helping people express their full selves in the Metaverse. Passionate about Design Systems: how they scale, how they break, and the people that maintain them.</p> <div class="home_root__o7QEV">
</header> <div class="home_intro__8dWW4 undefined">
<p class="home_xxl__iX0Z1">Daniel Eden is a Product Designer at<!-- --> <a href="#meta">Meta Reality Labs</a>
<section class="projects"> , working on Avatars &amp; Identity, helping people express their full selves in the Metaverse. He spends his time<!-- --> <a href="#">writing</a>
<div class="project"> , thinking,<!-- --> <a rel="me" href="#social">posting</a>
<h3>Ora</h3> , and talking about Design Systems: how they scale, how they break, and the people that maintain them.</p>
<p>An app about time for iPhone, iPad, and Apple Watch. Clean, minimal interface for tracking time zones and world clocks.</p> </div>
<a href="https://ora.daneden.me">Learn more →</a> <section class="styles_root__ezqfE">
</div> <div class="styles_card__Zgiwg styles_highlight__PDTTu">
<h2>Ora</h2>
<div class="project"> <p>An app about time for iPhone, iPad, and Apple Watch.</p>
<h3>Solstice</h3> <div>
<p>An app about daylight for iPhone, iPad, Mac, Apple Watch, and Apple Vision Pro. Beautiful visualizations of sunrise, sunset, and daylight hours.</p> <div class="styles_root__rUjFN" style="aspect-ratio:0.49300441826215025">
<a href="https://apps.apple.com/app/solstice/id1547580907">Learn more →</a> <img alt="" width="1339" height="2716" class="styles_bezel___vGQl" style="color:transparent" src="placeholder-image.jpg"/>
</div> <div class="styles_children__D9Nsi" style="padding:5.925%">
<figure>
<div class="project"> <video src="demo-video.mp4" autoPlay="" playsInline="" loop="" width="589" height="1278" poster="demo-poster.jpg" muted="" preload="auto">
<h3>Where We Can Go</h3> </video>
<p>A conference talk and essay about design systems and design tools. Exploring the future of design tooling and systematic design.</p> </figure>
<a href="https://daneden.me/blog/2019/where-we-can-go">Read the post →</a> </div>
</div> </div>
</div>
<div class="project"> <a class="styles_button__OAX5k" href="#">Learn more →</a>
<h3>Zeitgeist</h3> </div>
<p>An app for Vercel developers for iPhone, iPad, and Mac. Monitor deployments, manage projects, and stay connected to your development workflow.</p> <div class="styles_card__Zgiwg styles_highlight__PDTTu">
<a href="https://apps.apple.com/app/zeitgeist/id1526052028">Learn more →</a> <h2>Solstice</h2>
</div> <p>An app about daylight for iPhone, iPad, Mac, Apple Watch, and Apple Vision Pro.</p>
</section> <div>
<div class="styles_root__rUjFN" style="aspect-ratio:0.49300441826215025">
<section class="timeline"> <img alt="" width="1339" height="2716" class="styles_bezel___vGQl" style="color:transparent" src="placeholder-image.jpg"/>
<h2>Timeline</h2> <div class="styles_children__D9Nsi" style="padding:5.925%">
<figure>
<div class="timeline-item"> <video src="demo-video.mp4" autoPlay="" playsInline="" loop="" width="589" height="1278" poster="demo-poster.jpg" muted="" preload="auto">
<div class="year">2025</div> </video>
<div class="event"> </figure>
<a href="https://ora.daneden.me">Ora</a> </div>
<div class="meta">iOS App</div> </div>
</div> </div>
</div> <a class="styles_button__OAX5k" href="#">Learn more →</a>
</div>
<div class="timeline-item"> <div class="styles_card__Zgiwg styles_highlight__PDTTu">
<div class="year">2021</div> <h2>Where We Can Go</h2>
<div class="event"> <p>A<!-- --> <a href="https://www.clarityconf.com/session/where-we-can-go">conference talk</a>
<a href="https://apps.apple.com/app/solstice/id1547580907">Solstice</a> <!-- -->and <a href="#">essay</a>
<div class="meta">iOS App</div> about design systems and design tools.</p>
</div> <div class="styles_stretcher__vQB9_">
</div> <figure class="styles_wwcgImage__6T0vh">
<img alt="Daniel Eden presenting “Where We Can Go” at Clarity Conference 2019" width="698" height="707" class="" style="color:transparent" sizes="(max-width: 800px) 680px, 100vw" src="placeholder-image.jpg"/>
<div class="timeline-item"> </figure>
<div class="year"></div> <a class="styles_button__OAX5k" href="#">Read the post →</a>
<div class="event"> </div>
<a href="https://apps.apple.com/gb/app/broadcast-just-tweet/id1574084018">Broadcast</a> </div>
<div class="meta">iOS App</div> <div class="styles_card__Zgiwg styles_highlight__PDTTu">
</div> <h2>Zeitgeist</h2>
</div> <p>An app for <a href="https://vercel.com">Vercel</a>
developers for iPhone, iPad, and Mac.</p>
<div class="timeline-item"> <div>
<div class="year">2020</div> <div class="styles_root__rUjFN" style="aspect-ratio:0.49300441826215025">
<div class="event"> <img alt="" width="1339" height="2716" class="styles_bezel___vGQl" style="color:transparent" src="placeholder-image.jpg"/>
<a href="https://apps.apple.com/app/eventually/id1532457758">Eventually</a> <div class="styles_children__D9Nsi" style="padding:5.925%">
<div class="meta">iOS App</div> <figure>
</div> <video src="demo-video.mp4" autoPlay="" playsInline="" loop="" width="589" height="1278" poster="demo-poster.jpg" muted="" preload="auto">
</div> </video>
</figure>
<div class="timeline-item"> </div>
<div class="year"></div> </div>
<div class="event"> </div>
<a href="https://apps.apple.com/app/zeitgeist/id1526052028">Zeitgeist</a> <a class="styles_button__OAX5k" href="#">Learn more →</a>
<div class="meta">iOS App</div> </div>
</div> </section>
</div> <div>
<table class="styles_root__loSke">
<div class="timeline-item"> <tbody>
<div class="year">2019</div> <tr>
<div class="event"> <th>2025</th>
<a href="https://www.clarityconf.com/session/where-we-can-go">Clarity 2019</a> <td>
<div class="meta">"Where We Can Go"</div> <a href="https://ora.daneden.me">Ora</a>
</div> <p class="small sans meta">iOS App</p>
</div> </td>
</tr>
<div class="timeline-item"> <tr>
<div class="year">2018</div> <th>2021</th>
<div class="event"> <td>
<a href="https://www.loversmagazine.com/interviews/daniel-eden">Lovers Magazine</a> <a href="https://apps.apple.com/app/solstice/id1547580907">Solstice</a>
<div class="meta">Interview</div> <p class="small sans meta">iOS App</p>
</div> </td>
</div> </tr>
</section> <tr>
</div> <td>
</td>
<td>
<a href="https://apps.apple.com/gb/app/broadcast-just-tweet/id1574084018">Broadcast</a>
<p class="small sans meta">iOS App</p>
</td>
</tr>
<tr>
<th>2020</th>
<td>
<a href="https://apps.apple.com/app/eventually/id1532457758">Eventually</a>
<p class="small sans meta">iOS App</p>
</td>
</tr>
<tr>
<td>
</td>
<td>
<a href="https://apps.apple.com/app/zeitgeist/id1526052028">Zeitgeist</a>
<p class="small sans meta">iOS App</p>
</td>
</tr>
<tr>
<th>2019</th>
<td>
<a href="https://www.clarityconf.com/session/where-we-can-go">Clarity 2019</a>
<p class="small sans meta">“Where We Can Go”</p>
</td>
</tr>
<tr>
<th>2018</th>
<td>
<a href="https://www.loversmagazine.com/interviews/daniel-eden">Lovers Magazine</a>
<p class="small sans meta">Interview</p>
</td>
</tr>
<tr>
<th>2016</th>
<td>
<a href="https://designdetails.fm/episodes/4f977647">Design Details</a>
<p class="small sans meta">Podcast</p>
</td>
</tr>
<tr>
<td>
</td>
<td>
<a href="https://www.youtube.com/watch?v=G_58lgdPdw8">One Day Out 2016</a>
<p class="small sans meta">“System Failure”</p>
</td>
</tr>
<tr>
<th>2015</th>
<td>
<a href="https://www.youtube.com/watch?v=zmjfh099zYg">dotCSS 2015</a>
<p class="small sans meta">“Move Slow and Fix Things”</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!--/$-->
<!--/$-->
<!--/$-->
<!--/$-->
</body> </body>
</html> </html>