aimementoring / website

AIME Mentoring Website
2 stars 0 forks source link

Add ability to customise IntercomChat btn #706

Closed github-actions[bot] closed 4 years ago

github-actions[bot] commented 4 years ago

Add ability to customise IntercomChat btn

https://github.com/aimementoring/website/blob/cd27c3743b492fa7b93950163b1a86620412e343/pages/_error/error.module.scss#L24


.banner {
  background: url($cdnRoot + 'assets/images/going-global/patternbg.jpg') no-repeat top center / cover fixed $magenta;
  composes: banner from '../../styles/patterns/patternBanner.module.scss';
}

.container {
  composes: wrapper from '../../styles/patterns/patternWrapper.module.scss';
}

// same pattern used on thanks page so could compose styles 
.content {
  align-items: center;
  margin-bottom: 4rem;
  text-align: center;

  @media screen and (min-width: $sm) {
    display: flex;
    text-align: left;
  }
}

// @todo Add ability to customise IntercomChat btn
// If you could set button styles or link styles and change the color you wouldn't need this custom css here

.intercom {
  button {
    border: 0;
    color: $brand-primary;
    cursor: pointer;
    font-family: $body-font-family-bold;
    font-size: 1em;
    margin: 0 auto;
    outline: none;
    padding: 0 0 2em;

    &:hover {
      color: $brand-secondary;
    }

    @media screen and (min-width: $sm) {
      margin: 0;
    }

  }
}
ew file mode 100644
ndex 000000000..47a49d0da
++ b/pages/_error/index.js

521c6f15c36ba87d46cda62ed9d053dd3fd2dbd0