feat(docs-improvements): Homepage redesign pt 1#5873
Conversation
✅ Deploy Preview for kongdeveloper ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR is the first part of a homepage redesign for the Kong Developer docs site, moving the homepage to a new section-based layout driven by a reorganized app/_data/homepage.yml.
Changes:
- Reworked the homepage layout in
app/index.html(new hero, agent/CLI section, product section, featured API specs, “What’s new”, and AI query chips). - Updated the Markdown-rendered homepage variant in
app/index.md.htmlto match the new section model. - Restructured homepage content data in
app/_data/homepage.yml(hero, agents section, product categories, featured API specs, and release entries) and adjusted the featured ribbon text color inapp/_includes/card.html.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| app/index.md.html | Replaces the old sections loop with explicit homepage sections backed by the new data model. |
| app/index.html | Implements the new redesigned homepage UI and wiring for AI “chip” queries. |
| app/_includes/card.html | Adjusts featured ribbon text color for improved theme styling. |
| app/_data/homepage.yml | Introduces the new structured homepage data model (hero, agents/CLI cards, products, specs, and what’s new). |
| <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
| <path d="M20 12.0884V12.4355C15.7128 12.4355 14.5598 16.2296 14.5598 19.3252H14.2229C14.2229 16.2296 12.8732 12.4355 8.78272 12.4355V12.0884C13.497 12.0884 14.2229 8.29432 14.2229 5.19878H14.5598C14.5598 8.29432 15.2977 12.0884 20 12.0884ZM7.28629 11.0361C7.28629 9.27503 7.94267 7.11656 10.3813 7.11656V6.91952C7.70577 6.91952 7.28629 4.76104 7.28629 3H7.09502C7.09502 4.76104 6.68206 6.91952 4 6.91952V7.11656C6.32779 7.11656 7.09502 9.27503 7.09502 11.0361H7.28629ZM9.21089 14.1529H9.04788C9.04788 15.6531 8.69578 17.4925 6.41038 17.4925V17.6604C8.39367 17.6604 9.04788 19.4998 9.04788 21H9.21089C9.21089 19.4998 9.76948 17.6604 11.8484 17.6604V17.4925C9.56843 17.4925 9.21089 15.6531 9.21089 14.1529Z" fill="rgb(var(--color-text-secondary)"/> | ||
| </svg> | ||
| <span class="text-sm">Ask AI for concepts, guides, and tutorials</span> |
There was a problem hiding this comment.
| <span class="text-sm">Ask AI for concepts, guides, and tutorials</span> | |
| <span class="text-sm">What do you want to build?</span> |
We have suggested topics below, I wanted to give this more of a vibe that Claude already does with the "What can I help you with today?" when you open a fresh chat.
Hopefully this makes it easier for someone to know "oh, I can explain what I'm trying to build here" vs "what sort of concept should I ask about?". Feels more action-oriented.
There was a problem hiding this comment.
In a vacuum, I like this idea, but it looks weird right after the page title of "What do you want to accomplish?"
There was a problem hiding this comment.
| <span class="text-sm">Ask AI for concepts, guides, and tutorials</span> | |
| <span class="text-sm">Search concepts, guides, and tutorials</span> |
Good point. I've suggested an edit to the H1. FWIW, I think the h1 introduces the Ask AI well, but not the rest of the page.
The h1 + Ask AI chatbot is asking what you want to accomplish.
The following h2s share tools you can use and list products, they don't really tell you how to accomplish use cases, they just give you tools to do so.
| title: "From edge to agent" | ||
| title_italic: "agent" | ||
| categories: | ||
| - name: Connectivity |
There was a problem hiding this comment.
IMO (and this is a can of worms that cannot be solved before release, so not blocking) we focus too much on listing stuff out by product.
I wonder if this, and the whole docs set, would benefit from more of a "what are you trying to do" vs. "pick your product" focus.
There was a problem hiding this comment.
Definitely a can of worms that we're not ready for. The focus for now has to be the CLIs + agent tools section
| - text: All documentation | ||
| url: /index/catalog/ | ||
| products_section: | ||
| title: "From edge to agent" |
There was a problem hiding this comment.
| title: "From edge to agent" | |
| title: "Manage the entire AI connectivity layer" |
I'm not quite happy with this revision. Point being, I wanted something about how this is the AI connectivity path in one central (ish) area, so you can manage the entire path.
| - product: gateway | ||
| version_override: "3.15.0.0" | ||
| changelog_url: /gateway/changelog/ | ||
| - product: event-gateway |
There was a problem hiding this comment.
| - product: event-gateway | |
| - product: konnect | |
| changelog_url: https://releases.konghq.com/ | |
| - product: event-gateway |
I don't know if this will work, but it felt odd to have nothing for Konnect
There was a problem hiding this comment.
Let me play around with this a bit.
Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
| <p class="font-mono text-xs uppercase tracking-widest text-terciary m-0">Kong Developer · <span class="bg-brand text-button px-1">Documentation</span></p> | ||
| <div class="flex flex-col gap-4"> | ||
| <h1 class="font-extrabold text-[72px] leading-[84px] [contain:layout:style]"> | ||
| What do you want to <br><em class="text-primary dark:text-brand italic">accomplish?</em> |
There was a problem hiding this comment.
| What do you want to <br><em class="text-primary dark:text-brand italic">accomplish?</em> | |
| What do you want to <br><em class="text-primary dark:text-brand italic">build?</em> |
https://deploy-preview-5873--kongdeveloper.netlify.app/