pulec.foo git

zola-theme-plc-example

Example for Zola plc theme

static/diagrams/architecture.svg

Mode
-rw-r--r--
Size
2066 bytes
Reference
static/diagrams/architecture.svg@8ebfcee8b464 (last change)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="250" viewBox="0 0 400 250">
  <defs>
    <marker id="arrow" markerWidth="10" markerHeight="7" refX="10" refY="3.5" orient="auto">
      <polygon points="0 0, 10 3.5, 0 7" fill="rgba(255,255,255,0.75)"/>
    </marker>
  </defs>
  <rect width="400" height="250" fill="#39424E"/>
  <rect x="10" y="10" width="120" height="50" rx="5" fill="none" stroke="rgba(255,255,255,0.75)" stroke-width="2"/>
  <text x="70" y="40" text-anchor="middle" fill="rgba(255,255,255,0.75)" font-family="sans-serif" font-size="12">Browser</text>
  <rect x="270" y="10" width="120" height="50" rx="5" fill="none" stroke="rgba(255,255,255,0.75)" stroke-width="2"/>
  <text x="330" y="40" text-anchor="middle" fill="rgba(255,255,255,0.75)" font-family="sans-serif" font-size="12">Static Files</text>
  <line x1="270" y1="35" x2="130" y2="35" stroke="rgba(255,255,255,0.75)" stroke-width="2" marker-end="url(#arrow)"/>
  <rect x="140" y="100" width="120" height="50" rx="5" fill="none" stroke="rgba(255,255,255,0.75)" stroke-width="2"/>
  <text x="200" y="130" text-anchor="middle" fill="rgba(255,255,255,0.75)" font-family="sans-serif" font-size="12">Zola (build)</text>
  <rect x="10" y="190" width="120" height="50" rx="5" fill="none" stroke="rgba(255,255,255,0.75)" stroke-width="2"/>
  <text x="70" y="220" text-anchor="middle" fill="rgba(255,255,255,0.75)" font-family="sans-serif" font-size="12">content/</text>
  <rect x="270" y="190" width="120" height="50" rx="5" fill="none" stroke="rgba(255,255,255,0.75)" stroke-width="2"/>
  <text x="330" y="220" text-anchor="middle" fill="rgba(255,255,255,0.75)" font-family="sans-serif" font-size="12">templates/</text>
  <line x1="70" y1="190" x2="170" y2="150" stroke="rgba(255,255,255,0.75)" stroke-width="2" marker-end="url(#arrow)"/>
  <line x1="330" y1="190" x2="230" y2="150" stroke="rgba(255,255,255,0.75)" stroke-width="2" marker-end="url(#arrow)"/>
  <line x1="200" y1="100" x2="330" y2="60" stroke="rgba(255,255,255,0.75)" stroke-width="2" marker-end="url(#arrow)"/>
</svg>