Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/web/custom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ declare module "*.png" {
export default src;
}

declare module "*.jpg" {
const src: string;
export default src;
}

declare module "*.css" {
const classes: { [key: string]: string };
export default classes;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
641 changes: 641 additions & 0 deletions packages/web/src/components/UserGuide/content/about.tsx

Large diffs are not rendered by default.

391 changes: 391 additions & 0 deletions packages/web/src/components/UserGuide/content/app-information.tsx

Large diffs are not rendered by default.

1,073 changes: 1,073 additions & 0 deletions packages/web/src/components/UserGuide/content/getting-started.tsx

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aswallace Could you verify and rewrite any portion of the provenance information that is wrong or could use more information etc.?

Large diffs are not rendered by default.

29 changes: 24 additions & 5 deletions packages/web/src/components/UserGuide/content/index.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,36 @@
// Content is split into per-section files to keep each file focused and reviewable.
// To add a new page: add its entry to the relevant section file.
//
// NOTE: This engine PR ships a single seed section (Other resources) so the
// renderer, navigation, and routing can be reviewed against real content. The
// remaining sections (About, Real world use, App information, Getting started)
// land in the follow-up content PR, which expands the list below.

export type { NavigationGroup, Page } from "./types";

import { ABOUT_CONTENT } from "./about";
import { APP_INFORMATION_CONTENT } from "./app-information";
import { GETTING_STARTED_CONTENT } from "./getting-started";
import { OTHER_RESOURCES_CONTENT } from "./other-resources";
import { REAL_WORLD_USE_CASES_CONTENT } from "./real-world-use-cases";
import { GroupSlug, NavigationGroup } from "./types";

export const CONTENT: NavigationGroup[] = [
{
slug: GroupSlug.About,
title: "About",
pages: ABOUT_CONTENT,
},
{
slug: GroupSlug.RealWorldUseCases,
title: "Real world use",
pages: REAL_WORLD_USE_CASES_CONTENT,
},
{
slug: GroupSlug.AppInformation,
title: "App information",
pages: APP_INFORMATION_CONTENT,
},
{
slug: GroupSlug.GettingStarted,
title: "Getting started",
pages: GETTING_STARTED_CONTENT,
},
{
slug: GroupSlug.OtherResources,
title: "Other resources",
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/web/webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module.exports = ({ analyze, production } = {}) => ({
],
},
{
test: /\.png/,
test: /\.(png|jpe?g)/,
Comment thread
lynwilhelm marked this conversation as resolved.
type: "asset/resource",
},
],
Expand Down
Loading