diff --git a/_sass/components/_wins-form.scss b/_sass/components/_wins-form.scss new file mode 100644 index 0000000000..30b45f556e --- /dev/null +++ b/_sass/components/_wins-form.scss @@ -0,0 +1,92 @@ +.wins-form { + min-height: calc(100vh - 223px); + display: flex; + align-items: center; + background: $color-blue-dark; + .wins-form-title { + font-size: 35px; + font-weight: 400; + line-height: 41px; + } + form.page-card { + flex: 0 1 896px; + } + .page-card-lg { + max-width: 896px; + box-shadow: 0 0 8px 0 rgba(51, 51, 51, 0.2); + padding: 48px 100px; + margin: 16px auto; + // NEW MOBILE FRIENDLY RULES + @media #{$bp-below-tablet} { + padding: 32px 16px; + margin: 12px auto; + } + } + button[type="submit"]{ + float: right; + } + .page-card { + border-radius: 20px; + overflow: hidden; + background: $color-white; + } + #professionalLinkForm { + display: none; + } + #teamsRolesForm { + display: none; + } + #celebrationsForm { + display: none; + } + + #linkedinPhotoPermission { + display: none; + } + #githubPhotoPermission { + display: none; + } + #successMessage { + display: none; + } + .form-group { + margin-bottom: 1rem; + } + label { + display: inline-block; + margin-bottom: 0.5rem; + } + .form-control, .date { + display: block; + width: 100%; + height: calc(1.5em + 0.75rem + 2px); + padding: 0.375rem 0.75rem; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + background-color: $color-white; + background-clip: padding-box; + border-bottom: 1.5px solid $color-black; + border-radius: 0; + box-shadow: inset 0px 0px 0px 0px; + } + .form-control:focus { + outline: none; + border-bottom: 2px solid $color-blue; //need to change color + background-color: $color-grey-light; + } + .container-fluid { + width: 100%; + padding-right: 30px; + padding-left: 30px; + } + p, .question { + margin: 16px 0; + font-weight: 700; + } + .btn-container{ + width: 100%; + display: flex; + justify-content: center; + } +} diff --git a/_sass/main.scss b/_sass/main.scss index 7f6604f20e..695ff2e44b 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -59,6 +59,7 @@ @import 'components/guide-pages/2FA.scss'; @import 'components/toolkit.scss'; @import 'components/wins-page.scss'; +@import 'components/wins-form.scss'; @import 'components/join-us.scss'; @import 'components/sitemap.scss'; diff --git a/pages/wins/wins-share-form.html b/pages/wins/wins-share-form.html index f1ebac5b03..31ccaaef7b 100644 --- a/pages/wins/wins-share-form.html +++ b/pages/wins/wins-share-form.html @@ -1,68 +1,23 @@ --- -layout: null +layout: default permalink: /share-your-wins/ --- - + - -
+
+ +

Share your wins with us!

@@ -72,7 +27,6 @@ type="email" class="form-control" id="email" - placeholder="Enter email" required />
@@ -80,15 +34,14 @@
-
+
@@ -122,8 +75,7 @@ type="text" class="form-control" id="githuburl" - placeholder="Enter GitHub URL" - pattern='https:\/\/www\.github\.com\/.+' + pattern='https:\/\/(www\.)?github\.com\/.+' title="https://www.github.com/" /> @@ -154,7 +106,7 @@ -
+

Select the team(s) you're on

- +
- + Next -
+

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

- - + + +
+
+
- -
- +
+

Thank you for sharing your win with us!

+

Our process for adding it to the website is:

+
    +
  1. Review and Approve
  2. +
  3. Chron job runs nightly and adds reviewed wins to the site
  4. +
+
+ - +