Skip to content
This repository was archived by the owner on May 31, 2019. It is now read-only.

Спроектировать раздел конференции #119

Draft
alexbaumgertner wants to merge 3 commits intomasterfrom
26-conference
Draft

Спроектировать раздел конференции #119
alexbaumgertner wants to merge 3 commits intomasterfrom
26-conference

Conversation

@alexbaumgertner
Copy link
Contributor

@alexbaumgertner alexbaumgertner commented Feb 26, 2019

#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

@alexbaumgertner alexbaumgertner added Помогите Исполнитель задачи ищет помощи В работе Задача в работу, можете предложить помощь labels Feb 26, 2019
@alexbaumgertner
Copy link
Contributor Author

alexbaumgertner commented Mar 1, 2019

graphiql__2019-03-01__23-45-38

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
          }
        }
      ]
    }
  }
}

@alexbaumgertner alexbaumgertner removed the Помогите Исполнитель задачи ищет помощи label Mar 1, 2019
@aleshkanet
Copy link
Contributor

Мне не совсем понятно как Gatsby будет кушать и yaml и md файлы в каталоге, наверное нужно писать некую кастомную вещь? Отдельно yaml грузить и даже соединять несколько фалов в один можно плагином, но я пока не видел решений, чтобы грузить солянку.

@alexbaumgertner
Copy link
Contributor Author

Кажется, я придумал, как организовать работу с md-файлами событий — нужно добавить поле type
GraphiQL__2019-04-06__21-16-10
web-standards-ru  ~:Projects:web-standards_new  -  :content:events:2018-12-01:speakers:alexander-baltsevich md  web-standards…__2019-04-06__21-16-58

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

В работе Задача в работу, можете предложить помощь

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants