Skip to content

Commit 46e7479

Browse files
committed
Formatting and news update
1 parent 31285de commit 46e7479

File tree

13 files changed

+121
-17
lines changed

13 files changed

+121
-17
lines changed

_config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
remote_theme: jekyll/minima
22
title: Auton Lab
3+
title_img: /assets/images/auton_logo.png
34
show_excerpts: true
45
url: /new_site_poc
56
baseurl: /new_site_poc
@@ -13,9 +14,8 @@ header_pages:
1314
- careers.md
1415
collections_dir: collections
1516
collections:
16-
posts:
17-
output: true
18-
sort_by: date
17+
careers:
18+
output: true
1919
tutorials:
2020
output: true
2121
sort_by: complexity

_includes/header.html

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<header class="site-header">
2+
3+
<div class="wrapper">
4+
{%- assign default_paths = site.pages | map: "path" -%}
5+
{%- assign page_paths = site.header_pages | default: default_paths -%}
6+
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
7+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">
8+
{%- if site.title_img -%}
9+
<img src="{{site.title_img | relative_url}}" alt="{{site.title | escape}}" style="width:60px">
10+
{%- else -%}{{ site.title | escape }}{%-endif-%}</a>
11+
12+
{%- if titles_size > 0 -%}
13+
<nav class="site-nav">
14+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
15+
<label for="nav-trigger">
16+
<span class="menu-icon">
17+
<svg viewBox="0 0 18 15" width="18px" height="15px">
18+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
19+
</svg>
20+
</span>
21+
</label>
22+
23+
<div class="trigger">
24+
{%- for path in page_paths -%}
25+
{%- assign my_page = site.pages | where: "path", path | first -%}
26+
{%- if my_page.title -%}
27+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
28+
{%- endif -%}
29+
{%- endfor -%}
30+
</div>
31+
</nav>
32+
{%- endif -%}
33+
</div>
34+
</header>

_layouts/home.html

+32-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,40 @@
33
---
44

55
<div class="home">
6+
<div class="hero">
67
{%- if page.title -%}
7-
<h1 class="page-heading">{{ page.title }}</h1>
8+
<h1 class="page-heading">{{ page.title }}</h1>
89
{%- endif -%}
10+
{%- if page.tagline -%}
11+
{{ page.tagline }}
12+
{%- endif -%}
13+
<div id="researchCarousel" class="carousel slide" data-bs-ride="carousel">
14+
<div class="carousel-indicators">
15+
<button type="button" data-bs-target="#researchCarousel" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
16+
<button type="button" data-bs-target="#researchCarousel" data-bs-slide-to="1" aria-label="Slide 2"></button>
17+
<button type="button" data-bs-target="#researchCarousel" data-bs-slide-to="2" aria-label="Slide 3"></button>
18+
</div>
19+
<div class="carousel-inner">
20+
<div class="carousel-item active">
21+
<img src="assets/ex1.png" class="d-block w-100" alt="...">
22+
</div>
23+
<div class="carousel-item">
24+
<img src="assets/ex2.png" class="d-block w-100" alt="...">
25+
</div>
26+
<div class="carousel-item">
27+
<img src="assets/ex3.png" class="d-block w-100" alt="...">
28+
</div>
29+
</div>
30+
<button class="carousel-control-prev" type="button" data-bs-target="#researchCarousel" data-bs-slide="prev">
31+
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
32+
<span class="visually-hidden">Previous</span>
33+
</button>
34+
<button class="carousel-control-next" type="button" data-bs-target="#researchCarousel" data-bs-slide="next">
35+
<span class="carousel-control-next-icon" aria-hidden="true"></span>
36+
<span class="visually-hidden">Next</span>
37+
</button>
38+
</div>
39+
</div>
940

1041
{{ content }}
1142

assets/images/.DS_Store

6 KB
Binary file not shown.
File renamed without changes.

assets/images/cmu-logo-2.png

11.8 KB
Loading

careers.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,13 @@ title: "Careers"
44
permalink: /careers
55
---
66

7-
Hola Mundo
7+
{% assign filtered = site.careers | where:'status','open' %}
8+
9+
{% for job in filtered %}
10+
<div data-bs-toggle="tooltip" data-bs-placement="top" title="{{job.summary}}">
11+
12+
<h4>{{job.title}}<a href="{{ job.apply }}">[APPLY]</a></h4>
13+
<p>{{job.content}}</p>
14+
</div>
15+
{% endfor %}
16+

collections/_careers/2014978-1.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: post
3+
title: Project Scientist
4+
apply: https://cmu.wd5.myworkdayjobs.com/en-US/CMU/job/Pittsburgh-PA/Project-Scientist---Auton-Lab--Robotics-Institute_2014978-1
5+
status: open
6+
summary: "Applied Data Science"
7+
---
8+
9+
We are seeking a Project Scientist to join us in the Auton Lab. In this role, you will act as a team leader for specific areas of research projects in applied data science. Working with principal investigator(s), you will prioritize project goals based on overall organizational goals. You will contribute significantly in the development and documentation of research finding and as a major collaborator of scientific papers. There will be frequent opportunities to present research finding to current or potential sponsors and at major national and international conferences.
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: post
3+
title: "Marinus Analytics places in XPrize competition"
4+
date: 2021-07-12 10:11:09 -0400
5+
categories: site news
6+
excerpt: "CMU spinoff [Marinus Analytics](https://www.marinusanalytics.com) won third place in the IBM XPrize for their work on counter-human-trafficking! Marinus Analytics has worked closely with the Auton Lab in the past in developing their methodology. See the full story on the CMU News Site."
7+
---
8+
9+
Blah

index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
layout: home
3-
title: "Home"
3+
title: "The Auton Lab"
4+
tagline: "Developing Artificial Intelligence for practical solutions to real world problems"
5+
hero: "/assets/images/showcase.jpg"
46
permalink: /
57
---
68

7-
Welcome to the Auton Lab website
8-
9-
![Auton Lab](assets/auton_logo.png "Auton Lab")
9+
![Auton Lab](assets/images/auton_logo.png "Auton Lab")
1010

1111
<h1>Latest News</h1>
1212

static/images/showcase.jpg

1.15 MB
Loading

static/page.css

+10
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,14 @@
2929
margin:auto;
3030
justify-content: center;
3131
align-items: center;
32+
}
33+
34+
.hero {
35+
background-image: url("images/showcase.jpg");
36+
color:#ffffff;
37+
background-color:#cccccc;
38+
background-position: center; /* Center the image */
39+
background-repeat: no-repeat; /* Do not repeat the image */
40+
background-size: cover; /* Resize the background image to cover the entire container */
41+
height:300px;
3242
}

static/pub_view.js

+10-8
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ function createMainView() {
88
type:"header",template:"Auton Lab Publication Database"
99
},
1010
{
11-
// view:"scrollview",
12-
// id:"scrollview",
13-
// scroll:"y",
14-
// body:{
11+
rows: [{
12+
view:"scrollview",
13+
id:"scrollview",
14+
scroll:true,
15+
body:{
1516
view:"datatable",
1617
id:"pubtable",
1718
columns:[
@@ -21,7 +22,6 @@ function createMainView() {
2122
{id:"author",header:["Author",{content:"textFilter"}],fillspace:true,sort:"string"}
2223
],
2324
tooltip:true,
24-
height:500,
2525
resizeColumn:true,
2626
pager:"pdpager",
2727
url:"{{ '/data/pubs.json' | relative_url}}",
@@ -31,11 +31,13 @@ function createMainView() {
3131
$$("pubpopup").show();
3232
}
3333
}
34-
// },
35-
// height:400,
36-
// autowidth:true
34+
},
35+
height:300,
36+
autowidth:true
3737
},
3838
pdpager
39+
]
40+
}
3941
]
4042
}
4143
}

0 commit comments

Comments
 (0)