Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
13 changes: 13 additions & 0 deletions apps/website/pages/patterns/error.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import Head from "next/head";
import ErrorPatternPage from "screens/patterns/error/ErrorPatternPage";

const Index = () => (
<>
<Head>
<title>Error pattern — Halstack Design System</title>
</Head>
<ErrorPatternPage />
</>
);

export default Index;
13 changes: 13 additions & 0 deletions apps/website/pages/patterns/login.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import Head from "next/head";
import LoginPatternPage from "screens/patterns/login/LoginPatternPage";

const Index = () => (
<>
<Head>
<title>Login pattern — Halstack Design System</title>
</Head>
<LoginPatternPage />
</>
);

export default Index;
13 changes: 13 additions & 0 deletions apps/website/pages/patterns/modals.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import Head from "next/head";
import ModalsPatternPage from "screens/patterns/modals/ModalsPatternPage";

const Index = () => (
<>
<Head>
<title>Modals pattern — Halstack Design System</title>
</Head>
<ModalsPatternPage />
</>
);

export default Index;
7 changes: 7 additions & 0 deletions apps/website/screens/common/pagesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ const v16Links: LinkDetails[] = [

const migrationLinks: LinksSectionDetails[] = [{ label: "v16", links: v16Links, icon: "deployed_code_update" }];

const patternsLinks: LinkDetails[] = [
{ label: "Error", path: "/patterns/error", icon: "error" },
{ label: "Login", path: "/patterns/login", icon: "login" },
{ label: "Modals", path: "/patterns/modals", icon: "feedback" },
];

const componentsLinks = componentsList as (LinkDetails | LinksSectionDetails)[];

export const LinksSections: LinksSectionDetails[] = [
Expand All @@ -75,6 +81,7 @@ export const LinksSections: LinksSectionDetails[] = [
{ label: "Foundations", links: foundationsLinks },
{ label: "Migration", links: migrationLinks },
{ label: "Utilities", links: utilitiesLinks },
{ label: "Patterns", links: patternsLinks },
{ label: "Components", links: componentsLinks },
];

Expand Down
Loading
Loading