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