diff --git a/_sass/components/_wins-page.scss b/_sass/components/_wins-page.scss index d55e4db567..23cb31a721 100644 --- a/_sass/components/_wins-page.scss +++ b/_sass/components/_wins-page.scss @@ -1,248 +1,293 @@ //Hero styling .wins-hero{ - margin-top: 40px; - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-evenly; - img{ - height: 366; - } - h1{ - font-size: 59px; - line-height: 69px; - text-align: center; - font-style: normal; - font-weight: normal; - } + margin-top: 40px; + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-evenly; + img{ + height: 366; + } + h1{ + font-size: 59px; + line-height: 69px; + text-align: center; + font-style: normal; + font-weight: normal; + } } -.wins__see-more-div { - position: absolute; - background-color: white; - right: 0px; - bottom: 0px; - color: red; - padding: 0px 3px; - cursor: pointer; +.wins-btn{ + max-width: 300px; + max-height: 75px; } -.wins__card-text { - padding-top: 40px; - p { - margin: 0; - } +.wins-see-more-div { + position: absolute; + background-color: white; + right: 0px; + bottom: 0px; + color: red; + padding: 0px 3px; + cursor: pointer; } -@media #{$bp-below-tablet} { - .wins-hero{ +.wins-card-text { + margin-top: 40px; + height: 88px; + overflow: hidden; + position: relative; + p { + margin: 0; + } - img{ - height: 230px; - } - h1{ - font-style: normal; - font-weight: normal; - font-size: 38px; - } - .btn--wins{ - height: 60px; - padding: 0 50px; - border-radius: 60px; - font-size: 1.25rem; - } - - } } -@media #{$bp-below-mobile} { - .wins-hero{ +@media #{$bp-below-tablet} { + .wins-hero{ + + img{ + height: 230px; + } + h1{ + font-style: normal; + font-weight: normal; + font-size: 38px; + } + .wins-btn{ + max-width: 217px; + max-height: 60.5px; + font-size: 18.5px; + } + + } +} - img{ - height: 105px; - } - h1{ - font-style: normal; - font-weight: normal; - font-size: 24px; - line-height: 28px; - } - .btn--wins{ - height: 40px; - padding: 0 32px; - border-radius: 20px; - font-size: 1rem; - } - } +@media #{$bp-below-mobile} { + .wins-hero{ + + img{ + height: 105px; + } + h1{ + font-style: normal; + font-weight: normal; + font-size: 24px; + line-height: 28px; + } + .wins-btn{ + max-width: 134px; + max-height: 46px; + font-size: 12px; + line-height: 14px; + } + } } // page .wins-page-contain{ - margin:0 auto; - max-width: 1292px; + margin:0 auto; + max-width: 1292px; } .wins-page-contain > p{ - margin: 18px 60px; + margin: 18px 60px; } //card styling .wins-card{ - padding: 45px; - display: flex; - flex-direction: row; + padding: 45px; + display: flex; + flex-direction: column; +} +.wins-card-top{ + display: flex; } -.wins-card-left{ - width: 100px; - margin-right: 10px; - display: flex; - align-items: flex-end; - flex-direction: column; +.wins-card-top-right{ + flex-grow: 1; } .wins-card-profile-img{ - border-radius: 100px; + width: 86px; + height: 86px; + border-radius: 100px; + margin-right: 20px; } .wins-card-big-quote{ - width: 28px; - height: 96.05px; - position: relative; - top: -20px; + width: 28px; + height: 112px; + margin-right: 20px; + margin-left: 58px; + position: relative; +} +.wins-card-bottom{ + display: flex; } .wins-card-content{ - display: flex; - flex-direction: column; - margin-left: 20px; - width: 100%; - position: relative; - height: 225px; - overflow: hidden; - margin-left: 6px; + display: flex; + flex-direction: column; + margin-left: 20px; + width: 100%; + position: relative; + overflow: hidden; + margin-left: 6px; } .wins-card-name{ - font-weight: bold; - font-size: 20px; - line-height: 22px; - margin-top: 13px; + font-weight: bold; + font-size: 20px; + line-height: 22px; + margin-top: 13px; } .wins-card-team{ - font-weight: normal; - font-size: 16px; - line-height: 18px; - display: flex; - align-items: center; + font-weight: normal; + font-size: 16px; + line-height: 18px; + display: flex; + align-items: center; } -.wins-card-top{ - display: flex; - justify-content: space-between; +.wins-card-title{ + display: flex; + justify-content: space-between; } -.wins-card-icon{ - margin-left: 18px; +.wins-card-icon, .wins-card-github-icon, .wins-card-linkedin-icon{ + margin-left: 18px; +} +.wins-card-icons{ + display: flex; } .wins-card-info{ - font-weight: bold; + font-weight: bold; } .wins-card-overview{ - margin-top: 1em; + margin-top: 1em; } @media #{$bp-below-tablet} { - .wins-card-content{ - height: 233px; - } + .wins-card-text{ + height: 81px; + } } @media #{$bp-below-mobile} { - .wins-card-content{ - height: 215px; - } - .wins-card{ - padding: 24px; - } - .wins-card-left{ - width: 50px; - } - .wins-card-profile-img{ - width: 50px; - height: 50px; - border-radius: 100px; - } - .wins-card-big-quote{ - margin: 4px; - height: 60px; - width: 18px; - position: static; - } - - .wins-card-name{ - font-size: 19px; - line-height: 22px; - margin: 0; - padding-top: 5px; - } - .wins-card-team{ - font-size: 12px; - line-height: 16px; - } - .wins-card-icon{ - margin-left: 13.5px; - } - .github-icon{ - height: 20px; - width: 20px; - } - .linkedin-icon{ - height: 20px; - width: 20px; - } - .wins__card-text{ - padding-top: 16px; - } - - .wins-card-overview{ - margin-top: 0; - font-size: 16px; - } + .wins-card-text{ + height: 80px; + } + .wins-card{ + padding: 24px; + } + .wins-card-left{ + width: 50px; + } + .wins-card-profile-img{ + width: 50px; + height: 50px; + border-radius: 100px; + margin-right: 6px; + } + .wins-card-big-quote{ + margin: 0 6px 0 32px; + height: 54px; + width: 18px; + position: static; + } + + .wins-card-name{ + font-size: 19px; + line-height: 22px; + margin: 0; + padding-top: 5px; + } + .wins-card-team{ + font-size: 12px; + line-height: 16px; + } + .wins-card-icon{ + margin-left: 13.5px; + } + .github-icon{ + height: 20px; + width: 20px; + } + .linkedin-icon{ + height: 20px; + width: 20px; + } + .wins-card-text{ + margin-top: 16px; + } + + .wins-card-overview{ + margin-top: 0; + font-size: 16px; + } } //modal overlay @media #{$bp-desktop-up} { - .wins-card-overview{ - overflow: hidden; - text-overflow: ellipsis; - } - - .overlay { - display: none; - z-index: 1; - position: fixed; - left: 0px; - top: 0px; - width: 100%; - height: 100%; - background-color: rgba(70, 70, 70, 0.5); - padding: 10px; - } - - .display-none { - display: none; + .wins-card-overview{ + overflow: hidden; + text-overflow: ellipsis; + } + + .overlay { + display: none; + z-index: 1; + position: fixed; + left: 0px; + top: 0px; + width: calc(100vw + 17px); + height: 100%; + background-color: rgba(70, 70, 70, 0.5); + padding: 10px; + overflow-y: auto; + overflow-x: hidden; + } + + .display-none { + display: none; + } + + .display-initial { + display: flex; + flex-direction: column; + } + .top-buffer{ + height: 20vh; + } + .bottom-buffer { + height: 5vh; + } + .modal-container{ + position: absolute; + width: 60%; + left: 20%; + } + .center-screen { + opacity: 1; } - - .display-initial { - display: initial; + .overlay-card-text{ + padding-top: 40px; } - - .center-screen { - position: fixed; - opacity: 1; - width: 60%; - left: 20%; - top: 30%; - .wins-card-content{ - height: auto; + .wins-card-badges{ + display:flex; + flex-flow: row wrap; + width: 100%; + .badge-item{ + flex: 1 1; + flex-basis: 250px; + // width: 100px; + margin: 4px; + display: flex; + .badge-icon{ + margin: 2px 12.5px 0 0; + height: 15px; + min-width: 30px; + display: flex; + justify-content: center; + } } } @@ -251,23 +296,23 @@ //mobile see more @media #{$bp-below-desktop} { - .overlay { - display: none; - } - .display-none { - display: none; - } - .expanded{ - height: auto; - .wins__see-more-div { - position: relative; - text-align: right; - } - } + .overlay { + display: none; + } + .display-none { + display: none; + } + .expanded{ + height: auto; + .wins-see-more-div { + position: relative; + text-align: right; + } + } } .wins-card-content > * { - flex: 0 0 auto; + flex: 0 0 auto; } @@ -291,4 +336,4 @@ grid-template-rows: none; } } -//wins page filter override section end \ No newline at end of file +//wins page filter override section end diff --git a/wins/wins-card-template.html b/wins/wins-card-template.html new file mode 100644 index 0000000000..26b10016e4 --- /dev/null +++ b/wins/wins-card-template.html @@ -0,0 +1,34 @@ + diff --git a/wins/wins-filter-template.html b/wins/wins-filter-template.html new file mode 100644 index 0000000000..573ff503ad --- /dev/null +++ b/wins/wins-filter-template.html @@ -0,0 +1,18 @@ + + diff --git a/_includes/wins-hero.html b/wins/wins-hero.html similarity index 59% rename from _includes/wins-hero.html rename to wins/wins-hero.html index 301f794287..c6243a2b37 100644 --- a/_includes/wins-hero.html +++ b/wins/wins-hero.html @@ -1,8 +1,11 @@
- image of a person being celebrated and holding a trophy + image of a person being celebrated and holding a trophy

Let's celebrate together!

+ + +
diff --git a/wins/wins-overlay.html b/wins/wins-overlay.html new file mode 100644 index 0000000000..e485ba6373 --- /dev/null +++ b/wins/wins-overlay.html @@ -0,0 +1,26 @@ +
+ +
\ No newline at end of file diff --git a/wins/wins-share-form.html b/wins/wins-share-form.html new file mode 100644 index 0000000000..f1ebac5b03 --- /dev/null +++ b/wins/wins-share-form.html @@ -0,0 +1,550 @@ +--- +layout: null +permalink: /share-your-wins/ +--- + + + + + + Share your wins with us! + + + +
+
+ + +
+
+ + +
+ + +
+ +
+
+ + +
+ +
+

Can we use the photo in your linkedin profile picture?

+ + + + + +
+ +

OR

+ +
+ + +
+ +
+

Can we use the photo in your github profile picture?

+ + + + + +
+ + +
+ +
+
+

Select the team(s) you're on

+ +
+
+

Select the role(s) you're on

+ +
+
+ + +
+
+ + +
+ + +
+ +
+
+

What do you want to celebrate (select all that apply)?

+ +
+
+ + +
+ + +
+ + + diff --git a/wins.html b/wins/wins.html similarity index 65% rename from wins.html rename to wins/wins.html index 4b24d28f3f..219a3f1dcf 100644 --- a/wins.html +++ b/wins/wins.html @@ -1,75 +1,21 @@ --- layout: default title: Wins +permalink: /wins/ + --- -{%- include wins-hero.html -%} -
-
-
- - -
-
-
- Blank - -
-
- Team(s): Blank -
-
- Role(s): Blank -
-
-

Blank

-

Blank

-
-
-
-
+{%- include_relative wins-hero.html -%} +{% include_relative wins-overlay.html %}
-
- - - - -
+ {% include_relative wins-filter-template.html %} + {% include_relative wins-card-template.html %} + + +