Skip to content

Commit

Permalink
Merge pull request #247 from CivicActions/MAHOME-1140-update-homesite…
Browse files Browse the repository at this point in the history
…-styles

MAHOME-1140: Update Homesite Styles
  • Loading branch information
grugnog authored Dec 19, 2023
2 parents 95b89a0 + cce7a25 commit abd249b
Show file tree
Hide file tree
Showing 63 changed files with 301 additions and 235 deletions.
4 changes: 2 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ module.exports = {
variants: ['300', '400', '600', '700']
},
{
family: 'Work Sans',
variants: ['300', '400', '600', '700']
family: 'Merriweather',
variants: ['400', '700']
},
]
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const Footer = () => {
</div>
<div className='grid-container__item footer__bottom-links'>
<div className='footer__bottom-links--wrapper'>
<p className='copyright'>© 2010 —- 2021</p>
<p className='copyright'>© 2010 —- {new Date().getFullYear()}</p>
<p className='accessibility'><Link to='/accessibility-statement'>Accessibility</Link></p>
<p className='licensing'><Link to='/licensing'>Licensing</Link></p>
<p className='privacy'><Link to='/privacy'>Privacy</Link></p>
Expand Down
6 changes: 2 additions & 4 deletions src/components/menus/main-menu/_main-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,10 @@
display: block;
text-decoration: none;
font-style: normal;
font-weight: 600;
font-weight: 700;
font-size: 14px;
line-height: 34px;
font-family: $secondary-font;


font-family: $primary-font;
}

a {
Expand Down
2 changes: 1 addition & 1 deletion src/components/offering/bio.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Bio = ({ member }) => {
<img className='blue-icon' alt='blue linkedin icon' src={linkedinIconBlue}/>
</a>
<p className='body staff-role'>{Role}</p></div></div>
<div className='staff-body--wrapper'><p className='body staff-body'>{Body}</p></div>
<div className='staff-body--wrapper'><p className='body staff-body'>{Body.data.Body}</p></div>
</div>
)
}) : null
Expand Down
7 changes: 4 additions & 3 deletions src/components/press-release-grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import PropTypes from 'prop-types';
import { Link } from 'gatsby-link';
import ReactMarkdown from "react-markdown";

const PressReleaseGrid = ({ path, date, title, description, id }) => {

const PressReleaseGrid = ({ path, date, title, description, id, first, last }) => {
return (
<div className='press-release--item' key={id}>
<div className={`press-release--item${first ? ' first' : ''}${last ? ' last' : ''}`} key={id}>
<span>News Release: {date}</span>
<h2>{title}</h2>
<ReactMarkdown className='body' children={description} />
Expand All @@ -22,4 +21,6 @@ PressReleaseGrid.propTypes = {
date: PropTypes.string,
title: PropTypes.string.isRequired,
description: PropTypes.string,
first: PropTypes.bool,
last: PropTypes.bool
};
4 changes: 3 additions & 1 deletion src/components/primary-page-cta.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import PropTypes from 'prop-types';
import LinkButton from '../components/link-button';

const PrimaryPageCTA = ({
isHomePage = false,
title,
subtitle,
primaryButtonText, primaryButtonLink,
secondaryButtonText, secondaryButtonLink,
}) => {
return (
<section className='primary-page-cta'>
<section className={`primary-page-cta${isHomePage ? ' home' : ''}`}>
<div className='inner'>
<div className='cta-column primary-page-cta__text'>

Expand Down Expand Up @@ -38,6 +39,7 @@ const PrimaryPageCTA = ({
export default PrimaryPageCTA;

PrimaryPageCTA.propTypes = {
isHomePage: PropTypes.bool,
title: PropTypes.string.isRequired,
subtitle: PropTypes.string,
primaryButtonText: PropTypes.string,
Expand Down
2 changes: 0 additions & 2 deletions src/components/quote.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import '../sass/styles.scss';
import React from 'react';
import PropTypes from 'prop-types';
import quotePatternGraphic from '../files/images/quote-pattern-graphic.png';

const Quote = ({ classes, quote, source }) => {
return (
Expand All @@ -11,7 +10,6 @@ const Quote = ({ classes, quote, source }) => {
<p className='h3'>{quote}</p>
<p className='body source'>{source}</p>
</div>
<img src={quotePatternGraphic} alt='' className='pattern'></img>
</div>
</div>
);
Expand Down
14 changes: 7 additions & 7 deletions src/files/icons/401k-program-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions src/files/icons/annual-upgrades-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit abd249b

Please sign in to comment.