diff --git a/README.md b/README.md index 11e2af0e..743c878e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

- + Gatsby

diff --git a/src/assets/images/about.svg b/src/assets/images/about.svg index ea09e41a..226befa7 100644 --- a/src/assets/images/about.svg +++ b/src/assets/images/about.svg @@ -1,4 +1,6 @@ - + + Decorative image used in about section + Bird's eye view of a person walking next to a laptop. The background is light green and there are also some plants at the bottom left corner. diff --git a/src/assets/images/contact.svg b/src/assets/images/contact.svg index cfda0db2..8e197c49 100644 --- a/src/assets/images/contact.svg +++ b/src/assets/images/contact.svg @@ -1 +1,4 @@ -people search \ No newline at end of file + + Decorative image used in contact section + A person is standing upright and they are holding a human size green search loop. The loop is centered around on of the profiles of the mentors that appear in the background. The background consist of an abstract image with diferrent mentor profiles. Behing that, there is a light green stain and on the right hand corner there is a pot with a plant. +people search \ No newline at end of file diff --git a/src/assets/images/logo.svg b/src/assets/images/logo.svg index 69120c60..8cf16216 100644 --- a/src/assets/images/logo.svg +++ b/src/assets/images/logo.svg @@ -1,4 +1,5 @@ - + + Coding coach logo diff --git a/src/assets/images/mission.svg b/src/assets/images/mission.svg index 0c8a4992..942d7266 100644 --- a/src/assets/images/mission.svg +++ b/src/assets/images/mission.svg @@ -1,4 +1,6 @@ - + + Decorative image used in mission section + Three people facing forward. They are portrayed from the bust up. All of them have diferrent hair styles and colors as well as different skin colors but they are all wearing green t-shirts, their facial features and their genders are not defined. The background is a light green stain. diff --git a/src/components/Banner/index.js b/src/components/Banner/index.js index 9c936ad9..d86e82d6 100644 --- a/src/components/Banner/index.js +++ b/src/components/Banner/index.js @@ -20,7 +20,7 @@ export default class Banner extends PureComponent { {children} { closable && - + } diff --git a/src/components/Button/ScrollTop.js b/src/components/Button/ScrollTop.js index 5be4954e..8b3b4699 100644 --- a/src/components/Button/ScrollTop.js +++ b/src/components/Button/ScrollTop.js @@ -58,7 +58,7 @@ export default class ScrollTop extends React.Component { }} > ); diff --git a/src/components/Button/index.js b/src/components/Button/index.js index 0077026b..847d1c9a 100644 --- a/src/components/Button/index.js +++ b/src/components/Button/index.js @@ -9,7 +9,7 @@ const Button = React.memo(({ children, className, to, onClick }) => { if (to) { if (to.startsWith('http')) { return ( - {children} + {children} ); } diff --git a/src/components/Icon/ArrowUp.js b/src/components/Icon/ArrowUp.js index 7864d841..eec8ce76 100644 --- a/src/components/Icon/ArrowUp.js +++ b/src/components/Icon/ArrowUp.js @@ -4,5 +4,5 @@ import Icon from './index.js'; const vectors = 'M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z'; // eslint-disable-line export default function ArrowUp(props) { - return ; + return ; } diff --git a/src/components/Icon/Close.js b/src/components/Icon/Close.js index 6c189405..89d54ddd 100644 --- a/src/components/Icon/Close.js +++ b/src/components/Icon/Close.js @@ -4,5 +4,5 @@ import Icon from './index'; const vectors = 'M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z'; // eslint-disable-line export default function Close(props) { - return ; + return ; } \ No newline at end of file diff --git a/src/components/Icon/Github.js b/src/components/Icon/Github.js index cf76fee2..1a76a27b 100644 --- a/src/components/Icon/Github.js +++ b/src/components/Icon/Github.js @@ -4,5 +4,5 @@ import Icon from './index'; const vectors = 'M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z'; // eslint-disable-line export default function Github(props) { - return ; + return ; } \ No newline at end of file diff --git a/src/components/Icon/Twitter.js b/src/components/Icon/Twitter.js index 4dbbd2d1..e0a18b3b 100644 --- a/src/components/Icon/Twitter.js +++ b/src/components/Icon/Twitter.js @@ -4,5 +4,5 @@ import Icon from './index'; const vectors = 'M10.6958834,1.0264501 C10.4543969,1.13095978 10.2037152,1.2134089 9.9464883,1.27309916 C10.2299229,1.01023441 10.4430288,0.681446587 10.5632553,0.314460095 C10.5975717,0.209691788 10.4809755,0.119096039 10.3840418,0.175191437 C10.0261976,0.382348717 9.64074145,0.53775547 9.23835232,0.637144412 C9.2150066,0.642911712 9.1909189,0.645834156 9.1667517,0.645834156 C9.09345513,0.645834156 9.022199,0.619273541 8.96615336,0.571066154 C8.53803358,0.202812408 7.98740838,0 7.41574287,0 C7.16837359,0 6.91861938,0.0376296931 6.67339653,0.111854586 C5.91361377,0.341848305 5.32737375,0.95351832 5.14344336,1.70818117 C5.07443965,1.99124439 5.05575777,2.27456624 5.0878747,2.5502587 C5.09155808,2.58194006 5.07621509,2.60405235 5.0667549,2.61442315 C5.05013995,2.63260437 5.02658224,2.64302689 5.00212355,2.64302689 C4.99939414,2.64302689 4.99658523,2.64289757 4.99380283,2.64263895 C3.33066508,2.49183569 1.8309209,1.70983636 0.770823616,0.44072 C0.716765412,0.375986583 0.613100856,0.383926319 0.570013287,0.456056363 C0.362419184,0.803646106 0.252712828,1.20120187 0.252712828,1.60574047 C0.252712828,2.2257123 0.50792585,2.80996824 0.951229623,3.23589499 C0.764808316,3.19275662 0.58437581,3.12481627 0.416768878,3.0339619 C0.335681572,2.98999593 0.235912386,3.04650513 0.234772924,3.13702329 C0.22316631,4.05803266 0.775672955,4.87755824 1.60334646,5.24658785 C1.58667851,5.24697579 1.57001057,5.24715682 1.55331612,5.24715682 C1.42211898,5.24715682 1.28927889,5.23479463 1.15853224,5.21040645 C1.06721627,5.19338904 0.990501319,5.277933 1.01885538,5.36433905 C1.28750345,6.18290772 2.00965746,6.78627593 2.87384675,6.9232687 C2.15662158,7.39316141 1.32139583,7.641026 0.452092205,7.641026 L0.181085708,7.64087083 C0.0975869817,7.64087083 0.0269668278,7.69399206 0.00568803467,7.7729239 C-0.015272769,7.85066607 0.0233364484,7.93267552 0.094539583,7.97309835 C1.07410604,8.5294747 2.19144142,8.82352941 3.32623972,8.82352941 C4.31955923,8.82352941 5.24872436,8.63113952 6.08795148,8.25173911 C6.85730042,7.90391661 7.53716183,7.40671328 8.10864185,6.7739396 C8.64100916,6.18448532 9.05731033,5.50402151 9.34593875,4.75147937 C9.62107911,4.03413586 9.76650627,3.26871429 9.76650627,2.53794823 L9.76650627,2.50313753 C9.76647978,2.38580013 9.82085597,2.27539384 9.91572282,2.2002379 C10.2757134,1.91497638 10.5891979,1.57917986 10.8474319,1.20218464 C10.9156141,1.10264053 10.8080807,0.977880637 10.6958834,1.0264501 Z'; // eslint-disable-line export default function Twitter(props) { - return ; + return ; } diff --git a/src/components/Icon/index.js b/src/components/Icon/index.js index ea8ba0fe..d09504e2 100644 --- a/src/components/Icon/index.js +++ b/src/components/Icon/index.js @@ -13,6 +13,7 @@ export default function Icon(props) { width, vectors, viewBox, + ariaLabelledby } = props; return ( @@ -20,7 +21,7 @@ export default function Icon(props) { width={width} height={height} viewBox={viewBox} - aria-labelledby="title" + aria-labelledby={ariaLabelledby} className={className} style={style} onClick={onClick} @@ -43,4 +44,5 @@ Icon.propTypes = { vectors: string, viewBox: string, width: number, + ariaLabelledby: string }; diff --git a/src/components/MainNav/index.js b/src/components/MainNav/index.js index 49d3a886..7e9940f8 100644 --- a/src/components/MainNav/index.js +++ b/src/components/MainNav/index.js @@ -46,7 +46,7 @@ const MenuLink = React.memo(({ children, to }) => { if (to && to.startsWith('http')) { return (
  • - {children} + {children}
  • ); } diff --git a/src/components/Sidebar/index.js b/src/components/Sidebar/index.js index 63dd92b9..a273740b 100644 --- a/src/components/Sidebar/index.js +++ b/src/components/Sidebar/index.js @@ -49,11 +49,11 @@ function FeaturedMentor({ mentor, isAuthor }) { { isAuthor ? 'Author' : 'Featured Mentor' } - + {mentor.name}

    - {mentor.name} + {mentor.name}

    {mentor.tags &&

    @@ -75,7 +75,7 @@ function LatestMentors({ mentors }) { {mentors.map(mentor =>

  • - {mentor.name} + {mentor.name}

    {mentor.tags.join(', ')}

  • @@ -109,7 +109,7 @@ function TwitchAd() { return (
    Follow us in Twitch - + Twitch Logo
    @@ -120,7 +120,7 @@ function StoreAd() { return (
    Get the T-Shirt - + Coding Coach T-Shirt
    diff --git a/src/pages/404.js b/src/pages/404.js index 97cb013d..064dc555 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -23,13 +23,13 @@ const NotFoundPage = () => ( home page would be a good idea. You might want to{' '} read the blog, we have very interesting articles and tutorials! Maybe looking for{' '} - a mentor to improve your + a mentor to improve your career?

    How did you get here? Is this a broken link within the blog? Or maybe a link from a third party website? Please{' '} - let us know and we will fix it + let us know and we will fix it ASAP!

    diff --git a/src/pages/about.js b/src/pages/about.js index 7b1e5cf0..fb03d767 100644 --- a/src/pages/about.js +++ b/src/pages/about.js @@ -80,11 +80,11 @@ function Profile({ className, highlight, image, name, title, to }) { return (
    - - {name} + + {name}

    - + {name}

    diff --git a/src/pages/blog.js b/src/pages/blog.js index bc8bcfae..2e145b8f 100644 --- a/src/pages/blog.js +++ b/src/pages/blog.js @@ -68,7 +68,7 @@ function PostExcerpt({ author, data, excerpt, fields }) {

    - {author.frontmatter.name} ·{' '} + {author.frontmatter.name} ·{' '} {data.date} ·{' '} {fields.readingTime.text}

    diff --git a/src/templates/post.js b/src/templates/post.js index 791ce12c..167e39ad 100644 --- a/src/templates/post.js +++ b/src/templates/post.js @@ -51,7 +51,7 @@ export default function PostTemplate({ data }) { {frontmatter.title}

    - {author.frontmatter.name}{' '} + {author.frontmatter.name}{' '} ·{' '} {frontmatter.date}{' '} ·{' '}