Skip to content

Commit ce2d2f8

Browse files
kimberleyamackenziepulumi-botCamSopergithub-actions[bot]claude
authored
Implement "Neo Mode" for the marketing site homepage (#16247)
* Neo mode first draft * Second draft * Clean up and adjust styles * Mobile responsiveness * Animation * Feedback and suggestion pills draft * Hide copilot from homepage in favor of Neo takeover * Move JS to separate file * Update suggestions * Regen dev version [email protected] * Reorganize documentation and unify navigation menu (#16119) * Finally got the menu working * Breadcrumbs and docs home * Menus and breadcrumbs lookin good * refactor: clean up unused partials and styles in documentation layout * refactor: remove is_overview flag from documentation index files * Remove generated files from source control * Remove generated assets from git tracking * refactor: remove PulumiTV playlists and support section from documentation index * Layout tweaks * feat: update documentation layout and styles for improved navigation * style: adjust navigation styles for improved hover effects and spacing * review feedback (thanks, Claude!) * style: remove expanded menu IDs from documentation index files * New menu structure basically working * style: remove section headers from documentation index files for consistency * fix: correct current section for home path and update menu structure * Moved get started -- AWS working, others not so much * Get started menu all moved * feat: add content migration and discovery scripts for documentation restructuring * Restored top nav * WIP, moved ESC Get Started, fixed script to move files. * WIP, moved ESC Get Started, fixed script to move files. * feat: add comprehensive content migration agent specification for Pulumi documentation * Reorg Getting Started menu * Reorg Getting Started menu * fix: update "Get Started" links to point to the new IaC documentation paths * fix: update "Get Started" link to correct path in ESC walkthrough note * fix: simplify breadcrumb logic by removing unnecessary condition * weights * Move insights getting started * fix: correct regex for updating nested menu section in migration script * Moved "Adopting Pulumi" to "Migrating to Pulumi" * Moved Download & Install * Add missing aliases for moved files Added aliases for 6 moved files to ensure proper URL redirects: - content/docs/get-started/iac/_index.md - content/docs/get-started/insights/account-management.md - content/docs/get-started/insights/add-policies.md - content/docs/get-started/insights/begin.md - content/docs/get-started/insights/create-accounts.md - content/docs/get-started/insights/using-resource-explorer.md Co-authored-by: Cam Soper <[email protected]> * Reorganizing docs architecture (#16074) * Finally got the menu working * Breadcrumbs and docs home * Menus and breadcrumbs lookin good * refactor: clean up unused partials and styles in documentation layout * refactor: remove is_overview flag from documentation index files * Remove generated files from source control * Remove generated assets from git tracking * refactor: remove PulumiTV playlists and support section from documentation index * Layout tweaks * feat: update documentation layout and styles for improved navigation * style: adjust navigation styles for improved hover effects and spacing * review feedback (thanks, Claude!) * style: remove expanded menu IDs from documentation index files * New menu structure basically working * style: remove section headers from documentation index files for consistency * fix: correct current section for home path and update menu structure * Moved get started -- AWS working, others not so much * Get started menu all moved * feat: add content migration and discovery scripts for documentation restructuring * Restored top nav * WIP, moved ESC Get Started, fixed script to move files. * WIP, moved ESC Get Started, fixed script to move files. * feat: add comprehensive content migration agent specification for Pulumi documentation * Reorg Getting Started menu * Reorg Getting Started menu * fix: update "Get Started" links to point to the new IaC documentation paths * fix: update "Get Started" link to correct path in ESC walkthrough note * fix: simplify breadcrumb logic by removing unnecessary condition * weights * Move insights getting started * fix: correct regex for updating nested menu section in migration script * Moved "Adopting Pulumi" to "Migrating to Pulumi" * Moved Download & Install * Add missing aliases for moved files Added aliases for 6 moved files to ensure proper URL redirects: - content/docs/get-started/iac/_index.md - content/docs/get-started/insights/account-management.md - content/docs/get-started/insights/add-policies.md - content/docs/get-started/insights/begin.md - content/docs/get-started/insights/create-accounts.md - content/docs/get-started/insights/using-resource-explorer.md Co-authored-by: Cam Soper <[email protected]> --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Cam Soper <[email protected]> * Moved IDP Get Started * Update weight for Internal Developer Platform menu item * Moved Resource Options * Adjust menu weights for Miscellaneous and State & Backends concepts * Fix missing trailing slashes in aliases for moved ESC and Insights files All moved files from the docs reorganization now have proper aliases with trailing slashes as required by the repository guidelines: - Fixed 8 ESC files: Added trailing slash to aliases pointing to /docs/esc/get-started/* paths - Fixed 5 Insights files: Added trailing slash to aliases pointing to /docs/insights/get-started/* paths This ensures proper redirects from old URLs to new locations after the content reorganization. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Cam Soper <[email protected]> * Guide section * Comparisons * First pass at moving Insights/Policy -- WIP * lint fix * Remove unused search and top navigation partials from the documentation layout * Increase width and max-width of the main content area for better layout on larger screens * Moved IaC GetStarted back * Moved ESC get started back * Moved Insights and IDP Get Starteds back * More sorting of iac * Moved neo and copilot * platform features * Reorganize platform features section in menu * Created Admin section * wip, admin & platform (cloud) * more WIP * IaC Guides * Fixed relref * Polished Landing Pages * Landing pages * Better heading for get started * Fix title case * ESC tweaks * Headers * Nav menu adjustments & Admin section * Update header and description for clarity on Pulumi Cloud Platform * Alias verification script * Updates to script for repeatability * Alias fix * Renamed platforms to deployments * Menus and breadcrumb fixes * IaC landing page and some menu tweaks, all pages covered. * Landing page fixes * More landing page love * Insights Cleanup * Landing page cleanup, new .NET logo * Work on warnings * Update menu items to include arrows for SDK documentation links * Update heading for AI section to 'Infrastructure AI' for clarity * Rearrange sections in documentation index for better clarity and organization * Increase maximum width of paragraph in docs home section for improved readability * Add "Infrastructure as Code" to ancestors and update synonyms in search settings * Fix expanding CLI menus * Rename Approvals.md to approvals.md for case consistency * Update overview label in documentation for consistency * Update overview link logic in menu and adjust paragraph width in home styles * Refine .NET documentation for clarity and consistency in language usage * unneeded agent instruction * Update tutorials link in menu to use relative path * Update tutorials heading to include arrow and remove unused section in menu logic * Add Registry section to documentation and menus for package browsing * Add visual placeholder for search box in development environment * Fix style guide violations - Remove trailing spaces from two content files - Fix heading capitalization in RBAC docs (H2+ should use sentence case) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]> Co-authored-by: Cam Soper <[email protected]> --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Cam Soper <[email protected]> Co-authored-by: Claude <[email protected]> * add task mode details (#16246) * add task mode details * claude nits --------- Co-authored-by: Cam <[email protected]> * Fix merge conflicts * Language update * Update overlay in takeover mode, prevent pointer actions * Rebase * Adjust badge per request; add signup default for link * Add click tracking --------- Co-authored-by: Pulumi Bot <[email protected]> Co-authored-by: Cam Soper <[email protected]> Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Cam Soper <[email protected]> Co-authored-by: Claude <[email protected]> Co-authored-by: Mark <[email protected]> Co-authored-by: Cam <[email protected]>
1 parent ea5452e commit ce2d2f8

File tree

12 files changed

+739
-210
lines changed

12 files changed

+739
-210
lines changed

layouts/index.html

Lines changed: 271 additions & 207 deletions
Large diffs are not rendered by default.

static/icons/pdi-neo-purple.svg

Lines changed: 7 additions & 0 deletions
Loading

static/icons/toggle-off.svg

Lines changed: 18 additions & 0 deletions
Loading

static/icons/toggle-on.svg

Lines changed: 18 additions & 0 deletions
Loading

static/latest-dev-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.204.0-alpha.xf6b4a84
1+
3.204.0-alpha.xf6b4a84

theme/src/scss/_header.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
@apply relative;
207207

208208
.header-nav-drop-down-menu {
209-
@apply w-full absolute hidden mt-5 pt-3 top-0 z-20;
209+
@apply w-full absolute hidden mt-5 pt-3 top-0 z-50;
210210
min-width: fit-content;
211211
ul {
212212
@apply bg-white text-left rounded shadow-3xl p-5 whitespace-nowrap;

theme/src/scss/_marketing.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,12 @@ body {
189189
background:linear-gradient(90deg, #be5188 0%, #805ac3 100%)
190190
}
191191
}
192+
193+
// This hides Copilot on the home page, where we have a "Neo takeover" experience.
194+
// The section classes are generated based on the folder the page is located in, and our home page exists outside
195+
// a folder, hence "section-".
196+
.section- {
197+
pulumi-copilot {
198+
display: none;
199+
}
200+
}

theme/src/scss/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
@import "components/pulumi-tertiary-nav";
8787
@import "components/user-toggle";
8888
@import "components/tabs";
89+
@import "neo-mode";
8990

9091
h1,
9192
h2,

theme/src/scss/marketing/_developer-advocates.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
@apply relative cursor-pointer;
5757

5858
.header-nav-drop-down-menu {
59-
@apply w-full absolute hidden min-w-max pt-6 top-2 z-10;
59+
@apply w-full absolute hidden min-w-max pt-6 top-2 z-50;
6060

6161
ul {
6262
@apply bg-white text-left rounded shadow-xl py-2 whitespace-nowrap border border-black;

0 commit comments

Comments
 (0)