3.9 KiB
Public website
The public website uses Views/Shared/_PublicLayout.cshtml and the scoped wwwroot/css/public-site.css. Views/_ViewStart.cshtml selects it for Home/Index, Public, Help, Account and Pricing/Index. Application and checkout/result pages retain their existing layout.
Public pages always use the paper/ink palette, including in installed windows and for signed-in users. They do not load application navigation or apply appearance preferences. Normal-browser authentication uses this same public design. Installed authentication uses public-auth-theme.js, the existing display-mode detector, and the application palette: signed-in account preference first, then the last device preference, then the legacy light/dark preference, then warm light. The Word Companion's separate login presentation is preserved.
plotdirector.applicationTheme stores only a non-sensitive theme identifier. The application shell updates it as the author changes theme; no authentication or subscription state is cached there.
Editorial art direction
wwwroot/css/public-art-direction.css adds the Home/Tour compositions on top of the shared public system. The busy sections use layered paper, scattered questions and CSS crops of the genuine application captures. Keep the original single-view treatment and generous spacing in “I just want to write”, the philosophy section and the final call to action. The dark green application reveal and Tour plot-lines stop provide the product crescendo; their colours are local to those sections.
The UI fragments are crops of the existing fictional screenshots, not invented product components. Keep a full-size image link with each product composition, and check the overlapping layers at phone and tablet widths before changing their positions.
Browser checks and product images
From the repository root, after building:
dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj -- --toolbar-browser-host
In a second terminal:
node PlotLine.Tests/Browser/public-site.cjs
node PlotLine.Tests/Browser/public-site-capture.cjs
node PlotLine.Tests/Browser/public-social-image.cjs
These commands use the existing Playwright dependency in PlotLine.Tests/Browser. The host is loopback-only and uses in-memory fixtures. It never connects to a database, starts background analysis, creates real accounts or calls Stripe. Test-only public prices are illustrative; production pricing still comes from the original Pricing controller/model.
The ten JPEG files in wwwroot/images/public are captures of real compiled application Razor views in standalone presentation, using fictional demonstration data. The plot map uses PublicWebsiteFixtures.PlotMap(): eight scenes and three populated plot lines. The remaining captures use the existing toolbar/scene fixture host. Do not substitute live manuscript exports or user accounts when refreshing these public assets. The homepage manuscript fragment is an HTML illustration, not a purported screenshot.
The capture script uses actual application controls and actual focused-editor Razor fragments. It does not redraw UI. The small editor requests are served by the isolated fixture host. Marketing screenshot links open the full-size image for inspection.
The guided manuscript import currently uses the Microsoft Word Companion. The scene workspace supplies notes, planning and drafting support; marketing must not imply a standalone prose editor or that PlotDirector writes the author's book.
The social-image script renders the PlotDirector editorial identity into wwwroot/images/public/plotdirector-social.png and the legacy wwwroot/og-image.png (1200 × 630). The new default URL avoids reusing cached previews of the old branding. It replaces the legacy image whose baked-in text used the incorrect product name. Product branding must always be PlotDirector.
No development-service or production deployment is part of these commands.