-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Urban-Analytics-Technology-Platform/people
Adding people collection and stubbing out some entries
- Loading branch information
Showing
18 changed files
with
6,301 additions
and
17 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
import type { CollectionEntry } from "astro:content"; | ||
interface Props { | ||
person: CollectionEntry<"people">; | ||
} | ||
const { person } = Astro.props; | ||
--- | ||
|
||
{ | ||
person && ( | ||
<a href={"/people/" + person.slug}> | ||
{[person.data.firstName, person.data.lastName].join(" ")}{" "} | ||
</a> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
firstName: "Dani" | ||
lastName: "Arribas-Bel" | ||
avatarURL: "" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
firstName: "Falli" | ||
lastName: "Palaiologou" | ||
avatarURL: "" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
firstName: "Hadrien" | ||
lastName: "Salat" | ||
avatarURL: "" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
firstName: "Jon" | ||
lastName: "Yong" | ||
avatarURL: "" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
firstName: "Mark" | ||
lastName: "Birkin" | ||
avatarURL: "" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
firstName: "Martin" | ||
lastName: "Fleischmann" | ||
avatarURL: "" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
firstName: "Mike" | ||
lastName: "Simpson" | ||
avatarURL: "" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
firstName: "Polly" | ||
lastName: "Hudson" | ||
avatarURL: "" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
firstName: "Sam" | ||
lastName: "Greenbury" | ||
avatarURL: "" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
firstName: "Stuart" | ||
lastName: "Lynn" | ||
avatarURL: "https://pbs.twimg.com/profile_images/2392941891/anq5bkkx8rtdhn8p2i9m_400x400.png" | ||
--- | ||
|
||
Stuart Lynn is a developer, data scientist and tinkerer whose interests involve widening the participation in scientific discussion and inquiry to non-traditional communities through the development of tools and active participation in citizen science and collaborative processes. He holds a Master in Mathematical Physics and a PHD in Astrophysics from the University of Edinburgh. In previous roles he has worked with non-profits and NGOs with the Two Sigma Data Clinic, lead the Data Science team at CARTO and was the technical lead for the citizen science platform The Zooniverse. He is the lead developer of the Matico project and has built a number of other open source tools focused on understanding and using data. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
--- | ||
name: 'Colouring Cities/Colouring London' | ||
description: 'Colouring Cities/Colouring London' | ||
name: "Colouring Cities/Colouring London" | ||
description: "Colouring Cities/Colouring London" | ||
image: | ||
url: 'https://alan-turing-institute.github.io/demoland-web/assets/map-7fd64ded.png' | ||
alt: 'Screenshot showing the demoland application' | ||
url: "https://alan-turing-institute.github.io/demoland-web/assets/map-7fd64ded.png" | ||
alt: "Screenshot showing the demoland application" | ||
tags: ["modelling", "quality of life", "land use"] | ||
github: "https://github.com/alan-turing-institute/demoland-web" | ||
link: "https://colouringlondon.org/" | ||
tier: 2 | ||
pi: | ||
- polly_hudson | ||
team: | ||
- falli_palaiologou | ||
- mike_simpson | ||
funders: "SoCaR" | ||
--- | ||
|
||
Colouring London is a free knowledge exchange platform designed to provide over fifty types of open data on buildings in the city, to help make the city more sustainable. | ||
|
||
|
||
<iframe style="width:100%;min-height:500px" src="https://colouringlondon.org/" title="demoland"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
--- | ||
name: 'Synthetic Population Catalyst (SPC)' | ||
description: 'A tool to model individual UK people and their activities, combining a variety of data sources and methods. SPC generates rich synthetic populations for the whole of Britain, with demographic, health, activity information.' | ||
name: "Synthetic Population Catalyst (SPC)" | ||
description: "A tool to model individual UK people and their activities, combining a variety of data sources and methods. SPC generates rich synthetic populations for the whole of Britain, with demographic, health, activity information." | ||
image: | ||
url: 'https://github.com/alan-turing-institute/uatk-spc/raw/main/docs/img/SPC_Schema.png' | ||
alt: 'Diagram showing the process of generating a sythetic population' | ||
tags: ["modelling","populations","synthetic"] | ||
url: "https://github.com/alan-turing-institute/uatk-spc/raw/main/docs/img/SPC_Schema.png" | ||
alt: "Diagram showing the process of generating a sythetic population" | ||
tags: ["modelling", "populations", "synthetic"] | ||
github: "https://github.com/alan-turing-institute/demoland-web" | ||
link: "https://github.com/alan-turing-institute/uatk-spc" | ||
tier: 2 | ||
funders: "SoCaR" | ||
pis: | ||
- mark_birkin | ||
team: | ||
- hadrien_salat | ||
- sam_greenbury | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
import { getCollection, getEntry, getEntries } from "astro:content"; | ||
import Base from "../../layouts/Base.astro"; | ||
import ProjectCard from "../../components/ProjectCard.astro"; | ||
export async function getStaticPaths() { | ||
const project = await getCollection("people"); | ||
return project.map((entry) => ({ | ||
params: { slug: entry.slug }, | ||
props: { entry }, | ||
})); | ||
} | ||
const { entry } = Astro.props; | ||
const { Content } = await entry.render(); | ||
const projects = await getCollection("project"); | ||
const projectsForPerson = projects.filter( | ||
(project) => | ||
project.data.pis?.find((t) => t.slug === entry.slug) || | ||
project.data.team?.find((t) => t.slug === entry.slug), | ||
); | ||
--- | ||
|
||
<Base> | ||
<section class="wrapper style1"> | ||
<div class="container"> | ||
<div class="row gtr-200"> | ||
<div class="col-3 col-12-narrower"> | ||
<div id="sidebar"> | ||
<section> | ||
<h3>{[entry.data.firstName, entry.data.lastName].join(" ")}</h3> | ||
</section> | ||
<section> | ||
<img src={entry.data.avatarURL} /> | ||
</section> | ||
</div> | ||
</div> | ||
|
||
<div class="col-9 col-12-narrower imp-narrower"> | ||
<div id="content"> | ||
<article> | ||
<header> | ||
<h2>Bio</h2> | ||
</header> | ||
<Content /> | ||
<header> | ||
<h2>Projects</h2> | ||
</header> | ||
<pre> | ||
{projectsForPerson.map(project=>( | ||
<ProjectCard project={project} /> | ||
))} | ||
</pre> | ||
</article> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</Base> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters