diff --git a/sites/fast-website/src/app/components/index.ts b/sites/fast-website/src/app/components/index.ts index 450a150d749..7f0ba1ebe1e 100644 --- a/sites/fast-website/src/app/components/index.ts +++ b/sites/fast-website/src/app/components/index.ts @@ -1,3 +1,4 @@ export { WebsiteDesignSystemProvider } from "./design-system-provider"; -export { FASTSectionHeader } from "./section-header"; +export { SiteSectionHeader } from "./section-header"; export { FastFrame } from "./fast-frame"; +export { SiteNavigation } from "./navigation"; diff --git a/sites/fast-website/src/app/components/navigation/index.ts b/sites/fast-website/src/app/components/navigation/index.ts new file mode 100644 index 00000000000..0d97549bb3f --- /dev/null +++ b/sites/fast-website/src/app/components/navigation/index.ts @@ -0,0 +1,14 @@ +import { customElement } from "@microsoft/fast-element"; +import { Navigation } from "./navigation"; +import { NavigationTemplate as template } from "./navigation.template"; +import { NavigationStyles as styles } from "./navigation.styles"; + +@customElement({ + name: "site-navigation", + template, + styles, +}) +export class SiteNavigation extends Navigation {} +export * from "./navigation.template"; +export * from "./navigation.styles"; +export * from "./navigation"; diff --git a/sites/fast-website/src/app/components/navigation/navigation.styles.ts b/sites/fast-website/src/app/components/navigation/navigation.styles.ts new file mode 100644 index 00000000000..edc36361464 --- /dev/null +++ b/sites/fast-website/src/app/components/navigation/navigation.styles.ts @@ -0,0 +1,18 @@ +import { css } from "@microsoft/fast-element"; +import { display, neutralForegroundRestBehavior } from "@microsoft/fast-components"; + +export const NavigationStyles = css` + ${display("flex")} :host { + justify-content: space-between; + font-family: var(--body-font); + color: var(--neutral-foreground-rest); + box-sizing: border-box; + width: 100%; + } + .start { + margin-inline-end: auto; + } + .end { + margin-inline-start: auto; + } +`.withBehaviors(neutralForegroundRestBehavior); diff --git a/sites/fast-website/src/app/components/navigation/navigation.template.ts b/sites/fast-website/src/app/components/navigation/navigation.template.ts new file mode 100644 index 00000000000..c00f0b8044d --- /dev/null +++ b/sites/fast-website/src/app/components/navigation/navigation.template.ts @@ -0,0 +1,13 @@ +import { html } from "@microsoft/fast-element"; +import { Navigation } from "./navigation"; +import { startTemplate, endTemplate } from "@microsoft/fast-components"; + +export const NavigationTemplate = html` + +`; diff --git a/sites/fast-website/src/app/components/navigation/navigation.ts b/sites/fast-website/src/app/components/navigation/navigation.ts new file mode 100644 index 00000000000..44e5224b2ea --- /dev/null +++ b/sites/fast-website/src/app/components/navigation/navigation.ts @@ -0,0 +1,8 @@ +import { FASTElement } from "@microsoft/fast-element"; +import { applyMixins, StartEnd } from "@microsoft/fast-components"; + +export class Navigation extends FASTElement {} + +/* eslint-disable-next-line */ +export interface Navigation extends StartEnd {} +applyMixins(Navigation, StartEnd); diff --git a/sites/fast-website/src/app/components/section-header/index.ts b/sites/fast-website/src/app/components/section-header/index.ts index cb6356397a8..d9706579c6e 100755 --- a/sites/fast-website/src/app/components/section-header/index.ts +++ b/sites/fast-website/src/app/components/section-header/index.ts @@ -4,11 +4,11 @@ import { SectionHeaderTemplate as template } from "./section-header.template"; import { SectionHeaderStyles as styles } from "./section-header.styles"; @customElement({ - name: "fast-section-header", + name: "site-section-header", template, styles, }) -export class FASTSectionHeader extends SectionHeader {} +export class SiteSectionHeader extends SectionHeader {} export * from "./section-header.template"; export * from "./section-header.styles"; export * from "./section-header"; diff --git a/sites/fast-website/src/app/components/section-header/section-header.styles.ts b/sites/fast-website/src/app/components/section-header/section-header.styles.ts index e2906c614e2..2d3008f5180 100755 --- a/sites/fast-website/src/app/components/section-header/section-header.styles.ts +++ b/sites/fast-website/src/app/components/section-header/section-header.styles.ts @@ -1,4 +1,4 @@ -import { display } from "@microsoft/fast-components"; +import { display, neutralForegroundRestBehavior } from "@microsoft/fast-components"; import { css } from "@microsoft/fast-element"; export const SectionHeaderStyles = css` @@ -9,4 +9,4 @@ export const SectionHeaderStyles = css` box-sizing: border-box; text-align: center; } -`; +`.withBehaviors(neutralForegroundRestBehavior); diff --git a/sites/fast-website/src/app/css/style.css b/sites/fast-website/src/app/css/style.css index 392b70ffc2e..06d390639d7 100644 --- a/sites/fast-website/src/app/css/style.css +++ b/sites/fast-website/src/app/css/style.css @@ -27,6 +27,10 @@ body { height: 80px; } +.header-navigation-item { + margin: 0 30px; +} + .section { grid-column: 2; } @@ -46,21 +50,6 @@ body { height: 600px; } -.footer { - grid-column: 2; - height: 240px; - margin-top: 100px -} - -.footer-links { - display: flex; - justify-content: space-between; -} - -.footer-copyright-group { - display: flex; -} - .section-badge { color: var(--accent-fill-rest); font-weight: bold; @@ -77,3 +66,18 @@ body { line-height: 56px; margin: 0; } + +.divider { + grid-column: 2; + margin-top: 100px; + margin-bottom: 60px; +} + +.footer { + grid-column: 2; + margin-bottom: 84px; +} + +.footer-navigation-item { + margin-inline-end: 50px; +} diff --git a/sites/fast-website/src/public/index.html b/sites/fast-website/src/public/index.html index b4519e8f3e6..391c5f82996 100644 --- a/sites/fast-website/src/public/index.html +++ b/sites/fast-website/src/public/index.html @@ -14,38 +14,43 @@
- Logo - - Github + + FAST + Components + Integration + Documentation + Community + + Github + + + + +
- + ADAPTIVE UI SYSTEM, UTILITIES, & TOOLS

The adaptive interface system for modern web experiences

Interfaces bult with FAST adapt to your design system and can be used with any modern UI Framework by leveraging industry standard Web Components.

Get start -
+
- + FLEXIBLE AND ADAPTABLE

One component, many faces

Using an unopinionated architecture and Adaptive Styling, one suite of components can blend into any environment.

Explore components -
+
@@ -57,11 +62,11 @@
- + FULLY INTEGRATED

Works with existing frameworks

Learn more -
+
@@ -75,11 +80,11 @@
- + A COMPREHENSIVE TOOLKIT

Feature and Utilities

Read documentation -
+
@@ -93,10 +98,10 @@
- + LEARN, MODIFY AND FOLLOW

Join the community

-
+
@@ -109,22 +114,16 @@ -
- - Logo - -
+ +