aimementoring / website

AIME Mentoring Website
2 stars 0 forks source link

CSS: refactor above banner styles into simpleBanne... #689

Closed github-actions[bot] closed 4 years ago

github-actions[bot] commented 4 years ago

CSS: refactor above banner styles into simpleBanner componenet

https://github.com/aimementoring/website/blob/334b00d939e26b3aebfffd2f83619e9eb0e4f4ae/pages/the-mentor/theMentor.module.scss#L41


.banner {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url($cdnRoot+"assets/images/banner/mentor_banner.jpg") no-repeat 50%
    #050301;
  composes: banner from '../../styles/patterns/patternBanner.module.scss';
  width: 100%;

  @media screen and (min-width: $sm) {
    height: 80vh;
  }

}

.fullWidthWrap {
  position: relative;
  width: 100%;
}

.container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.bannerContent {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1em;
  width: 28.25em;

  p {
    color: $white !important;
  }
}

// @todo CSS: refactor above banner styles into simpleBanner componenet 

.testimonials {
  margin: 0 auto;
  margin-top: 2em;
  position: relative;
  width: 100%;
}
ew file mode 100644
ndex 000000000..524c5735d
inary files /dev/null and b/public/apple-touch-icon.png differ
ew file mode 100644
ndex 000000000..27b0c6b60
inary files /dev/null and b/public/favicon-32x32.png differ
eleted file mode 100644
ndex 4001fc984..000000000
++ /dev/null

eb280ded5804fe178da1b96ce516d6a356d35a62