Mercurial
comparison mrjunejune/test/snapshots/tools_markdown_to_html_index.html.snapshot @ 94:092afa595764
[MrJuneJune] Added Integration tests.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Fri, 02 Jan 2026 18:13:32 -0800 |
| parents | |
| children | 1c446ab6f945 |
comparison
equal
deleted
inserted
replaced
| 93:be91a73d801a | 94:092afa595764 |
|---|---|
| 1 HTTP/1.1 301 Moved Permanently | |
| 2 Content-Type: text/plain | |
| 3 Content-Length: 0 | |
| 4 Connection: close | |
| 5 Body: | |
| 6 | |
| 7 t/otf" crossorigin> | |
| 8 <link rel="preload" href="/public/fonts/more-sugar.regular.otf" as="font" type="font/otf" crossorigin> | |
| 9 <link rel="preload" href="/public/fonts/more-sugar.thin.otf" as="font" type="font/otf" crossorigin> | |
| 10 | |
| 11 <link rel="preload" href="/base.css" as="style" /> | |
| 12 <link rel="stylesheet" href="/base.css" /> | |
| 13 | |
| 14 | |
| 15 <style> | |
| 16 .epi-photo { | |
| 17 display: flex; | |
| 18 justify-content: center; | |
| 19 margin-bottom: 10px; | |
| 20 } | |
| 21 </style> | |
| 22 </head> | |
| 23 <body> | |
| 24 <style> | |
| 25 :root { | |
| 26 --header-background: var(--white); | |
| 27 --header-color: rgb(var(--black)); | |
| 28 --link-hover-accent: var(--awesome); | |
| 29 } | |
| 30 | |
| 31 /* Fixed icon in top left corner */ | |
| 32 #themeToggle { | |
| 33 position: fixed; | |
| 34 top: 20px; | |
| 35 left: 20px; | |
| 36 background: var(--header-background); | |
| 37 display: flex; | |
| 38 align-items: center; | |
| 39 border-radius: 50%; | |
| 40 cursor: pointer; | |
| 41 z-index: 1000; | |
| 42 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 43 transition: transform 0.2s ease; | |
| 44 } | |
| 45 | |
| 46 #themeToggle:hover { | |
| 47 transform: scale(1.05); | |
| 48 } | |
| 49 | |
| 50 /* Professional header */ | |
| 51 header { | |
| 52 margin: auto; | |
| 53 padding: 1.5em 1em; | |
| 54 font-family: "More", sans-serif; | |
| 55 box-shadow: 0 2px 8px rgba(var(--black), 5%); | |
| 56 width: 720px; | |
| 57 max-width: calc(100% - 2em); | |
| 58 text-align: center; | |
| 59 } | |
| 60 | |
| 61 header h1 { | |
| 62 margin: 0; | |
| 63 font-size: 1.8em; | |
| 64 font-weight: 700; | |
| 65 letter-spacing: -0.5px; | |
| 66 } | |
| 67 | |
| 68 header h1 a { | |
| 69 text-decoration: none; | |
| 70 color: var(--header-color); | |
| 71 } | |
| 72 | |
| 73 header h1 a::before { | |
| 74 display: none; | |
| 75 } | |
| 76 | |
| 77 /* Mobile responsiveness */ | |
| 78 @media (max-width: 720px) { | |
| 79 #themeToggle { | |
| 80 top: 15px; | |
| 81 left: 15px; | |
| 82 } | |
| 83 | |
| 84 header { | |
| 85 padding: 1em; | |
| 86 } | |
| 87 | |
| 88 header h1 { | |
| 89 font-size: 1.5em; | |
| 90 } | |
| 91 } | |
| 92 | |
| 93 @media (max-width: 480px) { | |
| 94 #themeToggle { | |
| 95 top: 10px; | |
| 96 left: 10px; | |
| 97 } | |
| 98 | |
| 99 #themeToggle img { | |
| 100 height: 40px; | |
| 101 width: 40px; | |
| 102 } | |
| 103 | |
| 104 header h1 { | |
| 105 font-size: 1.3em; | |
| 106 } | |
| 107 } | |
| 108 | |
| 109 #logo { | |
| 110 width: 300px; | |
| 111 } | |
| 112 | |
| 113 /* 1. DEFINE THE DEFAULTS (Light Mode) */ | |
| 114 :root { | |
| 115 --logo-invert: invert(0); | |
| 116 --epi-grayscale: grayscale(0) brightness(1); | |
| 117 } | |
| 118 | |
| 119 /* 2. MANUAL DARK OVERRIDE */ | |
| 120 html.dark { | |
| 121 --logo-invert: invert(1); | |
| 122 --epi-grayscale: grayscale(1); | |
| 123 } | |
| 124 | |
| 125 /* 3. MANUAL LIGHT OVERRIDE */ | |
| 126 html.light-mode { | |
| 127 --logo-invert: invert(0); | |
| 128 --epi-grayscale: brightness(2.9) grayscale(1); | |
| 129 } | |
| 130 | |
| 131 /* 4. SYSTEM PREFERENCE */ | |
| 132 @media (prefers-color-scheme: dark) { | |
| 133 :root:not(.light-mode) { | |
| 134 --logo-invert: invert(1); | |
| 135 } | |
| 136 } | |
| 137 | |
| 138 /* 5. APPLY TO ELEMENTS */ | |
| 139 #logo { | |
| 140 -webkit-filter: var(--logo-invert); | |
| 141 filter: var(--logo-invert); | |
| 142 transition: filter 0.3s ease; | |
| 143 } | |
| 144 | |
| 145 .epi-logo { | |
| 146 -webkit-filter: var(--epi-grayscale); | |
| 147 filter: var(--epi-grayscale); | |
| 148 transition: filter 0.3s ease; | |
| 149 } | |
| 150 </style> | |
| 151 | |
| 152 <div id="themeToggle"> | |
| 153 <img id="epiChan" class="epi-logo" aria-label="Toggle dark mode" src="/public/epi_all_colors.svg" height="50" width="50"> | |
| 154 </div> | |
| 155 | |
| 156 <header> | |
| 157 <h1><a href="/">MrJuneJune</a></h1> | |
| 158 </header> | |
| 159 <script src="/index.js"></script> | |
| 160 | |
| 161 | |
| 162 <main> | |
| 163 <p>Hi, my name is Juntae, but most people call me June or MrJuneJune.</p> | |
| 164 | |
| 165 <p>I am a software engineer with experience spanning a wide range of companies, from small startups to FAANGs....</p> | |
| 166 <p>I know it is lame to work for them, but I have a dog so I need to put foods on my table.</p> | |
| 167 | |
| 168 <div class="epi-photo"> | |
| 169 <img id="currentPhoto" style="opacity: 0; transition: opacity 0.2s;" /> | |
| 170 </div> | |
| 171 | |
| 172 <p>During my free time, I like to write codes mostly in C, Python, and Typescript. All in mono repo styles using mercurial and bazel. (I know that is mentally ill...)</p> | |
| 173 <p>Feel free to check it out. My bad code..</p> | |
| 174 | |
| 175 <h2>Links</h2> | |
| 176 <ul> | |
| 177 <li><a href="https://zenbu.babocoder.com/file/tip">Repository</a> - Check out my monorepo code</li> | |
| 178 <li><a href="/resume">Resume</a> - My professional experiences </li> | |
| 179 <li><a href="/tools">Tools</a> - Tools </li> | |
| 180 <!-- <li><a href="/blogs">Blogs</a> - Personal Blogs where I rant </li> --> | |
| 181 </ul> | |
| 182 </main> | |
| 183 <div style="display: flex; align-items: center; justify-content: center; margin: 30px 0px;"> | |
| 184 <small>© 2026 June Park</small> | |
| 185 </div> | |
| 186 | |
| 187 </body> | |
| 188 <script> | |
| 189 let arr = Array.from({ length: 18 }, (_, i) => i+1); | |
| 190 function setRandomImages() { | |
| 191 const randomIndex = Math.floor(Math.random() * arr.length); | |
| 192 const pos = arr[randomIndex]; | |
| 193 currentPhoto.src = `/public/epi-photos/webp/${pos}.webp`; | |
| 194 currentPhoto.onload = () => { | |
| 195 currentPhoto.style.opacity = "1"; | |
| 196 }; | |
| 197 setTimeout(() => setRandomImages(), 1000); | |
| 198 } | |
| 199 setRandomImages(); | |
| 200 </script> | |
| 201 </htmlLocation: / | |
| 202 Location: /resume | |
| 203 Location: /tools/markdown_to_html | |
| 204 |