diff --git a/packages/typescriptlang-org/src/components/index/AboveTheFold.tsx b/packages/typescriptlang-org/src/components/index/AboveTheFold.tsx index 548c1dbafbd1..b17c6f88f7d4 100644 --- a/packages/typescriptlang-org/src/components/index/AboveTheFold.tsx +++ b/packages/typescriptlang-org/src/components/index/AboveTheFold.tsx @@ -9,8 +9,8 @@ const Row = (props: { children: any, className?: string }) =>
{props.children}
const Col2 = (props: { children: any }) =>
{props.children}
-const FluidButton = (props: { href?: string, onClick?: any, title: string, subtitle?: string, icon: JSX.Element, className?: string }) => ( - +const FluidButton = (props: { href?: string, onClick?: any, title: string, subtitle?: string, icon: JSX.Element, className?: string, role?: string }) => ( +
{props.title}
{props.subtitle}
@@ -43,6 +43,7 @@ export const AboveTheFold = () => { subtitle={i("index_2_cta_install_subtitle")} href="/download" onClick={onclick} + role="button" icon={ @@ -122,11 +123,11 @@ export const AboveTheFold = () => { const Content = window.innerWidth < 600 ? CTAHeadlineMobile : CTAHeadlines return (
- setShowCTALinks(false)} href="#"> +
) diff --git a/packages/typescriptlang-org/src/components/index/EditorExamples.tsx b/packages/typescriptlang-org/src/components/index/EditorExamples.tsx index 48c23c96ab51..b45042fd63e2 100644 --- a/packages/typescriptlang-org/src/components/index/EditorExamples.tsx +++ b/packages/typescriptlang-org/src/components/index/EditorExamples.tsx @@ -70,9 +70,8 @@ export const EditorExamples = () => {
- @@ -85,7 +84,7 @@ export const EditorExamples = () => { > - +
); }; diff --git a/packages/typescriptlang-org/src/templates/pages/css/index.scss b/packages/typescriptlang-org/src/templates/pages/css/index.scss index 929591f5e180..f051164d7880 100644 --- a/packages/typescriptlang-org/src/templates/pages/css/index.scss +++ b/packages/typescriptlang-org/src/templates/pages/css/index.scss @@ -50,6 +50,9 @@ $headline-foreground-bg: white; padding: 1rem 1rem; text-decoration: none; cursor: pointer; + border: none; + font-family: inherit; + font-size: inherit; @media screen and (-ms-high-contrast: active) { border: 2px solid grey; @@ -1281,6 +1284,9 @@ $headline-foreground-bg: white; width: 80px; padding: 10px; cursor: pointer; + background: none; + font-family: inherit; + font-size: inherit; svg { margin-right: 8px; }