Skip to content

Commit

Permalink
prelaunch: style and copy updates
Browse files Browse the repository at this point in the history
  • Loading branch information
goshatch committed Oct 14, 2024
1 parent d43e5f1 commit d4c8bf5
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 20 deletions.
51 changes: 41 additions & 10 deletions resources/public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ body {
line-height: 1.8em;
background-color: var(--color-bg);
color: var(--color-text);
padding: 4rem 4rem 1rem 4rem;
}

a {
Expand All @@ -26,6 +27,9 @@ a {

footer {
color: var(--color-text-subdued);
font-size: 0.8em;
line-height: 1.2em;
margin-top: 3rem;
width: 100%;
display: flex;
flex-direction: row;
Expand All @@ -36,13 +40,32 @@ footer {

.container {
width: 100%;
margin: 1rem auto;
margin: 0 auto;
max-width: 1200px;
}

.main {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
gap: 1rem;
}

.illustration {
width: 50%;
p {
text-align: center;
}
img {
width: 100%;
max-width: 400px;
}
}

.signup {
margin: 2rem auto;
width: 100%;
width: 50%;
max-width: 500px;

form {
Expand Down Expand Up @@ -98,17 +121,25 @@ footer {
}
}

.illustration {
p {
text-align: center;
}
img {
width: 100%;
max-width: 400px;
}
@media (max-width: 900px) {
.main {
flex-direction: column;
}

.illustration, .signup {
width: 100%;
}

.signup {
margin-top: 0;
}
}

@media (max-width: 600px) {
body {
padding: 1rem;
}

.signup form {
flex-direction: column;
}
Expand Down
22 changes: 12 additions & 10 deletions src/tools/ifs/parts/pages.clj
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,16 @@
[:h1
{:align "center"}
"Understand your clients’ parts and their relationships"]]
[:div.illustration
[:p
[:img {:src "/images/system-illustration.svg"}]]
[:h3.hook
{:align "center"}
[:strong "Parts"]
" is a tool for IFS practitioners to keep track of, visualise, and explore the relationships between their clients’ parts."]]
[:section.signup
[:p "Please enter your email below to join the private beta test."]
(waitlist-signup-form ".signup")]
[:div.main
[:section.illustration
[:p
[:img {:src "/images/system-illustration.svg"}]]]
[:section.signup
[:h3.hook
[:strong "Parts"]
" is a mapping tool for IFS practitioners to keep track of, visualise, and explore the relationships between their clients’ parts."]
[:p
[:strong "Parts"]
" is being actively developed, and we would love to have your feedback! Please enter your email below to join the private beta test."]
(waitlist-signup-form ".signup")]]
(footer))))))

0 comments on commit d4c8bf5

Please sign in to comment.