changeset 214:4c725fde6999

[MrJuneJune] Fixed linkedin path and images modules.
author MrJuneJune <me@mrjunejune.com>
date Sun, 15 Feb 2026 22:21:27 -0800
parents 60918f88070e
children c3df85159b31
files mrjunejune/src/resume/index.html mrjunejune/src/tools/markdown_to_html/index.html
diffstat 2 files changed, 13 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/mrjunejune/src/resume/index.html	Sun Feb 15 21:39:43 2026 -0800
+++ b/mrjunejune/src/resume/index.html	Sun Feb 15 22:21:27 2026 -0800
@@ -27,7 +27,7 @@
             <a href="mailto:[email protected]">[email protected]</a>
           </div>
           <div>
-            <a href="https://www.linkedin.com/in/junepark"><svg width="12" height="12" fill="currentColor" class="bi bi-linkedin" viewBox="0 0 16 16">
+            <a href="https://www.linkedin.com/in/june-park-61721215b"><svg width="12" height="12" fill="currentColor" class="bi bi-linkedin" viewBox="0 0 16 16">
                <path d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z"/>
              </svg> June Park
             </a>
--- a/mrjunejune/src/tools/markdown_to_html/index.html	Sun Feb 15 21:39:43 2026 -0800
+++ b/mrjunejune/src/tools/markdown_to_html/index.html	Sun Feb 15 22:21:27 2026 -0800
@@ -54,7 +54,7 @@
 
 ### Images
 
-![Alt text](https://via.placeholder.com/150)
+![Alt text](https://mrjunejune.com/public/epi_favicon.svg)
 
 **Try editing this text!**</textarea>
         </div>
@@ -68,10 +68,16 @@
         </div>
     </div>
     {{/parts/footer.html}}
-    <script src="/markdown_to_html_bin.js"></script>
-    <script>
-        // Wait for WASM module to be ready
-        Module.onRuntimeInitialized = () => {
+    <script type="module">
+        import createModule from '/markdown_to_html_bin.js';
+
+        // Get DOM elements
+        const input = document.getElementById('input');
+        const output = document.getElementById('output');
+        const copy = document.getElementById('copy');
+
+        // Modern Emscripten exports a factory function that returns a Promise
+        createModule().then(Module => {
           // Get raw pointer so we can free it after use
           const markdownToHtmlPtr = Module.cwrap('markdown_to_html', 'number', ['string']);
           const markdownFree = Module.cwrap('markdown_free', null, ['number']);
@@ -108,7 +114,7 @@
               console.error('Failed to copy: ', err);
             });
           });
-        };
+        });
     </script>
 </body>
 </html>