Skip to content

Commit

Permalink
Update see-onemit.md
Browse files Browse the repository at this point in the history
testing
  • Loading branch information
aiwang24 authored May 7, 2024
1 parent d032872 commit 1ef92c4
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions src/see-onemit.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,13 @@ toc: false
theme: [air,alt,wide]
---

```js
// VISIT BACKGROUND IMAGE

const background_img_src = FileAttachment("./imgs/one-visit-overlay.jpg").href;
function return_resized_img(width,height) {
return html`<img src="${background_img_src}" height="${height}px" width="${width}px" style="object-fit:cover; border-radius: 0.75rem;">`
}
```

<div class= "grid grid-cols-1">
<div class="card" background-image:url("imgs/one-visit-overlay.jpg")>
<div class= "grid grid-cols-2">
<div class="card" style="background-image:url('imgs/one-visit-overlay.jpg')">
<h1> See One.MIT on display at MIT</h1>

One.MIT is on permanent display at <a style="text-decoration:none; color: #2A5DB0;" href="https://mitnano.mit.edu/" target="_blank">MIT.nano</a>, a nanoscale research facility located in the center of the MIT campus. Come see the wafer in the MIT.nano first floor galleries located in the southwest corner of the building, the corner closest to the MIT Great Dome (<a href="https://whereis.mit.edu/?go=12" target="_blank">map</a>).

</div>

<div class="card">
${resize((width,height)=> return_resized_img(width,height))}
</div>
</div>

0 comments on commit 1ef92c4

Please sign in to comment.