From 26edae3fc86c67e66700fa18ad9b46c3e998f4ad Mon Sep 17 00:00:00 2001 From: Alexis Kim Date: Tue, 25 Jun 2024 10:58:25 -0700 Subject: [PATCH 1/5] update people page to be in two columns; details on side instead of polaroid format --- _pages/people.md | 213 ++++++++++++++++++++++------------------------- 1 file changed, 99 insertions(+), 114 deletions(-) diff --git a/_pages/people.md b/_pages/people.md index fc0dcfa1..1b95902a 100644 --- a/_pages/people.md +++ b/_pages/people.md @@ -5,38 +5,46 @@ sitemap: false permalink: /people/ --- +
Headshot
@@ -44,100 +52,77 @@ div.overflow-information{ ## PI -@row -Headshot -@column -
-
Achuta Kadambi
-
Leader, Visual Machines Group
-
Assistant Professor, UCLA
Electrical Engineering and Computer Science
PhD, Massachusetts Institute of Technology
- -
+
+ +
@row ## Graduate / Post doc -{% assign number_printed = 0 %} -{% for member in site.data.grad_team_members %} -{% assign even_odd = number_printed | modulo: 4 %} -{% if even_odd == 0 %} -@row -{% endif %} -{% if even_odd != 0 %} -@column -{% endif %} -
- - Insert photo - - -
-   - - {{ member.name }} - -
-   - - -{% assign number_printed = number_printed | plus: 1 %} -{% endfor %} -{% assign even_odd_dummy = number_printed | modulo: 4 %} -{% if even_odd_dummy != 0 %} -{% assign number_print_left = 4 | minus:even_odd_dummy %} -{% for num in (1..number_print_left) %} -@column -{% endfor %} -{% endif %} @row ## Undergraduate -{% assign number_printed = 0 %} -{% for member in site.data.undergrad_team_members %} -{% assign even_odd = number_printed | modulo: 4 %} -{% if even_odd == 0 %} -@row -{% endif %} -{% if even_odd != 0 %} -@column -{% endif %} -
- - Insert photo - - -
-   - - {{ member.name }} - -
-   - -
- - {{ member.email }} + -{% assign number_printed = number_printed | plus: 1 %} -{% endfor %} -{% assign even_odd_dummy = number_printed | modulo: 4 %} -{% if even_odd_dummy != 0 %} -{% assign number_print_left = 4 | minus:even_odd_dummy %} -{% for num in (1..number_print_left) %} -@column -{% endfor %} -{% endif %} +
+ {% assign number_printed = number_printed | plus: 1 %} + {% endfor %} +
\ No newline at end of file From 82818d2eca2fdb910d87604ff311afaa54f14a63 Mon Sep 17 00:00:00 2001 From: naomi gong Date: Tue, 25 Jun 2024 11:15:09 -0700 Subject: [PATCH 2/5] added boxes around people --- .ruby-version | 1 + Gemfile | 5 +++++ _pages/people.md | 21 ++++++++++++++++++--- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 .ruby-version diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000..818bd47a --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.0.6 diff --git a/Gemfile b/Gemfile index 0f1888eb..54afb7fe 100644 --- a/Gemfile +++ b/Gemfile @@ -3,3 +3,8 @@ source "https://rubygems.org" gem "github-pages", group: :jekyll_plugins gem "jekyll-include-cache", group: :jekyll_plugins gem "jekyll", "=3.9.3" +gem 'csv' + + + +gem "webrick", "~> 1.8" diff --git a/_pages/people.md b/_pages/people.md index 1b95902a..98a115e3 100644 --- a/_pages/people.md +++ b/_pages/people.md @@ -18,7 +18,22 @@ permalink: /people/ display: flex; align-items: flex-start; /* Align items to the top */ padding: 0.5em; + border: 1px solid #ccc; + border-radius: 8px; } + .team-member-PI{ + display: flex; + align-items: flex-start; /* Align items to the top */ + padding: 0.5em; + + } + + .team-member-PI img { + width: 120px; /* Keep image size */ + height: 120px; + margin-right: 1em; /* Margin between photo and text */ + object-fit: cover; +} .team-member img { width: 120px; height: 120px; @@ -50,11 +65,11 @@ permalink: /people/
@row -## PI +## Faculty
-
+
Insert photo @@ -125,4 +140,4 @@ permalink: /people/
{% assign number_printed = number_printed | plus: 1 %} {% endfor %} -
\ No newline at end of file +
From 3bb443fc713c06655425cc2d69a1b2fa5fef7699 Mon Sep 17 00:00:00 2001 From: naomi gong Date: Tue, 25 Jun 2024 16:10:51 -0700 Subject: [PATCH 3/5] creates a slideshow feature with automatic and manual ability --- _data/slides.yml | 9 ++ _pages/home_page.md | 142 ++++++++++++++++++++++++++++-- _sass/minimal-mistakes/_page.scss | 5 ++ 3 files changed, 149 insertions(+), 7 deletions(-) create mode 100644 _data/slides.yml diff --git a/_data/slides.yml b/_data/slides.yml new file mode 100644 index 00000000..4e81182d --- /dev/null +++ b/_data/slides.yml @@ -0,0 +1,9 @@ +- title: Equitable Sensing of the Human Body + text_line1: Light-based sensors that are robust to skin tone, body mass + text_line2: and other phenotypes can transform precision medicine and human interaction. + image_link: "/assets/images/website_chosen_square.png" + +- title: "I give students A" + text_line1: "Everyone gets an A in my class" + text_line2: "no matter what" + image_link: "/assets/images/people/achuta_kadambi.png" \ No newline at end of file diff --git a/_pages/home_page.md b/_pages/home_page.md index e1755174..71781812 100644 --- a/_pages/home_page.md +++ b/_pages/home_page.md @@ -12,23 +12,151 @@ head_scripts: ---
-
-
- +
+ {% assign slides = site.data.slides %} + {% for slide in slides %} +
+
-
Equitable Sensing of the Human Body
-
Light-based sensors that are robust to skin tone, body mass -
and other phenotypes can transform precision medicine and human interaction. -
+
{{ slide.title }}
+
{{ slide.text_line1 }}
+
{{ slide.text_line2 }}
+ {% endfor %} + +
<
+
>
+ + + + + + + + +
+ + +
News
+ + + + +
Aug 2023: Diffusion w/ Perspective appears in SIGGRAPH Asia
Rishi's first author paper appears in the journal proceedings of SIGGRAPH Asia
diff --git a/_sass/minimal-mistakes/_page.scss b/_sass/minimal-mistakes/_page.scss index 5a262f8e..d06ac477 100644 --- a/_sass/minimal-mistakes/_page.scss +++ b/_sass/minimal-mistakes/_page.scss @@ -19,6 +19,8 @@ } } + + body { display: -webkit-box; display: -ms-flexbox; @@ -557,3 +559,6 @@ body { } } } + + + From b38c8a1c31add7aa2df1c5089a37b4606ba5ca8b Mon Sep 17 00:00:00 2001 From: naomi gong Date: Thu, 27 Jun 2024 14:50:36 -0700 Subject: [PATCH 4/5] changed url in config yml file --- _config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/_config.yml b/_config.yml index 2f57e0fa..fe397b2b 100644 --- a/_config.yml +++ b/_config.yml @@ -21,8 +21,6 @@ title_separator : "-" subtitle : # site tagline that appears below site title in masthead name : "Your Name" description : "An amazing website." -url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io" -baseurl : # the subpath of your site, e.g. "/blog" repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes" teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png" logo : # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png" From 7152816bba43280cb8032073406b89b13b5bad38 Mon Sep 17 00:00:00 2001 From: naomi gong Date: Thu, 27 Jun 2024 15:21:55 -0700 Subject: [PATCH 5/5] deployment updates --- _config.yml | 2 ++ _pages/people.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index fe397b2b..a07f3024 100644 --- a/_config.yml +++ b/_config.yml @@ -21,6 +21,8 @@ title_separator : "-" subtitle : # site tagline that appears below site title in masthead name : "Your Name" description : "An amazing website." +url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io" +baseurl : /visualmachines_testing.github.io repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes" teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png" logo : # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png" diff --git a/_pages/people.md b/_pages/people.md index 98a115e3..cee4a5c9 100644 --- a/_pages/people.md +++ b/_pages/people.md @@ -71,7 +71,7 @@ permalink: /people/