summaryrefslogtreecommitdiffstats
path: root/.superpowers/brainstorm/26102-1776256459/content/article-types.html
blob: 71f8533a468bb883f616b07ad9030dd1eeda89c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<h2>Article Types & Sorting Strategy</h2>
<p class="subtitle">Five distinct content formats with intelligent ordering</p>

<div class="section">
  <h3>Article Types</h3>
  <div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem;">
    <div style="padding: 1.2rem; background: rgba(168, 85, 247, 0.08); border-left: 3px solid #a855f7; border-radius: 0.4rem;">
      <h4 style="color: #a855f7; margin-bottom: 0.5rem;">📝 Life</h4>
      <p style="font-size: 0.85rem; line-height: 1.6;">Generic blog posts. Personal thoughts, reflections, stories.</p>
      <p style="font-size: 0.8rem; color: #7a9bb8; margin-top: 0.5rem;"><code>type: life</code></p>
    </div>
    <div style="padding: 1.2rem; background: rgba(0, 255, 136, 0.08); border-left: 3px solid #00ff88; border-radius: 0.4rem;">
      <h4 style="color: #00ff88; margin-bottom: 0.5rem;">📸 Photo</h4>
      <p style="font-size: 0.85rem; line-height: 1.6;">Single photo or gallery. Visual-focused content with captions.</p>
      <p style="font-size: 0.8rem; color: #7a9bb8; margin-top: 0.5rem;"><code>type: photo</code></p>
    </div>
    <div style="padding: 1.2rem; background: rgba(168, 85, 247, 0.08); border-left: 3px solid #a855f7; border-radius: 0.4rem;">
      <h4 style="color: #a855f7; margin-bottom: 0.5rem;">🔗 Link</h4>
      <p style="font-size: 0.85rem; line-height: 1.6;">Interesting external URL. Commentary + link to external content.</p>
      <p style="font-size: 0.8rem; color: #7a9bb8; margin-top: 0.5rem;"><code>type: link</code></p>
    </div>
    <div style="padding: 1.2rem; background: rgba(0, 255, 136, 0.08); border-left: 3px solid #00ff88; border-radius: 0.4rem;">
      <h4 style="color: #00ff88; margin-bottom: 0.5rem;">💬 Quote</h4>
      <p style="font-size: 0.85rem; line-height: 1.6;">Pull quote with attribution. Emphasis on the quote itself.</p>
      <p style="font-size: 0.8rem; color: #7a9bb8; margin-top: 0.5rem;"><code>type: quote</code></p>
    </div>
    <div style="padding: 1.2rem; background: rgba(168, 85, 247, 0.08); border-left: 3px solid #a855f7; border-radius: 0.4rem; grid-column: 1 / -1;">
      <h4 style="color: #a855f7; margin-bottom: 0.5rem;">💻 Tech</h4>
      <p style="font-size: 0.85rem; line-height: 1.6;">Code snippets & technical content. Syntax-highlighted code, technical explanations.</p>
      <p style="font-size: 0.8rem; color: #7a9bb8; margin-top: 0.5rem;"><code>type: tech</code></p>
    </div>
  </div>
</div>

<div class="section">
  <h3>Articles List Sorting</h3>
  <div class="mockup" style="padding: 1.5rem;">
    <div class="mockup-header">Articles Page (/articles/)</div>
    <div class="mockup-body" style="padding: 1.5rem; background: rgba(6, 11, 16, 0.5); border-radius: 0.4rem;">
      <div style="font-family: 'IBM Plex Sans', sans-serif; line-height: 2;">
        <div style="padding: 0.8rem; background: rgba(168, 85, 247, 0.12); border: 1px solid rgba(168, 85, 247, 0.3); border-radius: 0.3rem; margin-bottom: 1rem;">
          <div style="font-size: 0.8rem; color: #00ff88; font-weight: bold; margin-bottom: 0.4rem;">📌 PINNED</div>
          <div style="font-weight: bold; color: #a855f7;">Interesting Article Title</div>
          <div style="font-size: 0.85rem; color: #7a9bb8;">Apr 14, 2026 • Life</div>
        </div>
        <div style="padding: 0.8rem; border-bottom: 1px solid rgba(168, 85, 247, 0.15); margin-bottom: 0.8rem;">
          <div style="font-weight: bold; color: #c4d6e8;">Another Great Post</div>
          <div style="font-size: 0.85rem; color: #7a9bb8;">Apr 12, 2026 • Tech</div>
        </div>
        <div style="padding: 0.8rem; border-bottom: 1px solid rgba(168, 85, 247, 0.15); margin-bottom: 0.8rem;">
          <div style="font-weight: bold; color: #c4d6e8;">Photo Moments</div>
          <div style="font-size: 0.85rem; color: #7a9bb8;">Apr 10, 2026 • Photo</div>
        </div>
        <div style="padding: 0.8rem; border-bottom: 1px solid rgba(168, 85, 247, 0.15); margin-bottom: 0.8rem;">
          <div style="font-weight: bold; color: #c4d6e8;">Inspiring Quote</div>
          <div style="font-size: 0.85rem; color: #7a9bb8;">Apr 8, 2026 • Quote</div>
        </div>
        <div style="padding: 0.8rem;">
          <div style="font-weight: bold; color: #c4d6e8;">Link to Cool Thing</div>
          <div style="font-size: 0.85rem; color: #7a9bb8;">Apr 5, 2026 • Link</div>
        </div>
      </div>
    </div>
  </div>
  <div style="margin-top: 1.5rem; padding: 1rem; background: rgba(0, 255, 136, 0.05); border-left: 3px solid #00ff88; border-radius: 0.3rem;">
    <p style="font-size: 0.85rem;"><strong>Order:</strong> Pinned post (if exists) at top → then reverse chronological (newest first)</p>
    <p style="font-size: 0.85rem; margin-top: 0.5rem;"><strong>Implementation:</strong> Front-matter field <code>pinned: true</code> in post metadata</p>
  </div>
</div>

<div class="section">
  <h3>Single Article View</h3>
  <p style="font-size: 0.85rem; margin-bottom: 1rem;">Each article type gets a dedicated template with appropriate styling and metadata display.</p>
  <div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;">
    <div style="padding: 1rem; background: rgba(168, 85, 247, 0.08); border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 0.3rem;">
      <h4 style="color: #a855f7; font-size: 0.9rem; margin-bottom: 0.5rem;">Life / Tech / Photo</h4>
      <p style="font-size: 0.8rem; line-height: 1.6;">Standard article layout: title, date, content, tags</p>
    </div>
    <div style="padding: 1rem; background: rgba(0, 255, 136, 0.08); border: 1px solid rgba(0, 255, 136, 0.2); border-radius: 0.3rem;">
      <h4 style="color: #00ff88; font-size: 0.9rem; margin-bottom: 0.5rem;">Quote</h4>
      <p style="font-size: 0.8rem; line-height: 1.6;">Large blockquote styling, author attribution, minimal text</p>
    </div>
    <div style="padding: 1rem; background: rgba(168, 85, 247, 0.08); border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 0.3rem; grid-column: 1 / -1;">
      <h4 style="color: #a855f7; font-size: 0.9rem; margin-bottom: 0.5rem;">Link</h4>
      <p style="font-size: 0.8rem; line-height: 1.6;">Preview/commentary + prominent link button, embed preview (if possible)</p>
    </div>
  </div>
</div>

<div class="section" style="border-top: 2px solid rgba(168, 85, 247, 0.2); padding-top: 1.5rem;">
  <h3>Configuration in hugo.toml</h3>
  <p style="font-size: 0.85rem; margin-bottom: 1rem;">All article types defined in config, making it easy to add new types or customize existing ones later.</p>
</div>