Mercurial
annotate mrjunejune/test/snapshots/blog.snapshot @ 256:30c2196d03d4
[site] Integrate Zenbu themes and components
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Tue, 04 Aug 2026 16:49:01 -0700 |
| parents | 1c0878eb17de |
| children | 60a876c4587a |
| rev | line source |
|---|---|
| 129 | 1 <!doctype html> |
| 2 <html lang="en"> | |
| 3 <head> | |
| 4 <meta charset="UTF-8"> | |
| 5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
6 <meta name="theme-color" content="#f7f3e8"> |
| 129 | 7 <link rel="icon" type="image/svg+xml" href="/public/epi_all_colors.svg"> |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
8 <link rel="manifest" href="/public/manifest.json"> |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
9 <link rel="apple-touch-icon" href="/public/epi_all_colors.svg"> |
| 129 | 10 |
| 11 <link rel="preload" href="/public/fonts/Roboto-Regular.ttf" as="font" crossorigin> | |
| 12 <link rel="preload" href="/public/fonts/Roboto-Thin.ttf"as="font" crossorigin> | |
| 13 | |
| 14 <!-- <link rel="preload" href="/public/fonts/atkinson-regular.woff" as="font" type="font/woff" crossorigin> --> | |
| 15 <!-- <link rel="preload" href="/public/fonts/atkinson-bold.woff" as="font" type="font/woff" crossorigin> --> | |
| 16 | |
| 17 <!-- <link rel="preload" href="/public/fonts/more-sugar.extras.otf" as="font" type="font/otf" crossorigin> --> | |
| 18 <link rel="preload" href="/public/fonts/more-sugar.regular.otf" as="font" type="font/otf" crossorigin> | |
| 19 <link rel="preload" href="/public/fonts/more-sugar.thin.otf" as="font" type="font/otf" crossorigin> | |
|
158
1c0878eb17de
[MrJuneJune] Readme file gets compiled in server side.
June Park <parkjune1995@gmail.com>
parents:
145
diff
changeset
|
20 <link rel="preload" href="/public/epi_all_colors.svg" as="image"> |
| 129 | 21 |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
22 <link rel="stylesheet" href="/public/design-system/styles/tokens.css" /> |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
23 <link rel="stylesheet" href="/public/design-system/styles/themes.css" /> |
| 129 | 24 <link rel="preload" href="/base.css" as="style" /> |
| 25 <link rel="stylesheet" href="/base.css" /> | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
26 <link rel="stylesheet" href="/public/design-system/styles/components.css" /> |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
27 <script |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
28 type="module" |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
29 src="/public/design-system/components/index.js" |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
30 ></script> |
| 129 | 31 |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
32 <script src="/public/pwa-register.js" defer></script> |
| 129 | 33 |
| 34 </head> | |
| 35 <body> | |
| 36 <style> | |
| 37 :root { | |
| 38 --header-background: var(--white); | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
39 --header-color: var(--black); |
| 129 | 40 --link-hover-accent: var(--awesome); |
| 41 } | |
| 42 | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
43 #themeControl { |
| 129 | 44 position: fixed; |
| 45 top: 20px; | |
| 46 left: 20px; | |
| 47 z-index: 1000; | |
| 48 transition: transform 0.2s ease; | |
| 49 } | |
| 50 | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
51 #themeControl:hover { |
| 129 | 52 transform: scale(1.05); |
| 53 } | |
| 54 | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
55 #themeToggle { |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
56 flex-direction: column; |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
57 min-width: 4.5rem; |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
58 padding: 0.35rem; |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
59 border-radius: 1.5rem; |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
60 } |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
61 |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
62 #themeName { |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
63 font-family: "More", sans-serif; |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
64 font-size: 0.65rem; |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
65 line-height: 1; |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
66 } |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
67 |
| 129 | 68 /* Professional header */ |
| 69 header { | |
| 70 margin: auto; | |
| 71 padding: 1.5em 1em; | |
| 72 font-family: "More", sans-serif; | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
73 box-shadow: var(--zen-shadow-sm); |
| 129 | 74 width: 720px; |
| 75 max-width: calc(100% - 2em); | |
| 76 text-align: center; | |
| 77 } | |
| 78 | |
| 79 header h1 { | |
| 80 margin: 0; | |
| 81 font-size: 1.8em; | |
| 82 font-weight: 700; | |
| 83 letter-spacing: -0.5px; | |
| 84 } | |
| 85 | |
| 86 header h1 a { | |
| 87 text-decoration: none; | |
| 88 color: var(--header-color); | |
| 89 } | |
| 90 | |
| 91 header h1 a::before { | |
| 92 display: none; | |
| 93 } | |
| 94 | |
| 95 /* Mobile responsiveness */ | |
| 96 @media (max-width: 720px) { | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
97 #themeControl { |
| 129 | 98 top: 15px; |
| 99 left: 15px; | |
| 100 } | |
| 101 | |
| 102 header { | |
| 103 padding: 1em; | |
| 104 } | |
| 105 | |
| 106 header h1 { | |
| 107 font-size: 1.5em; | |
| 108 } | |
| 109 } | |
| 110 | |
| 111 @media (max-width: 480px) { | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
112 #themeControl { |
| 129 | 113 top: 10px; |
| 114 left: 10px; | |
| 115 } | |
| 116 | |
| 117 #themeToggle img { | |
| 118 height: 40px; | |
| 119 width: 40px; | |
| 120 } | |
| 121 | |
| 122 header h1 { | |
| 123 font-size: 1.3em; | |
| 124 } | |
| 125 } | |
| 126 | |
| 127 #logo { | |
| 128 width: 300px; | |
| 129 } | |
| 130 | |
| 131 /* 1. DEFINE THE DEFAULTS (Light Mode) */ | |
| 132 :root { | |
| 133 --logo-invert: invert(0); | |
| 134 --epi-grayscale: grayscale(0) brightness(1); | |
| 135 } | |
| 136 | |
| 137 /* 2. MANUAL DARK OVERRIDE */ | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
138 html[data-zen-theme="ink"] { |
| 129 | 139 --logo-invert: invert(1); |
| 140 --epi-grayscale: grayscale(1); | |
| 141 } | |
| 142 | |
| 143 /* 3. MANUAL LIGHT OVERRIDE */ | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
144 html[data-zen-theme="paper"] { |
| 129 | 145 --logo-invert: invert(0); |
| 146 --epi-grayscale: brightness(2.9) grayscale(1); | |
| 147 } | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
148 |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
149 html[data-zen-theme="playful"] { |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
150 --logo-invert: invert(0); |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
151 --epi-grayscale: saturate(1.25); |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
152 } |
| 129 | 153 |
| 154 /* 4. SYSTEM PREFERENCE */ | |
| 155 @media (prefers-color-scheme: dark) { | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
156 :root:not([data-zen-theme]) { |
| 129 | 157 --logo-invert: invert(1); |
| 158 } | |
| 159 } | |
| 160 | |
| 161 /* 5. APPLY TO ELEMENTS */ | |
| 162 #logo { | |
| 163 -webkit-filter: var(--logo-invert); | |
| 164 filter: var(--logo-invert); | |
| 165 transition: filter 0.3s ease; | |
| 166 } | |
| 167 | |
| 168 .epi-logo { | |
| 169 -webkit-filter: var(--epi-grayscale); | |
| 170 filter: var(--epi-grayscale); | |
| 171 transition: filter 0.3s ease; | |
| 172 } | |
| 173 </style> | |
| 174 | |
|
256
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
175 <zen-button id="themeControl" variant="quiet"> |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
176 <button |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
177 id="themeToggle" |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
178 type="button" |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
179 aria-label="Change site theme" |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
180 > |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
181 <img |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
182 id="epiChan" |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
183 class="epi-logo" |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
184 alt="" |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
185 src="/public/epi_all_colors.svg" |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
186 height="50" |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
187 width="50" |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
188 > |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
189 <span id="themeName" aria-live="polite">Auto</span> |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
190 </button> |
|
30c2196d03d4
[site] Integrate Zenbu themes and components
MrJuneJune <me@mrjunejune.com>
parents:
158
diff
changeset
|
191 </zen-button> |
| 129 | 192 |
| 193 <header> | |
| 194 <h1><a href="/">MrJuneJune</a></h1> | |
| 195 </header> | |
| 196 <script src="/index.js"></script> | |
| 197 | |
| 198 <main> | |
| 199 <h1 class="title" style="margin-bottom: 20px;"> Blogs </h1> | |
| 200 <ul style="list-style: none;"> | |
| 201 <li style="margin-bottom: 20px;"> | |
| 202 <span> January 08 2026 </span> | |
| 203 <p><h4><a href="/blog/websocket-demystified">Websocket Demystified</a></h4></p> | |
| 204 </li> | |
| 205 <li style="margin-bottom: 20px;"> | |
| 206 <span> January 02 2026 </span> | |
| 207 <p><h4><a href="/blog/my-seobeo-journey">Creating Network Library in C</a></h4></p> | |
| 208 </li> | |
| 209 <li style="margin-bottom: 20px;"> | |
| 210 <span> Apr 12 2025 </span> | |
| 211 <p><h4><a href="/blog/wsl2-ssh">WSL2 Cloudtop Setup</a></h4></p> | |
| 212 </li> | |
| 213 <li style="margin-bottom: 20px;"> | |
| 214 <span> Dec 10 2024 </span> | |
| 215 <p><h4><a href="/blog/multithread-in-js">MultiThreading in JS</a></h4></p> | |
| 216 </li> | |
| 217 <li style="margin-bottom: 20px;"> | |
| 218 <span> Nov 23 2024 </span> | |
| 219 <p><h4><a href="/blog/thoughts-on-tdd">My thoughts on TDD</a></h4></p> | |
| 220 </li> | |
| 221 <li style="margin-bottom: 20px;"> | |
| 222 <span> Nov 21 2024 </span> | |
| 223 <p><h4><a href="/blog/optimizing-grass-rendering">Optimizing Random Placement with Colour Noise</a></h4></p> | |
| 224 </li> | |
| 225 <li style="margin-bottom: 20px;"> | |
| 226 <span> Nov 17 2024 </span> | |
| 227 <p><h4><a href="/blog/thoughts-on-ide">My thoughts on IDE</a></h4></p> | |
| 228 </li> | |
| 229 <li style="margin-bottom: 20px;"> | |
| 230 <span> Nov 16 2024 </span> | |
| 231 <p><h4><a href="/blog/optimizing-data-structures">Optimizing Data Structure for Performance</a></h4></p> | |
| 232 </li> | |
| 233 <li style="margin-bottom: 20px;"> | |
| 234 <span> Nov 13 2024 </span> | |
| 235 <p><h4><a href="/blog/wasm-bunny">WASM using c3</a></h4></p> | |
| 236 </li> | |
| 237 </ul> | |
| 238 </main> | |
| 239 <div style="display: flex; align-items: center; justify-content: center; margin: 30px 0px;"> | |
| 240 <small>© 2026 June Park</small> | |
| 241 </div> | |
| 242 | |
| 243 </body> | |
| 244 </html> |