From fb274583274cad69e01fa09d5b375d94cc76d270 Mon Sep 17 00:00:00 2001 From: Kham Udom Date: Thu, 7 May 2020 15:14:14 -0700 Subject: [PATCH] swap default with badge slot. update component implementation on page --- .../section-header/section-header.styles.ts | 3 ++- .../section-header/section-header.template.ts | 2 +- sites/fast-website/src/public/index.html | 20 +++++++++---------- sites/fast-website/src/public/style.css | 16 +++++++++++++++ 4 files changed, 29 insertions(+), 12 deletions(-) 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 66a0232b31e..17f67780580 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 @@ -2,7 +2,8 @@ import { css } from "@microsoft/fast-element"; import { display } from "@microsoft/fast-components"; export const SectionHeaderStyles = css` - ${display("block")} :host { + ${display("flex")} :host { + flex-direction: column; font-family: var(--body-font); color: var(--neutral-foreground-rest); box-sizing: border-box; diff --git a/sites/fast-website/src/app/components/section-header/section-header.template.ts b/sites/fast-website/src/app/components/section-header/section-header.template.ts index fccdf120d7a..89c56e26126 100755 --- a/sites/fast-website/src/app/components/section-header/section-header.template.ts +++ b/sites/fast-website/src/app/components/section-header/section-header.template.ts @@ -3,8 +3,8 @@ import { SectionHeader } from "./section-header"; export const SectionHeaderTemplate = html` diff --git a/sites/fast-website/src/public/index.html b/sites/fast-website/src/public/index.html index f6380effce8..e483206d609 100644 --- a/sites/fast-website/src/public/index.html +++ b/sites/fast-website/src/public/index.html @@ -26,8 +26,8 @@
-
ADAPTIVE UI SYSTEM, UTILITIES, & TOOLS
-

The adaptive interface system for modern web experiences

+ 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
@@ -38,8 +38,8 @@

The adaptive interface system for modern web experiences

-
FLEXIBLE AND ADAPTABLE
-

One component, many faces

+ 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
@@ -59,8 +59,8 @@

One component, many faces

-
FULLY INTEGRATED
-

Works with existing frameworks

+ FULLY INTEGRATED +

Works with existing frameworks

Learn more
@@ -77,8 +77,8 @@

Works with existing frameworks

-
A COMPREHENSIVE TOOLKIT
-

Feature and Utilities

+ A COMPREHENSIVE TOOLKIT +

Feature and Utilities

Read documentation
@@ -95,8 +95,8 @@

Feature and Utilities

-
LEARN, MODIFY AND FOLLOW
-

Join the community

+ LEARN, MODIFY AND FOLLOW +

Join the community

diff --git a/sites/fast-website/src/public/style.css b/sites/fast-website/src/public/style.css index f5af733fa81..272878184fa 100644 --- a/sites/fast-website/src/public/style.css +++ b/sites/fast-website/src/public/style.css @@ -49,4 +49,20 @@ body { .footer-copyright-group { display: flex; +} + +.section-badge { + font-weight: bold; +} + +.section-heading-hero { + font-size: 60px; + line-height: 72px; + margin: 0; +} + +.section-heading { + font-size: 46px; + line-height: 56px; + margin: 0; } \ No newline at end of file