-
-
Notifications
You must be signed in to change notification settings - Fork 37
Add marketing landing page content and styles #2828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
c04587a
Link Manrope and DM Sans fonts
achen178 182a49b
Add marketing redesign landing content and styles
achen178 3fc0f7c
Nest CSS for readability and alphabetize
achen178 b9cfba2
Update redesign testimonial component
achen178 d98b92b
Update app/views/marketing_redesign/home/show.html.erb
achen178 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.34 KB
app/assets/images/marketing_redesign/brand-logos/planned-parenthood.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,9 @@ | ||
| body { | ||
| background-color: var(--color--background-base); | ||
| padding: 0 var(--space--large); | ||
| } | ||
|
|
||
| main { | ||
| max-width: var(--container--base); | ||
| margin: auto; | ||
| max-width: var(--container--base); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
app/assets/stylesheets/marketing_redesign/components/_benefits.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| .benefit-item { | ||
| align-items: center; | ||
| background-color: var(--color--white-500); | ||
| border-radius: var(--border-radius--large); | ||
| display: flex; | ||
| gap: var(--space--medium); | ||
| max-width: var(--container--base); | ||
| padding: var(--space--medium); | ||
| width: 100%; | ||
|
|
||
| svg { | ||
| color: var(--color--primary-base); | ||
| } | ||
|
|
||
| :is(h4, p) { | ||
| margin: 0; | ||
| } | ||
| } |
34 changes: 34 additions & 0 deletions
34
app/assets/stylesheets/marketing_redesign/components/_outcomes.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| .outcome-container { | ||
| align-items: stretch; | ||
| background-color: var(--color--background-dark); | ||
| border-radius: var(--border-radius--base); | ||
| display: flex; | ||
| flex-direction: row; | ||
| gap: var(--space--medium); | ||
| overflow-x: auto; | ||
| padding: var(--space--x-large); | ||
| scroll-behavior: smooth; | ||
| scroll-snap-type: x mandatory; | ||
| } | ||
|
|
||
| .outcome-item { | ||
| background-color: var(--color--white-500); | ||
| border-radius: var(--border-radius--base); | ||
| flex-shrink: 0; | ||
| gap: var(--space--x-small); | ||
| max-width: 22.5rem; | ||
| padding: var(--space--large); | ||
| scroll-snap-align: center; | ||
| width: 90%; | ||
|
|
||
| h4 { | ||
| line-height: 1.2; | ||
| margin: 0; | ||
| } | ||
| } | ||
|
|
||
| @media (min-width: 998px) { | ||
| .outcome-item { | ||
| flex-shrink: 1; | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 83 additions & 0 deletions
83
app/assets/stylesheets/marketing_redesign/components/_testimonial.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| .testimonial { | ||
| gap: var(--space--medium) var(--space--base); | ||
| } | ||
|
|
||
| .quote-container { | ||
| display: grid; | ||
| grid-template-columns: subgrid; | ||
| background-color: var(--color--background-dark); | ||
| padding: var(--space--small) var(--space--large); | ||
| border-radius: var(--border-radius--base); | ||
| } | ||
|
|
||
| .quote { | ||
| grid-column: span 12; | ||
| order: 0; | ||
| text-indent: -0.65rem; | ||
| } | ||
|
|
||
| .author { | ||
| align-items: center; | ||
| background-color: var(--color--background-dark); | ||
| border-radius: var(--border-radius--base); | ||
| display: flex; | ||
| gap: var(--space--base); | ||
| grid-column: span 12; | ||
| margin: auto; | ||
| max-width: 26rem; | ||
| order: 1; | ||
| padding: var(--space--large) 0; | ||
|
|
||
| p { | ||
| margin: 0; | ||
| } | ||
| } | ||
|
|
||
| .author-avatar { | ||
| aspect-ratio: 1; | ||
| background-color: var(--color--accent-base); | ||
| border-radius: var(--border-radius--base); | ||
| overflow: hidden; | ||
| width: 4.5rem; | ||
| } | ||
|
|
||
| .logo-container { | ||
| display: flex; | ||
| flex-direction: row; | ||
| flex-wrap: wrap; | ||
| gap: var(--space--base); | ||
| justify-content: center; | ||
| } | ||
|
|
||
| .logo { | ||
| opacity: 0.8; | ||
| scale: 0.7; | ||
| width: min-content; | ||
| } | ||
|
|
||
| @media (min-width: 998px) { | ||
| .quote-container { | ||
| background: none; | ||
| } | ||
|
|
||
| .quote { | ||
| grid-column: span 7; | ||
| order: 1; | ||
| } | ||
|
|
||
| .author { | ||
| grid-column: span 5; | ||
| margin-inline-end: var(--space--large); | ||
| order: 0; | ||
| padding: var(--space--large); | ||
| } | ||
|
|
||
| .logo-container { | ||
| justify-content: space-between; | ||
| padding: var(--space--x-large); | ||
| } | ||
|
|
||
| .logo { | ||
| scale: 1; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL! 🩷