diff --git a/src/components/awardItem.js b/src/components/awardItem.js deleted file mode 100755 index 1ed99df..0000000 --- a/src/components/awardItem.js +++ /dev/null @@ -1,22 +0,0 @@ -import React from 'react' -import PropTypes from 'prop-types' - -const AwardItem = ({ logo, title, year }) => { - return ( -
- {title} -
-

{title}

-

{year}

-
-
- ) -} - -AwardItem.propTypes = { - logo: PropTypes.string.isRequired, - title: PropTypes.string.isRequired, - year: PropTypes.string.isRequired, -} - -export default AwardItem diff --git a/src/components/awards.js b/src/components/awards.js deleted file mode 100755 index 2e23120..0000000 --- a/src/components/awards.js +++ /dev/null @@ -1,46 +0,0 @@ -import React from 'react' -import { useStaticQuery, graphql } from 'gatsby' - -import AwardItem from './awardItem' - -const Awards = () => { - const data = useStaticQuery(graphql` - { - allAwardsJson { - nodes { - id - title - year - logo { - publicURL - } - } - } - } - `) - return ( -
-
-
-
-

- Awards -

-
-
-
- {data.allAwardsJson.nodes.map((node) => ( - - ))} -
-
-
-
- ) -} -export default Awards diff --git a/src/components/footer.js b/src/components/footer.js index 62249ed..07dad40 100755 --- a/src/components/footer.js +++ b/src/components/footer.js @@ -3,12 +3,13 @@ import { useStaticQuery, graphql } from 'gatsby' import { motion } from 'framer-motion' import { useModal, FORM_TYPES } from '../context/modalContext' import navItems from '../data/navItems.json' +import Memberships from './memberships' // Animation variants const fadeIn = { hidden: { opacity: 0, y: 20 }, - visible: { - opacity: 1, + visible: { + opacity: 1, y: 0, transition: { duration: 0.6 } } @@ -60,10 +61,10 @@ const Footer = () => { /> */} - +