From 1ce678f37937ab38b3a07ca9fdef691abcb0b091 Mon Sep 17 00:00:00 2001 From: gvarnavi Date: Thu, 2 May 2024 23:11:54 -0700 Subject: [PATCH] minor tweaks to test locally --- README.md | 53 ++--------------------------------------------- src/onemit2018.md | 2 +- 2 files changed, 3 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index e72cefa..fddc14f 100644 --- a/README.md +++ b/README.md @@ -1,53 +1,4 @@ -# Onemit 2024 +# Onemit Website -This is an [Observable Framework](https://observablehq.com/framework) project. To start the local preview server, run: +[https://one-mit.github.io/](https://one-mit.github.io/) -``` -yarn dev -``` - -Then visit to preview your project. - -For more, see . - -## Project structure - -A typical Framework project looks like this: - -```ini -. -├─ docs -│ ├─ components -│ │ └─ timeline.js # an importable module -│ ├─ data -│ │ ├─ launches.csv.js # a data loader -│ │ └─ events.json # a static data file -│ ├─ example-dashboard.md # a page -│ ├─ example-report.md # another page -│ └─ index.md # the home page -├─ .gitignore -├─ observablehq.config.ts # the project config file -├─ package.json -└─ README.md -``` - -**`docs`** - This is the “source root” — where your source files live. Pages go here. Each page is a Markdown file. Observable Framework uses [file-based routing](https://observablehq.com/framework/routing), which means that the name of the file controls where the page is served. You can create as many pages as you like. Use folders to organize your pages. - -**`docs/index.md`** - This is the home page for your site. You can have as many additional pages as you’d like, but you should always have a home page, too. - -**`docs/data`** - You can put [data loaders](https://observablehq.com/framework/loaders) or static data files anywhere in your source root, but we recommend putting them here. - -**`docs/components`** - You can put shared [JavaScript modules](https://observablehq.com/framework/javascript/imports) anywhere in your source root, but we recommend putting them here. This helps you pull code out of Markdown files and into JavaScript modules, making it easier to reuse code across pages, write tests and run linters, and even share code with vanilla web applications. - -**`observablehq.config.ts`** - This is the [project configuration](https://observablehq.com/framework/config) file, such as the pages and sections in the sidebar navigation, and the project’s title. - -## Command reference - -| Command | Description | -| ----------------- | -------------------------------------------------------- | -| `yarn install` | Install or reinstall dependencies | -| `yarn dev` | Start local preview server | -| `yarn build` | Build your static site, generating `./dist` | -| `yarn deploy` | Deploy your project to Observable | -| `yarn clean` | Clear the local data loader cache | -| `yarn observable` | Run commands like `observable help` | diff --git a/src/onemit2018.md b/src/onemit2018.md index c430eb0..7c0b9ab 100644 --- a/src/onemit2018.md +++ b/src/onemit2018.md @@ -92,7 +92,7 @@ text_input_mit_input.dispatchEvent(new Event("input", {bubbles: true})); } table { - background-color: rgba(255,255,255,0.375); + background-color: rgba(255,255,255,0.5); } input {