Add license to files, fixed roles and role display

This commit is contained in:
Corbin Crutchley
2019-08-21 21:59:53 -07:00
parent 1d068078dd
commit cf1bc5e86c
6 changed files with 20 additions and 9 deletions

View File

@@ -2,10 +2,11 @@
{
title: "Introduction to Android: Contexts, Intents, and the Activity lifecycle",
description: 'A basic overview of the main components of an Android app and how they interact with each other and the Android system',
published: '2019-08-09T18:12:03.284Z',
published: '2019-08-22T05:12:03.284Z',
author: 'fennifith',
tags: ['android'],
attached: []
attached: [],
license: 'publicdomain-zero-1'
}
---

View File

@@ -2,10 +2,11 @@
{
title: "Joining Freenode IRC: A Guide",
description: 'Basic (but detailed) instructions for setting up a Freenode IRC account through various clients',
published: '2019-08-09T17:12:03.284Z',
published: '2019-08-22T05:12:03.284Z',
author: 'fennifith',
tags: ['irc'],
attached: []
attached: [],
license: 'publicdomain-zero-1'
}
---

View File

@@ -2,10 +2,11 @@
{
title: "Continuous Integration with Travis CI for Android",
description: 'An in-depth tutorial explaining how to set up Travis CI to deploy signed builds to Google Play. Among other things',
published: '2019-08-09T16:12:03.284Z',
published: '2019-08-22T05:12:03.284Z',
author: 'fennifith',
tags: ['android', 'ci'],
attached: []
attached: [],
license: 'publicdomain-zero-1'
}
---

View File

@@ -14,5 +14,13 @@
"explainLink": "http://creativecommons.org/licenses/by/4.0/",
"name": "Attribution 4.0 International (CC BY 4.0)",
"displayName": "Creative Commons Attribution 4.0 International License"
},
{
"id": "publicdomain-zero-1",
"footerImg": "https://licensebuttons.net/p/zero/1.0/88x31.png",
"licenceType": "Public Domain",
"explainLink": "https://creativecommons.org/publicdomain/zero/1.0/",
"name": "CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
"displayName": "Public Domain"
}
]

View File

@@ -12,7 +12,7 @@
"pronouns": "they/themselves",
"profileImg": "./crutchcorn.png",
"color": "#ba68c8",
"roles": ["developer"]
"roles": ["devops", "developer"]
},
{
"id": "fennifith",

View File

@@ -71,12 +71,12 @@ const AboutUs = (props) => {
<ul aria-label="Roles assigned to this user" className={style.rolesList}>
{unicornInfo.roles.map((role, i) => (
<li key={role.id}>
{i !== 0 && ", "}{role.prettyname}
{i !== 0 && <span aria-hidden={true}>, </span>}{role.prettyname}
</li>
))}
{
unicornInfo.fields.isAuthor &&
<li>{unicornInfo.roles.length >= 1 && ", "}Author</li>
<li>{unicornInfo.roles.length >= 1 && <span aria-hidden={true}>, </span>}Author</li>
}
</ul>
</div>