Skip to content

Commit

Permalink
Enterprise landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed May 4, 2020
1 parent 69d62f7 commit d3a403d
Show file tree
Hide file tree
Showing 5 changed files with 672 additions and 0 deletions.
13 changes: 13 additions & 0 deletions site/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ export namespace Components {
'pages'?: string[];
}

interface CapacitorEnterprise {}
interface CapacitorEnterpriseAttributes extends StencilHTMLAttributes {}

interface InPageNavigation {
'currentPageUrl': string;
'pageLinks': MarkdownHeading[];
Expand Down Expand Up @@ -151,6 +154,7 @@ declare global {
'DemosPage': Components.DemosPage;
'DocSnippet': Components.DocSnippet;
'DocumentComponent': Components.DocumentComponent;
'CapacitorEnterprise': Components.CapacitorEnterprise;
'InPageNavigation': Components.InPageNavigation;
'LandingPage': Components.LandingPage;
'LowerContentNav': Components.LowerContentNav;
Expand All @@ -172,6 +176,7 @@ declare global {
'demos-page': Components.DemosPageAttributes;
'doc-snippet': Components.DocSnippetAttributes;
'document-component': Components.DocumentComponentAttributes;
'capacitor-enterprise': Components.CapacitorEnterpriseAttributes;
'in-page-navigation': Components.InPageNavigationAttributes;
'landing-page': Components.LandingPageAttributes;
'lower-content-nav': Components.LowerContentNavAttributes;
Expand Down Expand Up @@ -243,6 +248,12 @@ declare global {
new (): HTMLDocumentComponentElement;
};

interface HTMLCapacitorEnterpriseElement extends Components.CapacitorEnterprise, HTMLStencilElement {}
var HTMLCapacitorEnterpriseElement: {
prototype: HTMLCapacitorEnterpriseElement;
new (): HTMLCapacitorEnterpriseElement;
};

interface HTMLInPageNavigationElement extends Components.InPageNavigation, HTMLStencilElement {}
var HTMLInPageNavigationElement: {
prototype: HTMLInPageNavigationElement;
Expand Down Expand Up @@ -302,6 +313,7 @@ declare global {
'demos-page': HTMLDemosPageElement
'doc-snippet': HTMLDocSnippetElement
'document-component': HTMLDocumentComponentElement
'capacitor-enterprise': HTMLCapacitorEnterpriseElement
'in-page-navigation': HTMLInPageNavigationElement
'landing-page': HTMLLandingPageElement
'lower-content-nav': HTMLLowerContentNavElement
Expand All @@ -323,6 +335,7 @@ declare global {
'demos-page': HTMLDemosPageElement;
'doc-snippet': HTMLDocSnippetElement;
'document-component': HTMLDocumentComponentElement;
'capacitor-enterprise': HTMLCapacitorEnterpriseElement;
'in-page-navigation': HTMLInPageNavigationElement;
'landing-page': HTMLLandingPageElement;
'lower-content-nav': HTMLLowerContentNavElement;
Expand Down
4 changes: 4 additions & 0 deletions site/src/components/capacitor-site/capacitor-site.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ export class App {
<document-component page='/docs/'></document-component>
)}/>

<stencil-route url="/enterprise/" exact={true} routeRender={() => (
<capacitor-enterprise />
)}/>

<stencil-route url="/docs/:pageName*" routeRender={({ match }) => (
<document-component page={match.url}></document-component>
)}/>
Expand Down
Loading

0 comments on commit d3a403d

Please sign in to comment.