diff --git a/components/Content/__tests__/__snapshots__/Content.test.js.snap b/components/Content/__tests__/__snapshots__/Content.test.js.snap index 5b872145c..28c966d2f 100644 --- a/components/Content/__tests__/__snapshots__/Content.test.js.snap +++ b/components/Content/__tests__/__snapshots__/Content.test.js.snap @@ -9,16 +9,17 @@ exports[`Content should render with many props assigned 1`] = ` className="content" >

Testing! diff --git a/components/Heading/Heading.js b/components/Heading/Heading.js index 2f0623a65..d7e093a22 100644 --- a/components/Heading/Heading.js +++ b/components/Heading/Heading.js @@ -3,7 +3,7 @@ import classNames from 'classnames'; import kebabCase from 'lodash/kebabCase'; import ScreenReaderOnly from 'components/ScreenReaderOnly/ScreenReaderOnly'; import LinkIcon from 'static/images/icons/FontAwesome/link-solid.svg'; -import styles from './Heading.module.css'; +// import styles from './Heading.module.css'; Heading.propTypes = { className: string, @@ -25,17 +25,25 @@ function Heading({ className, hasHashLink, hasTitleUnderline, headingLevel, text const HeadingElement = `h${headingLevel}`; return ( -
+
{hasHashLink ? ( -
- +
+ Scroll Link for {text} - + {text} diff --git a/components/Heading/Heading.module.css b/components/Heading/Heading.module.css index 7953cf879..0080a5a77 100644 --- a/components/Heading/Heading.module.css +++ b/components/Heading/Heading.module.css @@ -1,30 +1,3 @@ -.Heading { - display: flex; - text-transform: uppercase; - text-align: center; - margin: 1rem 0; -} - -.headingContainer { - display: flex; - justify-content: center; -} - -.underline { - border-bottom: 4px solid var(--primary); - margin-bottom: 1rem; -} - -.hashLinkContainer { - position: relative; -} - -.hashLinkContainer > a { - position: absolute; - left: -2rem; - top: 0.5rem; -} - .icon { width: 1rem; line-height: 2.25; diff --git a/components/Heading/__tests__/__snapshots__/Heading.test.js.snap b/components/Heading/__tests__/__snapshots__/Heading.test.js.snap index d62cf2c5d..2f3bb2144 100644 --- a/components/Heading/__tests__/__snapshots__/Heading.test.js.snap +++ b/components/Heading/__tests__/__snapshots__/Heading.test.js.snap @@ -2,10 +2,10 @@ exports[`Heading should render with many props assigned 1`] = `
Test
@@ -14,16 +14,17 @@ exports[`Heading should render with many props assigned 1`] = ` exports[`Heading should render with required props 1`] = `

Test diff --git a/components/ReusableSections/JoinSection/__tests__/__snapshots__/JoinSection.test.js.snap b/components/ReusableSections/JoinSection/__tests__/__snapshots__/JoinSection.test.js.snap index 2451745a8..0c4eeaee6 100644 --- a/components/ReusableSections/JoinSection/__tests__/__snapshots__/JoinSection.test.js.snap +++ b/components/ReusableSections/JoinSection/__tests__/__snapshots__/JoinSection.test.js.snap @@ -9,16 +9,17 @@ exports[`JoinSection should render 1`] = ` className="content" >

Join Our Thriving Community