This repository was archived by the owner on May 31, 2019. It is now read-only.
Draft
Conversation
alexbaumgertner
commented
Feb 26, 2019
pepelsbey
suggested changes
Feb 26, 2019
42c78b4 to
e11b31d
Compare
Contributor
Author
graphql запрос{
allEventYaml {
edges {
node {
city
date
start
venue
partners
video
map {
type
center
marker
zoom
}
}
}
},
allScheduleYaml {
edges {
node {
talk
speaker
break
duration
}
}
}
}
ответ{
"data": {
"allEventYaml": {
"edges": [
{
"node": {
"city": "Тбилиси",
"date": "2019-03-01",
"start": "12:00",
"venue": [
"Квартирник",
"ул. Ильи Мосашвилли 1/3",
"http://eventspace.by/"
],
"partners": [
"emerline",
"adform",
"epam-systems",
"html-academy"
],
"video": "https://youtu.be/bjxjAESwejE",
"map": {
"type": "yandex",
"center": "92.5706,53.8896",
"marker": "27.5706,53.8896",
"zoom": "16"
}
}
},
{
"node": {
"city": "Минск",
"date": "2018-12-01",
"start": "10:30",
"venue": [
"Event Space",
"Октябрьская, 16А",
"http://eventspace.by/"
],
"partners": [
"emerline",
"adform",
"epam-systems",
"html-academy"
],
"video": "https://youtu.be/bjxjAESwejE",
"map": {
"type": "yandex",
"center": "29.5706,53.8896",
"marker": "72.5706,53.8896",
"zoom": "16"
}
}
}
]
},
"allScheduleYaml": {
"edges": [
{
"node": {
"talk": null,
"speaker": null,
"break": "Начало регистрации",
"duration": 60
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Открытие",
"duration": 10
}
},
{
"node": {
"talk": "animation-perf",
"speaker": "nikolai-shabalin",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": "meet-babushka",
"speaker": "vitaly-harisov",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Перерыв",
"duration": 10
}
},
{
"node": {
"talk": "animation-perf",
"speaker": "nikolai-shabalin",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": "css-debug",
"speaker": "nikita-dubko",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Обед",
"duration": 90
}
},
{
"node": {
"talk": "sw-again",
"speaker": "kirill-chugainov",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": "organize-code",
"speaker": "alexander-baltsevich",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": "ts-good-parts",
"speaker": "michael-bashurov",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Перерыв",
"duration": 10
}
},
{
"node": {
"talk": "semantics",
"speaker": "vadim-makeev",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": "code-editors",
"speaker": "alexandra-shinkevich",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Закрытие",
"duration": 10
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Перерыв",
"duration": 20
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Афтепати 🎉",
"duration": null
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Начало регистрации",
"duration": 60
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Открытие",
"duration": 10
}
},
{
"node": {
"talk": "animation-perf",
"speaker": "nikolai-shabalin",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": "meet-babushka",
"speaker": "vitaly-harisov",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Перерыв",
"duration": 10
}
},
{
"node": {
"talk": "animation-perf",
"speaker": "nikolai-shabalin",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": "css-debug",
"speaker": "nikita-dubko",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Обед",
"duration": 90
}
},
{
"node": {
"talk": "sw-again",
"speaker": "kirill-chugainov",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": "organize-code",
"speaker": "alexander-baltsevich",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": "ts-good-parts",
"speaker": "michael-bashurov",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Перерыв",
"duration": 10
}
},
{
"node": {
"talk": "semantics",
"speaker": "vadim-makeev",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": "code-editors",
"speaker": "alexandra-shinkevich",
"break": null,
"duration": 40
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Закрытие",
"duration": 10
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Перерыв",
"duration": 20
}
},
{
"node": {
"talk": null,
"speaker": null,
"break": "Афтепати 🎉",
"duration": null
}
}
]
}
}
} |
Contributor
|
Мне не совсем понятно как Gatsby будет кушать и yaml и md файлы в каталоге, наверное нужно писать некую кастомную вещь? Отдельно yaml грузить и даже соединять несколько фалов в один можно плагином, но я пока не видел решений, чтобы грузить солянку. |
4 tasks
Contributor
Author
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



#26
TODO:
Документация
https://app.pluralsight.com/library/courses/gatsbyjs-getting-started/table-of-contents
https://egghead.io/courses/build-a-blog-with-react-and-markdown-using-gatsby