Files
felixfoertsch.de/templates/startup-pitch.html

451 lines
9.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<title>{{ title }} — {{ config.site.name }}</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css">
<style>
html { background: #ffffff; }
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--blue: #0ea5e9;
--purple: #8b5cf6;
--bg: #ffffff;
--text: #0f172a;
--muted: #64748b;
--border: #e2e8f0;
}
body {
background: var(--bg);
color: var(--text);
font-family: "Space Grotesk", system-ui, sans-serif;
font-size: 24px;
line-height: 1.6;
min-height: 100vh;
}
/* Top nav bar */
.topbar {
position: sticky;
top: 0;
z-index: 100;
background: rgba(255,255,255,0.9);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
padding: 0 32px;
height: 56px;
display: flex;
align-items: center;
justify-content: space-between;
}
.topbar-logo {
font-weight: 700;
font-size: 21px;
background: linear-gradient(90deg, var(--blue), var(--purple));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: -0.02em;
}
.topbar-meta {
font-size: 18px;
color: var(--muted);
font-weight: 500;
}
/* Hero */
.hero {
padding: 80px 32px 64px;
max-width: 960px;
margin: 0 auto;
}
.hero-badge {
display: inline-block;
font-size: 16px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--blue);
background: rgba(14,165,233,0.08);
border: 1px solid rgba(14,165,233,0.2);
padding: 4px 12px;
border-radius: 999px;
margin-bottom: 24px;
}
.hero-title {
font-size: clamp(36px, 6vw, 64px);
font-weight: 700;
letter-spacing: -0.04em;
line-height: 1.05;
margin-bottom: 24px;
background: linear-gradient(135deg, var(--text) 0%, #334155 60%, var(--purple) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-meta {
display: flex;
gap: 24px;
align-items: center;
flex-wrap: wrap;
}
.hero-meta-item {
display: flex;
align-items: center;
gap: 6px;
font-size: 20px;
color: var(--muted);
font-weight: 500;
}
.hero-meta-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: linear-gradient(135deg, var(--blue), var(--purple));
}
/* Gradient divider */
.gradient-bar {
height: 3px;
background: linear-gradient(90deg, var(--blue), var(--purple));
max-width: 960px;
margin: 0 auto 0;
}
/* Metrics strip */
.metrics-strip {
background: #f8fafc;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
padding: 24px 32px;
}
.metrics-inner {
max-width: 960px;
margin: 0 auto;
display: flex;
gap: 48px;
flex-wrap: wrap;
}
.metric {
display: flex;
flex-direction: column;
gap: 2px;
}
.metric-value {
font-size: 42px;
font-weight: 700;
letter-spacing: -0.03em;
background: linear-gradient(90deg, var(--blue), var(--purple));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.metric-label {
font-size: 16px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--muted);
}
/* Main content */
.main {
max-width: 960px;
margin: 0 auto;
padding: 48px 32px 80px;
}
/* Section dividers */
.content-area h2 {
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.14em;
color: var(--blue);
border-top: 1px solid var(--border);
padding-top: 32px;
margin-top: 48px;
margin-bottom: 16px;
}
.content-area h3 {
font-size: 33px;
font-weight: 700;
letter-spacing: -0.03em;
color: var(--text);
margin-top: 28px;
margin-bottom: 10px;
}
.content-area h4, .content-area h5, .content-area h6 {
font-size: 22px;
font-weight: 600;
color: var(--text);
margin-top: 20px;
margin-bottom: 8px;
}
.content-area h1 {
font-size: 48px;
font-weight: 700;
letter-spacing: -0.03em;
margin-top: 40px;
margin-bottom: 16px;
}
.content-area p {
font-size: 24px;
color: #334155;
margin-bottom: 16px;
line-height: 1.7;
}
.content-area a {
color: var(--blue);
text-decoration: none;
font-weight: 500;
}
.content-area a:hover {
text-decoration: underline;
}
.content-area code {
font-family: "Space Mono", monospace;
font-size: 20px;
background: #f1f5f9;
color: var(--purple);
padding: 2px 6px;
border-radius: 4px;
}
.content-area pre {
background: #0f172a;
color: #e2e8f0;
padding: 20px 24px;
border-radius: 12px;
margin: 20px 0;
overflow-x: auto;
}
.content-area pre code {
background: none;
color: inherit;
padding: 0;
font-size: 21px;
}
.content-area blockquote {
border-left: 3px solid;
border-image: linear-gradient(180deg, var(--blue), var(--purple)) 1;
padding: 16px 20px;
margin: 20px 0;
background: linear-gradient(90deg, rgba(14,165,233,0.04), transparent);
border-radius: 0 8px 8px 0;
}
.content-area blockquote p {
font-size: 27px;
font-weight: 500;
color: var(--text);
font-style: italic;
margin: 0;
}
.content-area ul {
margin: 12px 0 20px 0;
padding: 0;
list-style: none;
}
.content-area ul li {
padding-left: 20px;
margin-bottom: 8px;
position: relative;
color: #334155;
}
.content-area ul li::before {
content: "";
position: absolute;
left: 0;
top: 10px;
width: 8px;
height: 2px;
background: linear-gradient(90deg, var(--blue), var(--purple));
}
.content-area ol {
margin: 12px 0 20px 0;
padding-left: 24px;
color: #334155;
}
.content-area li {
margin-bottom: 6px;
}
.content-area table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
font-size: 21px;
}
.content-area th {
background: #f8fafc;
padding: 10px 16px;
text-align: left;
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--muted);
border-bottom: 2px solid var(--border);
}
.content-area td {
padding: 10px 16px;
border-bottom: 1px solid var(--border);
}
.content-area img {
max-width: 100%;
border-radius: 12px;
margin: 16px 0;
}
.content-area hr {
border: none;
border-top: 1px solid var(--border);
margin: 32px 0;
}
/* Tags */
.tags {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-top: 8px;
}
.tag {
font-size: 16px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--purple);
background: rgba(139,92,246,0.08);
border: 1px solid rgba(139,92,246,0.2);
padding: 3px 10px;
border-radius: 999px;
}
/* Footer */
.footer {
border-top: 1px solid var(--border);
padding: 24px 32px;
max-width: 960px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 18px;
color: var(--muted);
}
</style>
</head>
<body>
<a href="/{{ preview_query }}" style="position:fixed;top:calc(1rem + env(safe-area-inset-top, 0px));left:calc(1rem + env(safe-area-inset-left, 0px));z-index:9999;font-family:system-ui,-apple-system,sans-serif;font-size: 1.08rem;padding:0.5rem 0.9rem;background:rgba(255,255,255,0.95);color:#000;text-decoration:none;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,0.15);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(0,0,0,0.1);transition:transform 0.2s">&larr; back</a>
<nav class="topbar">
<div class="topbar-logo">{{ config.site.name }}</div>
<div class="topbar-meta">{{ published_date }} · {{ reading_time }}</div>
</nav>
<div class="hero">
<div class="hero-badge">New Post</div>
<h1 class="hero-title">{{ title }}</h1>
<div class="hero-meta">
<div class="hero-meta-item">
<div class="hero-meta-dot"></div>
<span>{{ config.site.author }}</span>
</div>
<div class="hero-meta-item">
<div class="hero-meta-dot"></div>
<span>{{ published_date }}</span>
</div>
<div class="hero-meta-item">
<div class="hero-meta-dot"></div>
<span>{{ reading_time }}</span>
</div>
{% if updated_date %}
<div class="hero-meta-item">
<div class="hero-meta-dot"></div>
<span>Updated {{ updated_date }}</span>
</div>
{% endif %}
</div>
{% if taxonomy.tags %}
<div class="tags" style="margin-top: 20px;">
{% for tag in taxonomy.tags %}
<span class="tag">{{ tag }}</span>
{% endfor %}
</div>
{% endif %}
</div>
<div class="gradient-bar"></div>
<div class="metrics-strip">
<div class="metrics-inner">
<div class="metric">
<div class="metric-value">{{ reading_time | replace(" min read", "") | replace(" min", "") }}m</div>
<div class="metric-label">Read Time</div>
</div>
<div class="metric">
<div class="metric-value">100%</div>
<div class="metric-label">Signal / Noise</div>
</div>
<div class="metric">
<div class="metric-value">{{ published_date | replace("-", ".") }}</div>
<div class="metric-label">Published</div>
</div>
</div>
</div>
<div class="main">
<div class="content-area">
{{ content | safe }}
</div>
</div>
<div class="footer">
<span>&copy; {{ config.site.author }} — {{ config.site.name }}</span>
<span>{{ published_date }}</span>
</div>
</body>
</html>