New dark, interactive landing page with animated architecture stack#4
New dark, interactive landing page with animated architecture stack#4
Conversation
…d architecture stack Co-authored-by: einari <134365+einari@users.noreply.github.com>
|
@copilot nice. We do favor a dark theme for entire site. as for the fun part of showing the architecture revealing traits. It would be awesome if it would be a little bit more crazy. Animations are expected. Both while opening, hovering and the traits. The traits could be boxes themselves, spread out like cards - they cold drop out as an animation. You could take some inspiration from the vertical slices for the architecture boxes. go to town |
…crack animations, dark site default Co-authored-by: einari <134365+einari@users.noreply.github.com>
Done in commit Dark theme everywhere:
Architecture boxes — vertical slice feel:
"Crazy" open animation:
Feature cards:
Connector arrows:
Hero:
|
|
@copilot looks good. And double check the DocFX documentation . it would be much easier to work with. |
…ontent Co-authored-by: einari <134365+einari@users.noreply.github.com>
Done in The file is now straightforward to edit as clean HTML with no markdown-parser caveats. |
…ed scrolls in-page
- Watch: replace broken npm-watch/concurrently combo with dotnet docfx --serve --watch
- Theme: drop light/dark switching; enforce single dark theme site-wide with
indigo/violet palette matching the landing page (bg #090b16, accent #6366f1/#8b5cf6)
- Landing: rename index.html -> index.md so DocFX processes it through the
template; add _disableToc/_disableAffix/_disableBreadcrumb frontmatter for
full-width home page
- Hero: 'Get Started' button now scrolls smoothly to #getting-started instead
of navigating away; add html { scroll-behavior: smooth }
- docfx.json: update content section to reference index.md
CommonMark (Markdig) ends an HTML block at blank lines. Any subsequent line with 4+ spaces of indentation is treated as an indented code block. The cratis-arch-section had blank lines before 4-space-indented child divs, causing the entire <div class="cratis-stack"> tree to render as raw HTML source code in a <pre><code> block. Fix: remove blank lines that are immediately followed by 4+-space-indented HTML tags or comments, preventing the Markdown parser from ending the HTML block prematurely.


Replaces the minimal logo + paragraph landing page with a fully dark-themed, interactive page that leads with getting started and showcases the Cratis stack visually with dramatic animations.
Changes
main.jsnow setsdata-bs-theme=darkas the site default (respects saved user preferences), making the entire docfx site darkdotnet new install Cratis.Templates→dotnet new cratis -n MyApp) with dark glass cards, indigo accent borders, and copy-to-clipboard (Clipboard API +execCommandfallback)index.html(with a DocFX YAML front-matter block) instead ofindex.md;docfx.jsonupdated to include it as a content file. No markdown-parser workarounds needed and the file is straightforward to edit with any HTML tooling.Screenshots
Hero — dark starfield:

Getting Started & dark stack:

Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.