|
| 1 | +--- |
| 2 | +title: Announcing New GraphQL Website |
| 3 | +tags: [announcements] |
| 4 | +date: 2024-04-11 |
| 5 | +byline: Dimitri POSTOLOV & Uri GOLDSHTEIN |
| 6 | +--- |
| 7 | + |
| 8 | +Hi, everyone! I'm [Dimitri POSTOLOV](https://x.com/dimaMachina_) from |
| 9 | +[The Guild](https://the-guild.dev), and today I'm excited to announce the new [GraphQL.org](/) |
| 10 | +website. |
| 11 | + |
| 12 | +2 weeks ago, we released a new GraphQL website. We've been working on this for about 2 months, and |
| 13 | +we're excited to share it with you. |
| 14 | + |
| 15 | +## A Little Dive into History |
| 16 | + |
| 17 | +An initial version of GraphQL.ORG v0 was created [almost 8 years ago](https://github.com/graphql/graphql.github.io/pull/76) by [Lee BYRON](https://x.com/leeb) in 2016. |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +<p className="text-center">An initial version of GraphQL.ORG v0</p> |
| 22 | + |
| 23 | +Later, [after 4 years in 2020](https://github.com/graphql/graphql.github.io/pull/896), the website was migrated to Gatsby by The Guild members [Saihajpreet SINGH](https://x.com/singh_saihaj) and |
| 24 | +[Arda TANRIKULU](https://x.com/ardatanrikulu). |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | +<p className="text-center">GraphQL.ORG v1 x Gatsby</p> |
| 29 | + |
| 30 | +All of us GraphQL developers spent a lot of time learning this language from the "Learn" page, which is shown below, and you definitely remember it! |
| 31 | + |
| 32 | +> Also, we all hated visiting this page at night due to the lack of a night theme. <span className="not-italic">😅</span> |
| 33 | +
|
| 34 | + |
| 35 | + |
| 36 | +<p className="text-center">GraphQL.ORG Learn page x Gatsby</p> |
| 37 | + |
| 38 | +With the new website, we've made a lot of improvements, including a dark theme, below how the "Learn" page looks like: |
| 39 | + |
| 40 | +<div className="mt-6 dark:even:[&_img]:hidden odd:[&_img]:hidden dark:odd:[&_img]:block"> |
| 41 | + <></> |
| 42 | + <></> |
| 43 | + <p className="text-center">GraphQL.ORG Learn page x Nextra</p> |
| 44 | +</div> |
| 45 | + |
| 46 | +## What's New |
| 47 | + |
| 48 | +Here is a recap of the new features and improvements we've made to the website: |
| 49 | + |
| 50 | +### Migration to Nextra 3 & Vercel |
| 51 | + |
| 52 | +We migrated from Gatsby & Netlify to [Nextra](https://nextra.vercel.app) and [Next.js](https://nextjs.org). |
| 53 | +We chose Nextra because it's a great tool for building documentation websites, also [The Guild](https://the-guild.dev) maintains and improves it continuously. |
| 54 | +This migration helped us to improve the website's performance and bundle size. |
| 55 | + |
| 56 | +This migration was the final part before releasing the upcoming Nextra version. You can read my blog post |
| 57 | +about Nextra 3 in [The Guild blog](https://the-guild.dev/blog/nextra-3). Recently, we migrated all |
| 58 | +The Guild documentation websites to Nextra 3, and we can assume that it's stable for production. |
| 59 | + |
| 60 | +Also, at the same time while migrating this website, I started to work on the future Nextra 4 version |
| 61 | +with [app router support](https://nextjs.org/docs/app). |
| 62 | +Once the first Nextra 4 alpha is out, this website be updated too! |
| 63 | + |
| 64 | +### New Search Engine |
| 65 | + |
| 66 | +A search was migrated from Algolia to Nextra's built-in search [Flexsearch](https://github.com/nextapps-de/flexsearch) |
| 67 | + |
| 68 | +### Light and Dark Themes |
| 69 | + |
| 70 | +For the first time, since the creation of GraphQL.ORG, we have a dark theme! You can switch between light and dark themes using the toggle in the top right corner. |
| 71 | + |
| 72 | +### Improved Accessibility |
| 73 | + |
| 74 | +Accessibility and contrast mode have been improved to make the website more accessible. |
| 75 | + |
| 76 | +### Better Bundle Size and First Load Time |
| 77 | + |
| 78 | +The new website has a better bundle size and first load time compared to the previous version. |
| 79 | + |
| 80 | +### New [/code](/code) and [/community](/community) Pages |
| 81 | + |
| 82 | +We are excited to show [the new Code](/code) page which was renamed to "Tools and Libraries". You can read in the [GitHub repo](https://github.com/graphql/graphql.github.io/blob/source/notes/ContributingToCodePage.md) |
| 83 | +how to contribute to this page and add your library or tool. |
| 84 | + |
| 85 | +[The community](/community) page was redesigned and restructured. And now you can find all community resources in one place. |
| 86 | + |
| 87 | +### New [/conf](/conf) Page for GraphQLConf 2024 |
| 88 | + |
| 89 | +With the new website, we are excited to announce the upcoming GraphQLConf 2024. More info can be read on |
| 90 | +[GraphQLConf 2024 page](/conf/2024) or in [the official announcement blogpost](/blog/2024-03-28-announcing-graphqlconf-2024). |
| 91 | + |
| 92 | +> Also, you can check [the previous conference GraphQLConf 2023](/conf/2023). |
| 93 | +
|
| 94 | +## Conclusion |
| 95 | + |
| 96 | +When I started to learn GraphQL in 2018 I could never imagine that one day I would be working on this |
| 97 | +migration! I am excited to be a part of this journey and finally release the new website which is much |
| 98 | +better than the previous 🥳. |
| 99 | + |
| 100 | +Subscribe to me in [X](https://x.com/dimaMachina_) and |
| 101 | +[GitHub](https://github.com/dimaMachina) and see you in GraphQLConf 2024 🚀. |
0 commit comments