Skip to content

Commit ba26044

Browse files
committed
add files
1 parent 12d155f commit ba26044

17 files changed

Lines changed: 195 additions & 7 deletions

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# AIandGlobalDevelopmentLab.github.io
2-
Website for AI & GLobal Development Lab
2+
Overview site for the AI & Global Development Lab.
3+
4+
- Main lab hub: https://aidevlab.org
5+
- Data feeds: `/api/publications.json`, `/api/team.json`, `/api/resources.json`

_config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ description: >-
66
url: "https://aiandglobaldevelopmentlab.github.io"
77
baseurl: ""
88

9+
# Main lab hub (WordPress)
10+
main_site:
11+
url: "https://aidevlab.org"
12+
name: "aidevlab.org"
13+
links:
14+
research: "https://aidevlab.org/research/"
15+
data: "https://aidevlab.org/data/"
16+
code: "https://aidevlab.org/code/"
17+
rankings: "https://aidevlab.org/rankings/"
18+
positions: "https://aidevlab.org/positions/"
19+
visualizations: "https://aidevlab.org/visualizations/"
20+
videos: "https://aidevlab.org/videos/"
21+
922
# Build settings
1023
markdown: kramdown
1124
highlighter: rouge

_data/navigation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
main:
2+
- title: Main Site
3+
url: https://aidevlab.org
4+
external: true
25
- title: Research
36
url: /research/
47
- title: Team

_includes/footer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ <h4>Lab</h4>
2929
<div class="footer-column">
3030
<h4>Connect</h4>
3131
<ul>
32+
<li><a href="{{ site.main_site.url }}" target="_blank" rel="noopener">{{ site.main_site.name }}</a></li>
3233
<li><a href="{{ '/work-with-us/' | relative_url }}">Work With Us</a></li>
3334
<li><a href="{{ '/contact/' | relative_url }}">Contact</a></li>
3435
<li><a href="https://planetarycausalinference.org" target="_blank" rel="noopener">PlanetaryCausalInference.org</a></li>

_includes/header.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
<header class="site-header">
2+
<div class="site-notice" role="region" aria-label="Main lab site">
3+
<div class="container">
4+
<p class="site-notice-text">
5+
For datasets, rankings, videos, and the full archive, visit
6+
<a href="{{ site.main_site.url }}" target="_blank" rel="noopener">{{ site.main_site.name }}</a>.
7+
</p>
8+
</div>
9+
</div>
210
<div class="container">
311
<nav class="nav">
412
<a href="{{ '/' | relative_url }}" class="nav-logo">

_sass/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ html {
1515
-webkit-font-smoothing: antialiased;
1616
-moz-osx-font-smoothing: grayscale;
1717
scroll-behavior: smooth;
18-
scroll-padding-top: 88px;
18+
scroll-padding-top: var(--site-header-height, 88px);
1919
}
2020

2121
body {

_sass/_components.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,24 @@
128128
font-size: $font-size-body;
129129
}
130130

131+
.card-link {
132+
display: block;
133+
color: $color-black;
134+
text-decoration: none;
135+
136+
&:hover {
137+
color: $color-black;
138+
}
139+
140+
.link-arrow {
141+
color: $color-accent;
142+
}
143+
144+
&:hover .link-arrow::after {
145+
transform: translateX(4px);
146+
}
147+
}
148+
131149
// Theme cards (for homepage)
132150
.theme-card {
133151
text-align: center;

api/publications.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: null
3+
permalink: /api/publications.json
4+
---
5+
{{ site.data.publications | jsonify }}

api/resources.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: null
3+
permalink: /api/resources.json
4+
---
5+
{{ site.data.resources | jsonify }}

api/team.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: null
3+
permalink: /api/team.json
4+
---
5+
{{ site.data.team | jsonify }}

0 commit comments

Comments
 (0)