From eeec70e3c47d6d85ab8c8a09f8fe0c79c30742a2 Mon Sep 17 00:00:00 2001 From: aiwang24 Date: Sun, 26 May 2024 00:46:36 -0400 Subject: [PATCH] Update inception.md --- src/inception.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/src/inception.md b/src/inception.md index 5ce7c8c..75fa30e 100644 --- a/src/inception.md +++ b/src/inception.md @@ -4,20 +4,33 @@ toc: false theme: [air,alt,wide] --- + + + ```js // IMAGES const img_src_mitnano = FileAttachment("./imgs/MIT-nano-exterior_0.jpg").href; -function return_img(src, size, url) { +function return_img(src, size) { return html` - - `; } ``` @@ -42,7 +55,9 @@ Each design -- the Great Dome (2018), the MIT Seal (2020), and the Move to Cambr +
- ${resize((width,height)=> return_img(img_src_mitnano,Math.min(width,height),"https://mitnano.mit.edu"))} + ${resize((width,height)=> return_img(img_src_mitnano,Math.min(width,height)))}
+